[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 master#ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 for pr-146504 [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-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Siting-Li-utoronto/1724Rust_project_decentrialized_password_manager on toolchain ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded os_str_bytes v6.6.1 [INFO] [stderr] Downloaded clap_derive v3.2.25 [INFO] [stderr] Downloaded diesel_derives v1.4.1 [INFO] [stderr] Downloaded clap v3.2.25 [INFO] [stderr] Downloaded diesel v1.4.8 [INFO] [stderr] Downloaded libsqlite3-sys v0.12.0 [INFO] [stderr] Downloaded sodiumoxide v0.2.7 [INFO] [stderr] Downloaded libsodium-sys v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7823e38f766068f0749bad1d904db91b512b69103530779f297ee29d735be2ca [INFO] running `Command { std: "docker" "start" "-a" "7823e38f766068f0749bad1d904db91b512b69103530779f297ee29d735be2ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7823e38f766068f0749bad1d904db91b512b69103530779f297ee29d735be2ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7823e38f766068f0749bad1d904db91b512b69103530779f297ee29d735be2ca", kill_on_drop: false }` [INFO] [stdout] 7823e38f766068f0749bad1d904db91b512b69103530779f297ee29d735be2ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87c52025094df551df7f25ce3a5da76c798b804efde448bccde0183e9d8b9d2e [INFO] running `Command { std: "docker" "start" "-a" "87c52025094df551df7f25ce3a5da76c798b804efde448bccde0183e9d8b9d2e", kill_on_drop: false }` [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 serde v1.0.215 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking clap_lex v0.2.4 [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 proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling diesel_derives v1.4.1 [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)]` (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/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)]` (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/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 1m 35s [INFO] running `Command { std: "docker" "inspect" "87c52025094df551df7f25ce3a5da76c798b804efde448bccde0183e9d8b9d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87c52025094df551df7f25ce3a5da76c798b804efde448bccde0183e9d8b9d2e", kill_on_drop: false }` [INFO] [stdout] 87c52025094df551df7f25ce3a5da76c798b804efde448bccde0183e9d8b9d2e