[INFO] cloning repository https://github.com/xfix/snippet-uploader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xfix/snippet-uploader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfix%2Fsnippet-uploader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfix%2Fsnippet-uploader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db22e1ba12c82d07a1f3f47b22522fe9371f3ea0 [INFO] building xfix/snippet-uploader against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfix%2Fsnippet-uploader" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xfix/snippet-uploader [INFO] finished tweaking git repo https://github.com/xfix/snippet-uploader [INFO] tweaked toml for git repo https://github.com/xfix/snippet-uploader written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xfix/snippet-uploader on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xfix/snippet-uploader 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cpufeatures v0.2.2 [INFO] [stderr] Downloaded unic-segment v0.9.0 [INFO] [stderr] Downloaded rocket_dyn_templates v0.1.0-rc.2 [INFO] [stderr] Downloaded iana-time-zone v0.1.46 [INFO] [stderr] Downloaded bcrypt v0.13.0 [INFO] [stderr] Downloaded ignore v0.4.18 [INFO] [stderr] Downloaded tera v1.16.0 [INFO] [stderr] Downloaded filetime v0.2.17 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.6 [INFO] [stderr] Downloaded async-stream v0.3.3 [INFO] [stderr] Downloaded normpath v0.3.2 [INFO] [stderr] Downloaded blowfish v0.9.1 [INFO] [stderr] Downloaded cipher v0.4.3 [INFO] [stderr] Downloaded ipnetwork v0.18.0 [INFO] [stderr] Downloaded pq-sys v0.4.7 [INFO] [stderr] Downloaded futures v0.3.21 [INFO] [stderr] Downloaded state v0.5.3 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.32.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.32.0 [INFO] [stderr] Downloaded generator v0.7.1 [INFO] [stderr] Downloaded rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Downloaded phf v0.11.0 [INFO] [stderr] Downloaded sha-1 v0.10.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.32.0 [INFO] [stderr] Downloaded bstr v0.2.17 [INFO] [stderr] Downloaded unic-ucd-segment v0.9.0 [INFO] [stderr] Downloaded rocket v0.5.0-rc.2 [INFO] [stderr] Downloaded ucd-trie v0.1.4 [INFO] [stderr] Downloaded fsevent v0.4.0 [INFO] [stderr] Downloaded chrono-tz v0.6.3 [INFO] [stderr] Downloaded async-stream-impl v0.3.3 [INFO] [stderr] Downloaded figment v0.10.6 [INFO] [stderr] Downloaded multer v2.0.3 [INFO] [stderr] Downloaded devise v0.3.1 [INFO] [stderr] Downloaded phf_generator v0.11.0 [INFO] [stderr] Downloaded pest v2.2.1 [INFO] [stderr] Downloaded globset v0.4.9 [INFO] [stderr] Downloaded slug v0.1.4 [INFO] [stderr] Downloaded devise_core v0.3.1 [INFO] [stderr] Downloaded proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Downloaded windows_i686_msvc v0.32.0 [INFO] [stderr] Downloaded ref-cast v1.0.8 [INFO] [stderr] Downloaded time v0.3.12 [INFO] [stderr] Downloaded ubyte v0.10.2 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.0 [INFO] [stderr] Downloaded phf_codegen v0.11.0 [INFO] [stderr] Downloaded globwalk v0.8.1 [INFO] [stderr] Downloaded pest_meta v2.2.1 [INFO] [stderr] Downloaded pest_generator v2.2.1 [INFO] [stderr] Downloaded pest_derive v2.2.1 [INFO] [stderr] Downloaded fsevent-sys v2.0.1 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.32.0 [INFO] [stderr] Downloaded tracing-subscriber v0.3.15 [INFO] [stderr] Downloaded inotify v0.7.1 [INFO] [stderr] Downloaded tokio-stream v0.1.9 [INFO] [stderr] Downloaded deunicode v0.4.3 [INFO] [stderr] Downloaded atomic v0.5.1 [INFO] [stderr] Downloaded devise_codegen v0.3.1 [INFO] [stderr] Downloaded either v1.7.0 [INFO] [stderr] Downloaded pear v0.2.3 [INFO] [stderr] Downloaded ref-cast-impl v1.0.8 [INFO] [stderr] Downloaded rocket_http v0.5.0-rc.2 [INFO] [stderr] Downloaded rustversion v1.0.8 [INFO] [stderr] Downloaded android_system_properties v0.1.4 [INFO] [stderr] Downloaded chrono-tz-build v0.0.3 [INFO] [stderr] Downloaded serde v1.0.145 [INFO] [stderr] Downloaded cookie v0.16.0 [INFO] [stderr] Downloaded pear_codegen v0.2.3 [INFO] [stderr] Downloaded time-macros v0.2.4 [INFO] [stderr] Downloaded uncased v0.9.7 [INFO] [stderr] Downloaded serde_derive v1.0.145 [INFO] [stderr] Downloaded unicode-ident v1.0.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.42 [INFO] [stderr] Downloaded digest v0.10.5 [INFO] [stderr] Downloaded rustc-demangle v0.1.4 [INFO] [stderr] Downloaded windows v0.32.0 [INFO] [stderr] Downloaded notify v4.0.17 [INFO] [stderr] Downloaded phf_shared v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c91ba2877f7450ab902307107e5f026152bc5fd11bd0fed6e2c85a7f0a2ad32d [INFO] running `Command { std: "docker" "start" "-a" "c91ba2877f7450ab902307107e5f026152bc5fd11bd0fed6e2c85a7f0a2ad32d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c91ba2877f7450ab902307107e5f026152bc5fd11bd0fed6e2c85a7f0a2ad32d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c91ba2877f7450ab902307107e5f026152bc5fd11bd0fed6e2c85a7f0a2ad32d", kill_on_drop: false }` [INFO] [stdout] c91ba2877f7450ab902307107e5f026152bc5fd11bd0fed6e2c85a7f0a2ad32d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41aff0ac7c857ac7d173469f2f9c9b56d1a1dfaf2024e119ef0022a7e61e0b1e [INFO] running `Command { std: "docker" "start" "-a" "41aff0ac7c857ac7d173469f2f9c9b56d1a1dfaf2024e119ef0022a7e61e0b1e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling phf_shared v0.11.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling ref-cast v1.0.8 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling phf v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling ucd-trie v0.1.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time v0.3.12 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling iana-time-zone v0.1.46 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling globset v0.4.9 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling multer v2.0.3 [INFO] [stderr] Compiling phf_generator v0.11.0 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling phf_codegen v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling pq-sys v0.4.7 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling cipher v0.4.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling chrono-tz-build v0.0.3 [INFO] [stderr] Compiling filetime v0.2.17 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling rustc-demangle v0.1.4 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling chrono-tz v0.6.3 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling normpath v0.3.2 [INFO] [stderr] Compiling bcrypt v0.13.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling ref-cast-impl v1.0.8 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.2 [INFO] [stderr] Compiling pest v2.2.1 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling pest_meta v2.2.1 [INFO] [stderr] Compiling pest_generator v2.2.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Compiling pest_derive v2.2.1 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling ubyte v0.10.2 [INFO] [stderr] Compiling ipnetwork v0.18.0 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tera v1.16.0 [INFO] [stderr] Compiling rocket_dyn_templates v0.1.0-rc.2 [INFO] [stderr] Compiling snippet-uploader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/db/user.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / error_chain! { [INFO] [stdout] 20 | | foreign_links { [INFO] [stdout] 21 | | Bcrypt(bcrypt::BcryptError); [INFO] [stdout] 22 | | Query(diesel::result::Error); [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/db/user.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / pub struct RegisterForm { [INFO] [stdout] 58 | | pub name: String, [INFO] [stdout] 59 | | pub password: String, [INFO] [stdout] 60 | | pub repeat_password: String, [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/db/user.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / pub struct LoginForm { [INFO] [stdout] 129 | | pub name: String, [INFO] [stdout] 130 | | pub password: String, [INFO] [stdout] 131 | | pub csrf: String, [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/pages/login.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn index( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redirect` [INFO] [stdout] --> src/pages/login.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn redirect(_user: UserId) -> Flash { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `page` [INFO] [stdout] --> src/pages/login.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn page(flash: Option, address: SocketAddr) -> Template { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logout` [INFO] [stdout] --> src/pages/login.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn logout(user: UserId, connection: Connection) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `register` [INFO] [stdout] --> src/pages/register.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn register( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `page` [INFO] [stdout] --> src/pages/register.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn page() -> Template { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `upload` [INFO] [stdout] --> src/pages/upload.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | async fn upload( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `static_file` [INFO] [stdout] --> src/static_file.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn static_file(path: PathBuf) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | #[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_row` and up 2 bodies [INFO] [stdout] 78 | struct Row { [INFO] [stdout] | --- `Row` 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/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | files (file_id) { [INFO] [stdout] 3 | | file_id -> Int4, [INFO] [stdout] 4 | | user_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | files (file_id) { [INFO] [stdout] 3 | | file_id -> Int4, [INFO] [stdout] | | ------- `file_id` is not local [INFO] [stdout] 4 | | user_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_file_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/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | files (file_id) { [INFO] [stdout] 3 | | file_id -> Int4, [INFO] [stdout] 4 | | user_id -> Int4, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_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/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | files (file_id) { [INFO] [stdout] 3 | | file_id -> Int4, [INFO] [stdout] 4 | | user_id -> Int4, [INFO] [stdout] 5 | | name -> Varchar, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [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/db/schema.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / table! { [INFO] [stdout] 10 | | logins (login_id) { [INFO] [stdout] 11 | | login_id -> Int4, [INFO] [stdout] 12 | | ip -> Inet, [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [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/db/schema.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / table! { [INFO] [stdout] 10 | | logins (login_id) { [INFO] [stdout] 11 | | login_id -> Int4, [INFO] [stdout] | | -------- `login_id` is not local [INFO] [stdout] 12 | | ip -> Inet, [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_login_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/db/schema.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / table! { [INFO] [stdout] 10 | | logins (login_id) { [INFO] [stdout] 11 | | login_id -> Int4, [INFO] [stdout] 12 | | ip -> Inet, [INFO] [stdout] | | -- `ip` is not local [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_ip` [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/db/schema.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / table! { [INFO] [stdout] 10 | | logins (login_id) { [INFO] [stdout] 11 | | login_id -> Int4, [INFO] [stdout] 12 | | ip -> Inet, [INFO] [stdout] 13 | | user_id -> Int4, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_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/db/schema.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / table! { [INFO] [stdout] 10 | | logins (login_id) { [INFO] [stdout] 11 | | login_id -> Int4, [INFO] [stdout] 12 | | ip -> Inet, [INFO] [stdout] 13 | | user_id -> Int4, [INFO] [stdout] 14 | | time -> Timestamptz, [INFO] [stdout] | | ---- `time` is not local [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_time` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/schema.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / table! { [INFO] [stdout] 10 | | logins (login_id) { [INFO] [stdout] 11 | | login_id -> Int4, [INFO] [stdout] 12 | | ip -> Inet, [INFO] [stdout] ... | [INFO] [stdout] 15 | | successful -> Bool, [INFO] [stdout] | | ---------- `successful` is not local [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_successful` [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/db/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | sessions (session_id) { [INFO] [stdout] 21 | | session_id -> Int4, [INFO] [stdout] 22 | | user_id -> Int4, [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [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/db/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | sessions (session_id) { [INFO] [stdout] 21 | | session_id -> Int4, [INFO] [stdout] | | ---------- `session_id` is not local [INFO] [stdout] 22 | | user_id -> Int4, [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_session_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/db/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | sessions (session_id) { [INFO] [stdout] 21 | | session_id -> Int4, [INFO] [stdout] 22 | | user_id -> Int4, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_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/db/schema.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | users (user_id) { [INFO] [stdout] 28 | | user_id -> Int4, [INFO] [stdout] 29 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [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/db/schema.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | users (user_id) { [INFO] [stdout] 28 | | user_id -> Int4, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 29 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_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/db/schema.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | users (user_id) { [INFO] [stdout] 28 | | user_id -> Int4, [INFO] [stdout] 29 | | name -> Varchar, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [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/db/schema.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | users (user_id) { [INFO] [stdout] 28 | | user_id -> Int4, [INFO] [stdout] 29 | | name -> Varchar, [INFO] [stdout] 30 | | password -> Varchar, [INFO] [stdout] | | -------- `password` is not local [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/user.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | #[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_newuid` and up 2 bodies [INFO] [stdout] 39 | #[table_name = "sessions"] [INFO] [stdout] 40 | struct NewUid { [INFO] [stdout] | ------ `NewUid` 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/db/user.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | #[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_newuid` and up 2 bodies [INFO] [stdout] 39 | #[table_name = "sessions"] [INFO] [stdout] 40 | struct NewUid { [INFO] [stdout] | ------ `NewUid` 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/db/user.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | #[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_newuid` and up 2 bodies [INFO] [stdout] 39 | #[table_name = "sessions"] [INFO] [stdout] 40 | struct NewUid { [INFO] [stdout] | ------ `NewUid` 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/db/user.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | #[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_newuser` and up 2 bodies [INFO] [stdout] 77 | #[table_name = "users"] [INFO] [stdout] 78 | struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` 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/db/user.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | #[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_newuser` and up 2 bodies [INFO] [stdout] 77 | #[table_name = "users"] [INFO] [stdout] 78 | struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` 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/db/user.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | #[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_newuser` and up 2 bodies [INFO] [stdout] 77 | #[table_name = "users"] [INFO] [stdout] 78 | struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` 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/db/user.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[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_newlogin` [INFO] [stdout] 97 | #[table_name = "logins"] [INFO] [stdout] 98 | struct NewLogin { [INFO] [stdout] | -------- `NewLogin` 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/db/user.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[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_newlogin` [INFO] [stdout] 97 | #[table_name = "logins"] [INFO] [stdout] 98 | struct NewLogin { [INFO] [stdout] | -------- `NewLogin` 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/db/user.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[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_newlogin` [INFO] [stdout] 97 | #[table_name = "logins"] [INFO] [stdout] 98 | struct NewLogin { [INFO] [stdout] | -------- `NewLogin` 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/db/user.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | #[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_passwordrow` and up 2 bodies [INFO] [stdout] 137 | struct PasswordRow { [INFO] [stdout] | ----------- `PasswordRow` 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: 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/pages/upload.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newfile` [INFO] [stdout] 17 | #[table_name = "files"] [INFO] [stdout] 18 | struct NewFile<'a> { [INFO] [stdout] | ------- `NewFile` 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/pages/upload.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newfile` [INFO] [stdout] 17 | #[table_name = "files"] [INFO] [stdout] 18 | struct NewFile<'a> { [INFO] [stdout] | ------- `NewFile` 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/pages/upload.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newfile` [INFO] [stdout] 17 | #[table_name = "files"] [INFO] [stdout] 18 | struct NewFile<'a> { [INFO] [stdout] | ------- `NewFile` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `Command { std: "docker" "inspect" "41aff0ac7c857ac7d173469f2f9c9b56d1a1dfaf2024e119ef0022a7e61e0b1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41aff0ac7c857ac7d173469f2f9c9b56d1a1dfaf2024e119ef0022a7e61e0b1e", kill_on_drop: false }` [INFO] [stdout] 41aff0ac7c857ac7d173469f2f9c9b56d1a1dfaf2024e119ef0022a7e61e0b1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc76c1a225366a6a9dddf782aa108a0a5ebb292401a3fb5c70b3cadd380c3502 [INFO] running `Command { std: "docker" "start" "-a" "cc76c1a225366a6a9dddf782aa108a0a5ebb292401a3fb5c70b3cadd380c3502", kill_on_drop: false }` [INFO] [stderr] Compiling snippet-uploader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/db/user.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / error_chain! { [INFO] [stdout] 20 | | foreign_links { [INFO] [stdout] 21 | | Bcrypt(bcrypt::BcryptError); [INFO] [stdout] 22 | | Query(diesel::result::Error); [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/db/user.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / pub struct RegisterForm { [INFO] [stdout] 58 | | pub name: String, [INFO] [stdout] 59 | | pub password: String, [INFO] [stdout] 60 | | pub repeat_password: String, [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/db/user.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / pub struct LoginForm { [INFO] [stdout] 129 | | pub name: String, [INFO] [stdout] 130 | | pub password: String, [INFO] [stdout] 131 | | pub csrf: String, [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/pages/login.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn index( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redirect` [INFO] [stdout] --> src/pages/login.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn redirect(_user: UserId) -> Flash { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `page` [INFO] [stdout] --> src/pages/login.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn page(flash: Option, address: SocketAddr) -> Template { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logout` [INFO] [stdout] --> src/pages/login.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn logout(user: UserId, connection: Connection) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `register` [INFO] [stdout] --> src/pages/register.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn register( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `page` [INFO] [stdout] --> src/pages/register.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn page() -> Template { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `upload` [INFO] [stdout] --> src/pages/upload.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | async fn upload( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `static_file` [INFO] [stdout] --> src/static_file.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn static_file(path: PathBuf) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | #[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_row` and up 2 bodies [INFO] [stdout] 78 | struct Row { [INFO] [stdout] | --- `Row` 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/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | files (file_id) { [INFO] [stdout] 3 | | file_id -> Int4, [INFO] [stdout] 4 | | user_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | files (file_id) { [INFO] [stdout] 3 | | file_id -> Int4, [INFO] [stdout] | | ------- `file_id` is not local [INFO] [stdout] 4 | | user_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_file_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/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | files (file_id) { [INFO] [stdout] 3 | | file_id -> Int4, [INFO] [stdout] 4 | | user_id -> Int4, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_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/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | files (file_id) { [INFO] [stdout] 3 | | file_id -> Int4, [INFO] [stdout] 4 | | user_id -> Int4, [INFO] [stdout] 5 | | name -> Varchar, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [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/db/schema.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / table! { [INFO] [stdout] 10 | | logins (login_id) { [INFO] [stdout] 11 | | login_id -> Int4, [INFO] [stdout] 12 | | ip -> Inet, [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [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/db/schema.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / table! { [INFO] [stdout] 10 | | logins (login_id) { [INFO] [stdout] 11 | | login_id -> Int4, [INFO] [stdout] | | -------- `login_id` is not local [INFO] [stdout] 12 | | ip -> Inet, [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_login_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/db/schema.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / table! { [INFO] [stdout] 10 | | logins (login_id) { [INFO] [stdout] 11 | | login_id -> Int4, [INFO] [stdout] 12 | | ip -> Inet, [INFO] [stdout] | | -- `ip` is not local [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_ip` [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/db/schema.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / table! { [INFO] [stdout] 10 | | logins (login_id) { [INFO] [stdout] 11 | | login_id -> Int4, [INFO] [stdout] 12 | | ip -> Inet, [INFO] [stdout] 13 | | user_id -> Int4, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_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/db/schema.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / table! { [INFO] [stdout] 10 | | logins (login_id) { [INFO] [stdout] 11 | | login_id -> Int4, [INFO] [stdout] 12 | | ip -> Inet, [INFO] [stdout] 13 | | user_id -> Int4, [INFO] [stdout] 14 | | time -> Timestamptz, [INFO] [stdout] | | ---- `time` is not local [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_time` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/schema.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / table! { [INFO] [stdout] 10 | | logins (login_id) { [INFO] [stdout] 11 | | login_id -> Int4, [INFO] [stdout] 12 | | ip -> Inet, [INFO] [stdout] ... | [INFO] [stdout] 15 | | successful -> Bool, [INFO] [stdout] | | ---------- `successful` is not local [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_successful` [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/db/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | sessions (session_id) { [INFO] [stdout] 21 | | session_id -> Int4, [INFO] [stdout] 22 | | user_id -> Int4, [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [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/db/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | sessions (session_id) { [INFO] [stdout] 21 | | session_id -> Int4, [INFO] [stdout] | | ---------- `session_id` is not local [INFO] [stdout] 22 | | user_id -> Int4, [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_session_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/db/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | sessions (session_id) { [INFO] [stdout] 21 | | session_id -> Int4, [INFO] [stdout] 22 | | user_id -> Int4, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_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/db/schema.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | users (user_id) { [INFO] [stdout] 28 | | user_id -> Int4, [INFO] [stdout] 29 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [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/db/schema.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | users (user_id) { [INFO] [stdout] 28 | | user_id -> Int4, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 29 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_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/db/schema.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | users (user_id) { [INFO] [stdout] 28 | | user_id -> Int4, [INFO] [stdout] 29 | | name -> Varchar, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [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/db/schema.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | users (user_id) { [INFO] [stdout] 28 | | user_id -> Int4, [INFO] [stdout] 29 | | name -> Varchar, [INFO] [stdout] 30 | | password -> Varchar, [INFO] [stdout] | | -------- `password` is not local [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/user.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | #[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_newuid` and up 2 bodies [INFO] [stdout] 39 | #[table_name = "sessions"] [INFO] [stdout] 40 | struct NewUid { [INFO] [stdout] | ------ `NewUid` 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/db/user.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | #[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_newuid` and up 2 bodies [INFO] [stdout] 39 | #[table_name = "sessions"] [INFO] [stdout] 40 | struct NewUid { [INFO] [stdout] | ------ `NewUid` 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/db/user.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | #[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_newuid` and up 2 bodies [INFO] [stdout] 39 | #[table_name = "sessions"] [INFO] [stdout] 40 | struct NewUid { [INFO] [stdout] | ------ `NewUid` 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/db/user.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | #[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_newuser` and up 2 bodies [INFO] [stdout] 77 | #[table_name = "users"] [INFO] [stdout] 78 | struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` 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/db/user.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | #[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_newuser` and up 2 bodies [INFO] [stdout] 77 | #[table_name = "users"] [INFO] [stdout] 78 | struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` 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/db/user.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | #[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_newuser` and up 2 bodies [INFO] [stdout] 77 | #[table_name = "users"] [INFO] [stdout] 78 | struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` 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/db/user.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[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_newlogin` [INFO] [stdout] 97 | #[table_name = "logins"] [INFO] [stdout] 98 | struct NewLogin { [INFO] [stdout] | -------- `NewLogin` 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/db/user.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[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_newlogin` [INFO] [stdout] 97 | #[table_name = "logins"] [INFO] [stdout] 98 | struct NewLogin { [INFO] [stdout] | -------- `NewLogin` 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/db/user.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[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_newlogin` [INFO] [stdout] 97 | #[table_name = "logins"] [INFO] [stdout] 98 | struct NewLogin { [INFO] [stdout] | -------- `NewLogin` 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/db/user.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | #[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_passwordrow` and up 2 bodies [INFO] [stdout] 137 | struct PasswordRow { [INFO] [stdout] | ----------- `PasswordRow` 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: 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/pages/upload.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newfile` [INFO] [stdout] 17 | #[table_name = "files"] [INFO] [stdout] 18 | struct NewFile<'a> { [INFO] [stdout] | ------- `NewFile` 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/pages/upload.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newfile` [INFO] [stdout] 17 | #[table_name = "files"] [INFO] [stdout] 18 | struct NewFile<'a> { [INFO] [stdout] | ------- `NewFile` 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/pages/upload.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newfile` [INFO] [stdout] 17 | #[table_name = "files"] [INFO] [stdout] 18 | struct NewFile<'a> { [INFO] [stdout] | ------- `NewFile` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.65s [INFO] running `Command { std: "docker" "inspect" "cc76c1a225366a6a9dddf782aa108a0a5ebb292401a3fb5c70b3cadd380c3502", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc76c1a225366a6a9dddf782aa108a0a5ebb292401a3fb5c70b3cadd380c3502", kill_on_drop: false }` [INFO] [stdout] cc76c1a225366a6a9dddf782aa108a0a5ebb292401a3fb5c70b3cadd380c3502