[INFO] cloning repository https://github.com/Siting-Li-utoronto/1724Rust_project_decentrialized_password_manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Siting-Li-utoronto/1724Rust_project_decentrialized_password_manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiting-Li-utoronto%2F1724Rust_project_decentrialized_password_manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiting-Li-utoronto%2F1724Rust_project_decentrialized_password_manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41c0af55135593cb16355ec3f9f27fcd4206f8b9 [INFO] checking Siting-Li-utoronto/1724Rust_project_decentrialized_password_manager against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiting-Li-utoronto%2F1724Rust_project_decentrialized_password_manager" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Siting-Li-utoronto/1724Rust_project_decentrialized_password_manager on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Siting-Li-utoronto/1724Rust_project_decentrialized_password_manager [INFO] finished tweaking git repo https://github.com/Siting-Li-utoronto/1724Rust_project_decentrialized_password_manager [INFO] tweaked toml for git repo https://github.com/Siting-Li-utoronto/1724Rust_project_decentrialized_password_manager written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Siting-Li-utoronto/1724Rust_project_decentrialized_password_manager 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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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 sodiumoxide v0.2.7 [INFO] [stderr] Downloaded libsqlite3-sys v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5226fe6997c3883c350922ba1f8a080f3fe7204fd5103b5348c8f56af56ace5c [INFO] running `Command { std: "docker" "start" "-a" "5226fe6997c3883c350922ba1f8a080f3fe7204fd5103b5348c8f56af56ace5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5226fe6997c3883c350922ba1f8a080f3fe7204fd5103b5348c8f56af56ace5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5226fe6997c3883c350922ba1f8a080f3fe7204fd5103b5348c8f56af56ace5c", kill_on_drop: false }` [INFO] [stdout] 5226fe6997c3883c350922ba1f8a080f3fe7204fd5103b5348c8f56af56ace5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d73ace6b8f9fc0b8f29392d690ebd08374d0d95aa1186193acb332f19e00f9e [INFO] running `Command { std: "docker" "start" "-a" "7d73ace6b8f9fc0b8f29392d690ebd08374d0d95aa1186193acb332f19e00f9e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Compiling libsqlite3-sys v0.12.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking sodiumoxide v0.2.7 [INFO] [stderr] Checking finalproject v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `title`, and `encrypted_password` are never read [INFO] [stdout] --> src/database.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Password { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub encrypted_password: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/database.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_password` [INFO] [stdout] 8 | pub struct Password { [INFO] [stdout] | -------- `Password` 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/database.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[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_newpassword` [INFO] [stdout] 15 | #[table_name = "passwords"] // Link this struct to the passwords table [INFO] [stdout] 16 | pub struct NewPassword<'a> { [INFO] [stdout] | ----------- `NewPassword` 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/database.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[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_newpassword` [INFO] [stdout] 15 | #[table_name = "passwords"] // Link this struct to the passwords table [INFO] [stdout] 16 | pub struct NewPassword<'a> { [INFO] [stdout] | ----------- `NewPassword` 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/database.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[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_newpassword` [INFO] [stdout] 15 | #[table_name = "passwords"] // Link this struct to the passwords table [INFO] [stdout] 16 | pub struct NewPassword<'a> { [INFO] [stdout] | ----------- `NewPassword` 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/schema.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | passwords (id) { [INFO] [stdout] 4 | | id -> Integer, [INFO] [stdout] 5 | | title -> Text, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [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:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | passwords (id) { [INFO] [stdout] 4 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 5 | | title -> Text, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [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:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | passwords (id) { [INFO] [stdout] 4 | | id -> Integer, [INFO] [stdout] 5 | | title -> Text, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_title` [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:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | passwords (id) { [INFO] [stdout] 4 | | id -> Integer, [INFO] [stdout] 5 | | title -> Text, [INFO] [stdout] 6 | | encrypted_password -> Text, [INFO] [stdout] | | ------------------ `encrypted_password` is not local [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_encrypted_password` [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: fields `id`, `title`, and `encrypted_password` are never read [INFO] [stdout] --> src/database.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Password { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub encrypted_password: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/database.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_password` [INFO] [stdout] 8 | pub struct Password { [INFO] [stdout] | -------- `Password` 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/database.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[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_newpassword` [INFO] [stdout] 15 | #[table_name = "passwords"] // Link this struct to the passwords table [INFO] [stdout] 16 | pub struct NewPassword<'a> { [INFO] [stdout] | ----------- `NewPassword` 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/database.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[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_newpassword` [INFO] [stdout] 15 | #[table_name = "passwords"] // Link this struct to the passwords table [INFO] [stdout] 16 | pub struct NewPassword<'a> { [INFO] [stdout] | ----------- `NewPassword` 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/database.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[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_newpassword` [INFO] [stdout] 15 | #[table_name = "passwords"] // Link this struct to the passwords table [INFO] [stdout] 16 | pub struct NewPassword<'a> { [INFO] [stdout] | ----------- `NewPassword` 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/schema.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | passwords (id) { [INFO] [stdout] 4 | | id -> Integer, [INFO] [stdout] 5 | | title -> Text, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [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:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | passwords (id) { [INFO] [stdout] 4 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 5 | | title -> Text, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [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:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | passwords (id) { [INFO] [stdout] 4 | | id -> Integer, [INFO] [stdout] 5 | | title -> Text, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_title` [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:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | passwords (id) { [INFO] [stdout] 4 | | id -> Integer, [INFO] [stdout] 5 | | title -> Text, [INFO] [stdout] 6 | | encrypted_password -> Text, [INFO] [stdout] | | ------------------ `encrypted_password` is not local [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_encrypted_password` [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 49.25s [INFO] running `Command { std: "docker" "inspect" "7d73ace6b8f9fc0b8f29392d690ebd08374d0d95aa1186193acb332f19e00f9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d73ace6b8f9fc0b8f29392d690ebd08374d0d95aa1186193acb332f19e00f9e", kill_on_drop: false }` [INFO] [stdout] 7d73ace6b8f9fc0b8f29392d690ebd08374d0d95aa1186193acb332f19e00f9e