[INFO] cloning repository https://github.com/rmb122/rust-reminder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rmb122/rust-reminder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmb122%2Frust-reminder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmb122%2Frust-reminder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a95fc821a7f556c10c3609b1c00b002696d0d1bd [INFO] building rmb122/rust-reminder against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmb122%2Frust-reminder" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rmb122/rust-reminder [INFO] finished tweaking git repo https://github.com/rmb122/rust-reminder [INFO] tweaked toml for git repo https://github.com/rmb122/rust-reminder written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rmb122/rust-reminder on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rmb122/rust-reminder 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg-expr v0.9.1 [INFO] [stderr] Downloaded pkg-config v0.3.24 [INFO] [stderr] Downloaded gtk3-macros v0.15.1 [INFO] [stderr] Downloaded system-deps v6.0.1 [INFO] [stderr] Downloaded gobject-sys v0.15.5 [INFO] [stderr] Downloaded migrations_internals v1.4.1 [INFO] [stderr] Downloaded migrations_macros v1.4.2 [INFO] [stderr] Downloaded diesel_migrations v1.4.0 [INFO] [stderr] Downloaded field-offset v0.3.4 [INFO] [stderr] Downloaded diesel_derives v1.4.1 [INFO] [stderr] Downloaded atk v0.15.1 [INFO] [stderr] Downloaded cairo-rs v0.15.1 [INFO] [stderr] Downloaded pango v0.15.2 [INFO] [stderr] Downloaded pin-project-lite v0.2.8 [INFO] [stderr] Downloaded gdk-sys v0.15.1 [INFO] [stderr] Downloaded gdk v0.15.2 [INFO] [stderr] Downloaded glib-macros v0.15.3 [INFO] [stderr] Downloaded glib-sys v0.15.5 [INFO] [stderr] Downloaded gtk-sys v0.15.3 [INFO] [stderr] Downloaded diesel v1.4.8 [INFO] [stderr] Downloaded gio v0.15.5 [INFO] [stderr] Downloaded glib v0.15.5 [INFO] [stderr] Downloaded gdk-pixbuf v0.15.4 [INFO] [stderr] Downloaded cairo-sys-rs v0.15.1 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.15.1 [INFO] [stderr] Downloaded gtk v0.15.3 [INFO] [stderr] Downloaded atk-sys v0.15.1 [INFO] [stderr] Downloaded pango-sys v0.15.1 [INFO] [stderr] Downloaded version-compare v0.1.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.22.2 [INFO] [stderr] Downloaded gio-sys v0.15.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32fbceee1280543c3202f25db6785313b23165756f4fe6065a6bccf22612158b [INFO] running `Command { std: "docker" "start" "-a" "32fbceee1280543c3202f25db6785313b23165756f4fe6065a6bccf22612158b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32fbceee1280543c3202f25db6785313b23165756f4fe6065a6bccf22612158b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32fbceee1280543c3202f25db6785313b23165756f4fe6065a6bccf22612158b", kill_on_drop: false }` [INFO] [stdout] 32fbceee1280543c3202f25db6785313b23165756f4fe6065a6bccf22612158b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8792355c9e27ab8dfe58593bdc4331f2874d0a7d8311fe806c2d13dee0c240f1 [INFO] running `Command { std: "docker" "start" "-a" "8792355c9e27ab8dfe58593bdc4331f2874d0a7d8311fe806c2d13dee0c240f1", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling gio v0.15.5 [INFO] [stderr] Compiling cfg-expr v0.9.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling gtk v0.15.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling field-offset v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling system-deps v6.0.1 [INFO] [stderr] Compiling glib-sys v0.15.5 [INFO] [stderr] Compiling gobject-sys v0.15.5 [INFO] [stderr] Compiling gio-sys v0.15.5 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.15.1 [INFO] [stderr] Compiling cairo-sys-rs v0.15.1 [INFO] [stderr] Compiling atk-sys v0.15.1 [INFO] [stderr] Compiling pango-sys v0.15.1 [INFO] [stderr] Compiling gdk-sys v0.15.1 [INFO] [stderr] Compiling gtk-sys v0.15.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling glib-macros v0.15.3 [INFO] [stderr] Compiling gtk3-macros v0.15.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling glib v0.15.5 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling cairo-rs v0.15.1 [INFO] [stderr] Compiling pango v0.15.2 [INFO] [stderr] Compiling atk v0.15.1 [INFO] [stderr] Compiling gdk-pixbuf v0.15.4 [INFO] [stderr] Compiling gdk v0.15.2 [INFO] [stderr] Compiling rust-reminder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get_time` is never used [INFO] [stdout] --> src/reminder_edit_dialog.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl ReminderEditDialog { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn get_time(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Queryable, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_todo` [INFO] [stdout] 10 | pub struct Todo { [INFO] [stdout] | ---- `Todo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newtodo` [INFO] [stdout] 17 | #[table_name = "todo"] [INFO] [stdout] 18 | pub struct NewTodo { [INFO] [stdout] | ------- `NewTodo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newtodo` [INFO] [stdout] 17 | #[table_name = "todo"] [INFO] [stdout] 18 | pub struct NewTodo { [INFO] [stdout] | ------- `NewTodo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newtodo` [INFO] [stdout] 17 | #[table_name = "todo"] [INFO] [stdout] 18 | pub struct NewTodo { [INFO] [stdout] | ------- `NewTodo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/models.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | embedded_migrations::run(&conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = embedded_migrations::run(&conn); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / sql_function! { [INFO] [stdout] 63 | | fn strftime(format: Text, time: Nullable) -> Nullable; [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `strftime` is not local [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_strftime` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `sql_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / sql_function! { [INFO] [stdout] 63 | | fn strftime(format: Text, time: Nullable) -> Nullable; [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `strftime` is not local [INFO] [stdout] | |_____`Add` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_diesel_numeric_ops_for_strftime` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNumericOps` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNumericOps` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `sql_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / sql_function! { [INFO] [stdout] 63 | | fn strftime(format: Text, time: Nullable) -> Nullable; [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `strftime` is not local [INFO] [stdout] | |_____`Sub` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_diesel_numeric_ops_for_strftime` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNumericOps` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNumericOps` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `sql_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / sql_function! { [INFO] [stdout] 63 | | fn strftime(format: Text, time: Nullable) -> Nullable; [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `strftime` is not local [INFO] [stdout] | |_____`Mul` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_diesel_numeric_ops_for_strftime` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNumericOps` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNumericOps` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `sql_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / sql_function! { [INFO] [stdout] 63 | | fn strftime(format: Text, time: Nullable) -> Nullable; [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `strftime` is not local [INFO] [stdout] | |_____`Div` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_diesel_numeric_ops_for_strftime` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNumericOps` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNumericOps` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `sql_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | todo(id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | content -> Text, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | todo(id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | content -> Text, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | todo(id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | content -> Text, [INFO] [stdout] | | ------- `content` is not local [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_content` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | todo(id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | content -> Text, [INFO] [stdout] 5 | | expire_time -> Nullable, [INFO] [stdout] | | ----------- `expire_time` is not local [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_expire_time` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 36s [INFO] running `Command { std: "docker" "inspect" "8792355c9e27ab8dfe58593bdc4331f2874d0a7d8311fe806c2d13dee0c240f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8792355c9e27ab8dfe58593bdc4331f2874d0a7d8311fe806c2d13dee0c240f1", kill_on_drop: false }` [INFO] [stdout] 8792355c9e27ab8dfe58593bdc4331f2874d0a7d8311fe806c2d13dee0c240f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 074100a9944634a1e4902f32f209710970ff152724c672294352a15146828dcd [INFO] running `Command { std: "docker" "start" "-a" "074100a9944634a1e4902f32f209710970ff152724c672294352a15146828dcd", kill_on_drop: false }` [INFO] [stderr] Compiling rust-reminder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get_time` is never used [INFO] [stdout] --> src/reminder_edit_dialog.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl ReminderEditDialog { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn get_time(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Queryable, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_todo` [INFO] [stdout] 10 | pub struct Todo { [INFO] [stdout] | ---- `Todo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newtodo` [INFO] [stdout] 17 | #[table_name = "todo"] [INFO] [stdout] 18 | pub struct NewTodo { [INFO] [stdout] | ------- `NewTodo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newtodo` [INFO] [stdout] 17 | #[table_name = "todo"] [INFO] [stdout] 18 | pub struct NewTodo { [INFO] [stdout] | ------- `NewTodo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newtodo` [INFO] [stdout] 17 | #[table_name = "todo"] [INFO] [stdout] 18 | pub struct NewTodo { [INFO] [stdout] | ------- `NewTodo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/models.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | embedded_migrations::run(&conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = embedded_migrations::run(&conn); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / sql_function! { [INFO] [stdout] 63 | | fn strftime(format: Text, time: Nullable) -> Nullable; [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `strftime` is not local [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_strftime` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `sql_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / sql_function! { [INFO] [stdout] 63 | | fn strftime(format: Text, time: Nullable) -> Nullable; [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `strftime` is not local [INFO] [stdout] | |_____`Add` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_diesel_numeric_ops_for_strftime` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNumericOps` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNumericOps` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `sql_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / sql_function! { [INFO] [stdout] 63 | | fn strftime(format: Text, time: Nullable) -> Nullable; [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `strftime` is not local [INFO] [stdout] | |_____`Sub` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_diesel_numeric_ops_for_strftime` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNumericOps` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNumericOps` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `sql_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / sql_function! { [INFO] [stdout] 63 | | fn strftime(format: Text, time: Nullable) -> Nullable; [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `strftime` is not local [INFO] [stdout] | |_____`Mul` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_diesel_numeric_ops_for_strftime` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNumericOps` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNumericOps` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `sql_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / sql_function! { [INFO] [stdout] 63 | | fn strftime(format: Text, time: Nullable) -> Nullable; [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `strftime` is not local [INFO] [stdout] | |_____`Div` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_diesel_numeric_ops_for_strftime` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNumericOps` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNumericOps` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `sql_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | todo(id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | content -> Text, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | todo(id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | content -> Text, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | todo(id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | content -> Text, [INFO] [stdout] | | ------- `content` is not local [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_content` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | todo(id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | content -> Text, [INFO] [stdout] 5 | | expire_time -> Nullable, [INFO] [stdout] | | ----------- `expire_time` is not local [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_expire_time` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "074100a9944634a1e4902f32f209710970ff152724c672294352a15146828dcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "074100a9944634a1e4902f32f209710970ff152724c672294352a15146828dcd", kill_on_drop: false }` [INFO] [stdout] 074100a9944634a1e4902f32f209710970ff152724c672294352a15146828dcd