[INFO] cloning repository https://github.com/moaz-mokhtar/rust_training [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moaz-mokhtar/rust_training" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoaz-mokhtar%2Frust_training", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoaz-mokhtar%2Frust_training'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3cccbe9b47d784e867c55e7d29aed2b27252a60 [INFO] checking moaz-mokhtar/rust_training against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoaz-mokhtar%2Frust_training" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/moaz-mokhtar/rust_training on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/moaz-mokhtar/rust_training [INFO] finished tweaking git repo https://github.com/moaz-mokhtar/rust_training [INFO] tweaked toml for git repo https://github.com/moaz-mokhtar/rust_training written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/moaz-mokhtar/rust_training 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing v0.1.31 [INFO] [stderr] Downloaded random-string v1.0.0 [INFO] [stderr] Downloaded actix-identity v0.4.0 [INFO] [stderr] Downloaded simple_asn1 v0.6.1 [INFO] [stderr] Downloaded tracing-core v0.1.22 [INFO] [stderr] Downloaded time-macros v0.2.3 [INFO] [stderr] Downloaded custom_error v1.9.2 [INFO] [stderr] Downloaded semver v1.0.6 [INFO] [stderr] Downloaded async-trait v0.1.52 [INFO] [stderr] Downloaded time v0.3.7 [INFO] [stderr] Downloaded brotli v3.3.3 [INFO] [stderr] Downloaded h2 v0.3.11 [INFO] [stderr] Downloaded actix-cors v0.6.1 [INFO] [stderr] Downloaded anyhow v1.0.56 [INFO] [stderr] Downloaded tokio-util v0.7.0 [INFO] [stderr] Downloaded actix-server v2.0.0 [INFO] [stderr] Downloaded pem v1.0.2 [INFO] [stderr] Downloaded quickcheck v1.0.3 [INFO] [stderr] Downloaded num_threads v0.1.3 [INFO] [stderr] Downloaded bcrypt v0.12.0 [INFO] [stderr] Downloaded inout v0.1.2 [INFO] [stderr] Downloaded actix-rt v2.6.0 [INFO] [stderr] Downloaded actix-session v0.6.1 [INFO] [stderr] Downloaded jsonwebtoken v8.0.1 [INFO] [stderr] Downloaded actix-http v3.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e05c40dda523de3d8ed251fe7a47710fa5c40e1e1ee31fca1bcdcfc7013f7a9c [INFO] running `Command { std: "docker" "start" "-a" "e05c40dda523de3d8ed251fe7a47710fa5c40e1e1ee31fca1bcdcfc7013f7a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e05c40dda523de3d8ed251fe7a47710fa5c40e1e1ee31fca1bcdcfc7013f7a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e05c40dda523de3d8ed251fe7a47710fa5c40e1e1ee31fca1bcdcfc7013f7a9c", kill_on_drop: false }` [INFO] [stdout] e05c40dda523de3d8ed251fe7a47710fa5c40e1e1ee31fca1bcdcfc7013f7a9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9205a9eebfed488f85feb0340b6ce3314636adce135470cce3af9334f531e2b [INFO] running `Command { std: "docker" "start" "-a" "b9205a9eebfed488f85feb0340b6ce3314636adce135470cce3af9334f531e2b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking local-waker v0.1.2 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Checking alloc-no-stdlib v2.0.3 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking tracing v0.1.31 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Checking ghash v0.4.4 [INFO] [stderr] Checking brotli-decompressor v2.3.2 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking aes-gcm v0.9.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking hkdf v0.12.3 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking brotli v3.3.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking inout v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking cipher v0.4.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking cookie v0.16.0 [INFO] [stderr] Checking pem v1.0.2 [INFO] [stderr] Checking random-string v1.0.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking bcrypt v0.12.0 [INFO] [stderr] Checking custom_error v1.9.2 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-util v0.7.0 [INFO] [stderr] Checking actix-rt v2.6.0 [INFO] [stderr] Checking actix-codec v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking simple_asn1 v0.6.1 [INFO] [stderr] Checking h2 v0.3.11 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Checking actix-server v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking email v0.0.20 [INFO] [stderr] Checking lettre v0.9.6 [INFO] [stderr] Checking jsonwebtoken v8.0.1 [INFO] [stderr] Checking lettre_email v0.9.4 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Checking actix-http v3.0.0 [INFO] [stderr] Checking actix-web v4.0.1 [INFO] [stderr] Checking actix-session v0.6.1 [INFO] [stderr] Checking actix-identity v0.4.0 [INFO] [stderr] Checking actix-cors v0.6.1 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking rust_training v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/handler.rs:144:31 [INFO] [stdout] | [INFO] [stdout] 144 | dbg!(refresh_token.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/handler.rs:144:31 [INFO] [stdout] | [INFO] [stdout] 144 | dbg!(refresh_token.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_cors::Cors` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_cors::Cors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_cors::Cors` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_cors::Cors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 44.42s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] running `Command { std: "docker" "inspect" "b9205a9eebfed488f85feb0340b6ce3314636adce135470cce3af9334f531e2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9205a9eebfed488f85feb0340b6ce3314636adce135470cce3af9334f531e2b", kill_on_drop: false }` [INFO] [stdout] b9205a9eebfed488f85feb0340b6ce3314636adce135470cce3af9334f531e2b [INFO] checking moaz-mokhtar/rust_training against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoaz-mokhtar%2Frust_training" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/moaz-mokhtar/rust_training on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/moaz-mokhtar/rust_training [INFO] finished tweaking git repo https://github.com/moaz-mokhtar/rust_training [INFO] tweaked toml for git repo https://github.com/moaz-mokhtar/rust_training written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/moaz-mokhtar/rust_training 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b5b002169ea8634b9f9029b162ee0ca45cfe0d16ff5936675adcc79f1937acd [INFO] running `Command { std: "docker" "start" "-a" "4b5b002169ea8634b9f9029b162ee0ca45cfe0d16ff5936675adcc79f1937acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b5b002169ea8634b9f9029b162ee0ca45cfe0d16ff5936675adcc79f1937acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b5b002169ea8634b9f9029b162ee0ca45cfe0d16ff5936675adcc79f1937acd", kill_on_drop: false }` [INFO] [stdout] 4b5b002169ea8634b9f9029b162ee0ca45cfe0d16ff5936675adcc79f1937acd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd978899edf36b52f519e90fa8853a856a13ad02b3eb95e2f649d23756cf91ac [INFO] running `Command { std: "docker" "start" "-a" "cd978899edf36b52f519e90fa8853a856a13ad02b3eb95e2f649d23756cf91ac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking alloc-no-stdlib v2.0.3 [INFO] [stderr] Checking local-waker v0.1.2 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Checking tracing v0.1.31 [INFO] [stderr] Checking ghash v0.4.4 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking brotli-decompressor v2.3.2 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Checking aes-gcm v0.9.4 [INFO] [stderr] Checking hkdf v0.12.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking brotli v3.3.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking inout v0.1.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Checking cipher v0.4.3 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking pem v1.0.2 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking random-string v1.0.0 [INFO] [stderr] Checking bcrypt v0.12.0 [INFO] [stderr] Checking custom_error v1.9.2 [INFO] [stderr] Checking cookie v0.16.0 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking actix-rt v2.6.0 [INFO] [stderr] Checking tokio-util v0.7.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Checking actix-codec v0.5.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking simple_asn1 v0.6.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Checking h2 v0.3.11 [INFO] [stderr] Checking actix-server v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking email v0.0.20 [INFO] [stderr] Checking lettre v0.9.6 [INFO] [stderr] Checking jsonwebtoken v8.0.1 [INFO] [stderr] Checking lettre_email v0.9.4 [INFO] [stderr] Checking zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Checking actix-http v3.0.0 [INFO] [stderr] Checking actix-web v4.0.1 [INFO] [stderr] Checking actix-cors v0.6.1 [INFO] [stderr] Checking actix-session v0.6.1 [INFO] [stderr] Checking actix-identity v0.4.0 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking rust_training v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/entity/user.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable, PartialEq, Insertable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_user` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/entity/user.rs:10:70 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable, PartialEq, Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_user` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/entity/user.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable, PartialEq, Insertable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_usertoken` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/entity/user.rs:66:70 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable, PartialEq, Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_usertoken` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/entity/user.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable, PartialEq, Insertable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_reset` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/entity/user.rs:75:70 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable, PartialEq, Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_reset` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/handler.rs:144:31 [INFO] [stdout] | [INFO] [stdout] 144 | dbg!(refresh_token.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | reset (token) { [INFO] [stdout] 3 | | token -> Varchar, [INFO] [stdout] 4 | | email -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | reset (token) { [INFO] [stdout] 3 | | token -> Varchar, [INFO] [stdout] 4 | | email -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_token` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | reset (token) { [INFO] [stdout] 3 | | token -> Varchar, [INFO] [stdout] 4 | | email -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_email` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | user_token (user_id) { [INFO] [stdout] 10 | | user_id -> Uuid, [INFO] [stdout] 11 | | token -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | user_token (user_id) { [INFO] [stdout] 10 | | user_id -> Uuid, [INFO] [stdout] 11 | | token -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_user_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | user_token (user_id) { [INFO] [stdout] 10 | | user_id -> Uuid, [INFO] [stdout] 11 | | token -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_token` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | user_token (user_id) { [INFO] [stdout] 10 | | user_id -> Uuid, [INFO] [stdout] 11 | | token -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_created_at` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | user_token (user_id) { [INFO] [stdout] 10 | | user_id -> Uuid, [INFO] [stdout] 11 | | token -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_expires_at` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | users (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | first_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | users (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | first_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | users (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | first_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_first_name` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | users (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | first_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_last_name` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | users (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | first_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_email` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | users (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | first_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_password` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: aborting due to 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_training` (lib test) due to 21 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/entity/user.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable, PartialEq, Insertable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_user` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/entity/user.rs:10:70 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable, PartialEq, Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_user` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/entity/user.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable, PartialEq, Insertable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_usertoken` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/entity/user.rs:66:70 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable, PartialEq, Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_usertoken` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/entity/user.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable, PartialEq, Insertable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_reset` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/entity/user.rs:75:70 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable, PartialEq, Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_reset` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/handler.rs:144:31 [INFO] [stdout] | [INFO] [stdout] 144 | dbg!(refresh_token.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | reset (token) { [INFO] [stdout] 3 | | token -> Varchar, [INFO] [stdout] 4 | | email -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | reset (token) { [INFO] [stdout] 3 | | token -> Varchar, [INFO] [stdout] 4 | | email -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_token` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | reset (token) { [INFO] [stdout] 3 | | token -> Varchar, [INFO] [stdout] 4 | | email -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_email` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | user_token (user_id) { [INFO] [stdout] 10 | | user_id -> Uuid, [INFO] [stdout] 11 | | token -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | user_token (user_id) { [INFO] [stdout] 10 | | user_id -> Uuid, [INFO] [stdout] 11 | | token -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_user_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | user_token (user_id) { [INFO] [stdout] 10 | | user_id -> Uuid, [INFO] [stdout] 11 | | token -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_token` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | user_token (user_id) { [INFO] [stdout] 10 | | user_id -> Uuid, [INFO] [stdout] 11 | | token -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_created_at` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | user_token (user_id) { [INFO] [stdout] 10 | | user_id -> Uuid, [INFO] [stdout] 11 | | token -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_expires_at` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | users (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | first_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | users (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | first_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | users (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | first_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_first_name` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | users (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | first_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_last_name` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | users (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | first_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_email` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | users (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | first_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_password` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: aborting due to 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_training` (lib) due to 21 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "cd978899edf36b52f519e90fa8853a856a13ad02b3eb95e2f649d23756cf91ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd978899edf36b52f519e90fa8853a856a13ad02b3eb95e2f649d23756cf91ac", kill_on_drop: false }` [INFO] [stdout] cd978899edf36b52f519e90fa8853a856a13ad02b3eb95e2f649d23756cf91ac