[INFO] cloning repository https://github.com/LaSpruca/the-cooler-streak-saver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LaSpruca/the-cooler-streak-saver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaSpruca%2Fthe-cooler-streak-saver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaSpruca%2Fthe-cooler-streak-saver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c685114d4a923ed9541b461daa41170b10635e5a [INFO] checking LaSpruca/the-cooler-streak-saver against try#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaSpruca%2Fthe-cooler-streak-saver" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LaSpruca/the-cooler-streak-saver [INFO] finished tweaking git repo https://github.com/LaSpruca/the-cooler-streak-saver [INFO] tweaked toml for git repo https://github.com/LaSpruca/the-cooler-streak-saver written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LaSpruca/the-cooler-streak-saver on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LaSpruca/the-cooler-streak-saver 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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-attributes v0.1.20 [INFO] [stderr] Downloaded unicode-xid v0.2.2 [INFO] [stderr] Downloaded log v0.4.16 [INFO] [stderr] Downloaded percent-encoding v1.0.1 [INFO] [stderr] Downloaded tracing-core v0.1.26 [INFO] [stderr] Downloaded tracing-log v0.1.2 [INFO] [stderr] Downloaded diesel_migrations v1.4.0 [INFO] [stderr] Downloaded quote v1.0.18 [INFO] [stderr] Downloaded migrations_internals v1.4.1 [INFO] [stderr] Downloaded migrations_macros v1.4.2 [INFO] [stderr] Downloaded pq-sys v0.4.6 [INFO] [stderr] Downloaded itoa v1.0.1 [INFO] [stderr] Downloaded diesel_derives v1.4.1 [INFO] [stderr] Downloaded mysqlclient-sys v0.2.5 [INFO] [stderr] Downloaded async-trait v0.1.53 [INFO] [stderr] Downloaded futures-core v0.3.21 [INFO] [stderr] Downloaded url v1.7.2 [INFO] [stderr] Downloaded tinyvec_macros v0.1.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.80 [INFO] [stderr] Downloaded httpdate v1.0.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.30 [INFO] [stderr] Downloaded mime v0.3.16 [INFO] [stderr] Downloaded diesel v1.4.8 [INFO] [stderr] Downloaded want v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.30 [INFO] [stderr] Downloaded stringmatch v0.3.3 [INFO] [stderr] Downloaded idna v0.1.5 [INFO] [stderr] Downloaded urlparse v0.7.3 [INFO] [stderr] Downloaded slab v0.4.6 [INFO] [stderr] Downloaded http-body v0.4.4 [INFO] [stderr] Downloaded futures-sink v0.3.21 [INFO] [stderr] Downloaded thread_local v1.1.4 [INFO] [stderr] Downloaded try-lock v0.2.3 [INFO] [stderr] Downloaded dotenv v0.15.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.22.2 [INFO] [stderr] Downloaded displaydoc v0.1.7 [INFO] [stderr] Downloaded form_urlencoded v1.0.1 [INFO] [stderr] Downloaded tokio-macros v1.7.0 [INFO] [stderr] Downloaded matches v0.1.9 [INFO] [stderr] Downloaded serde_repr v0.1.7 [INFO] [stderr] Downloaded futures-macro v0.3.21 [INFO] [stderr] Downloaded futures-io v0.3.21 [INFO] [stderr] Downloaded futures-task v0.3.21 [INFO] [stderr] Downloaded num-integer v0.1.44 [INFO] [stderr] Downloaded security-framework-sys v2.6.1 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.80 [INFO] [stderr] Downloaded pkg-config v0.3.25 [INFO] [stderr] Downloaded fastrand v1.7.0 [INFO] [stderr] Downloaded core-foundation v0.9.3 [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded core-foundation-sys v0.8.3 [INFO] [stderr] Downloaded httparse v1.7.0 [INFO] [stderr] Downloaded tower-service v0.3.1 [INFO] [stderr] Downloaded tokio-native-tls v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.80 [INFO] [stderr] Downloaded thiserror v1.0.30 [INFO] [stderr] Downloaded redox_syscall v0.2.13 [INFO] [stderr] Downloaded winreg v0.10.1 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Downloaded futures-executor v0.3.21 [INFO] [stderr] Downloaded once_cell v1.10.0 [INFO] [stderr] Downloaded time v0.1.44 [INFO] [stderr] Downloaded wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded ipnet v2.5.0 [INFO] [stderr] Downloaded smallvec v1.8.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.37 [INFO] [stderr] Downloaded unicode-bidi v0.3.7 [INFO] [stderr] Downloaded tinyvec v1.5.1 [INFO] [stderr] Downloaded num-traits v0.2.14 [INFO] [stderr] Downloaded tracing v0.1.34 [INFO] [stderr] Downloaded miow v0.3.7 [INFO] [stderr] Downloaded socket2 v0.4.4 [INFO] [stderr] Downloaded futures-channel v0.3.21 [INFO] [stderr] Downloaded ryu v1.0.9 [INFO] [stderr] Downloaded openssl-sys v0.9.72 [INFO] [stderr] Downloaded indexmap v1.8.1 [INFO] [stderr] Downloaded pin-project-lite v0.2.8 [INFO] [stderr] Downloaded memchr v2.4.1 [INFO] [stderr] Downloaded sharded-slab v0.1.4 [INFO] [stderr] Downloaded futures v0.3.21 [INFO] [stderr] Downloaded bytes v1.1.0 [INFO] [stderr] Downloaded thirtyfour_sync v0.27.1 [INFO] [stderr] Downloaded schannel v0.1.19 [INFO] [stderr] Downloaded security-framework v2.6.1 [INFO] [stderr] Downloaded js-sys v0.3.57 [INFO] [stderr] Downloaded url v2.2.2 [INFO] [stderr] Downloaded thirtyfour v0.27.3 [INFO] [stderr] Downloaded serde v1.0.136 [INFO] [stderr] Downloaded tokio-util v0.7.1 [INFO] [stderr] Downloaded bumpalo v3.9.1 [INFO] [stderr] Downloaded serde_derive v1.0.136 [INFO] [stderr] Downloaded mio v0.8.2 [INFO] [stderr] Downloaded http v0.2.6 [INFO] [stderr] Downloaded unicode-normalization v0.1.19 [INFO] [stderr] Downloaded aho-corasick v0.7.18 [INFO] [stderr] Downloaded tracing-subscriber v0.3.11 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded reqwest v0.11.10 [INFO] [stderr] Downloaded serde_json v1.0.79 [INFO] [stderr] Downloaded h2 v0.3.13 [INFO] [stderr] Downloaded chrono v0.4.19 [INFO] [stderr] Downloaded futures-util v0.3.21 [INFO] [stderr] Downloaded wasm-bindgen v0.2.80 [INFO] [stderr] Downloaded hyper v0.14.18 [INFO] [stderr] Downloaded syn v1.0.91 [INFO] [stderr] Downloaded openssl v0.10.38 [INFO] [stderr] Downloaded regex v1.5.5 [INFO] [stderr] Downloaded idna v0.2.3 [INFO] [stderr] Downloaded regex-syntax v0.6.25 [INFO] [stderr] Downloaded tokio v1.17.0 [INFO] [stderr] Downloaded libc v0.2.123 [INFO] [stderr] Downloaded web-sys v0.3.57 [INFO] [stderr] Downloaded encoding_rs v0.8.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23bf963a3510b798091a46d294946e19413c506d12b88399e1357bb9ba051e8c [INFO] running `Command { std: "docker" "start" "-a" "23bf963a3510b798091a46d294946e19413c506d12b88399e1357bb9ba051e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23bf963a3510b798091a46d294946e19413c506d12b88399e1357bb9ba051e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23bf963a3510b798091a46d294946e19413c506d12b88399e1357bb9ba051e8c", kill_on_drop: false }` [INFO] [stdout] 23bf963a3510b798091a46d294946e19413c506d12b88399e1357bb9ba051e8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 007e10e683db63a7d184e9d1aff43385e351c596d81062663dfa4b0fcb7c4696 [INFO] running `Command { std: "docker" "start" "-a" "007e10e683db63a7d184e9d1aff43385e351c596d81062663dfa4b0fcb7c4696", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking stringmatch v0.3.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking urlparse v0.7.3 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking thirtyfour v0.27.3 [INFO] [stderr] Checking thirtyfour_sync v0.27.1 [INFO] [stderr] Checking the-cooler-streak-saver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/webdriver/signin.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{debug, error, warn}; [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: `error` [INFO] [stdout] --> src/webdriver/signin.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{debug, error, warn}; [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 variable: `disabled` [INFO] [stdout] --> src/webdriver/questions.rs:414:21 [INFO] [stdout] | [INFO] [stdout] 414 | if let Some(disabled) = elm.get_attribute("aria-disabled")? { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_disabled` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `disabled` [INFO] [stdout] --> src/webdriver/questions.rs:414:21 [INFO] [stdout] | [INFO] [stdout] 414 | if let Some(disabled) = elm.get_attribute("aria-disabled")? { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_disabled` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/common.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Copy, Clone, AsExpression, FromSqlRow, PartialEq)] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_questiontype` [INFO] [stdout] 16 | #[sql_type = "Text"] [INFO] [stdout] | ------ `Text` is not local [INFO] [stdout] 17 | pub enum QuestionType { [INFO] [stdout] | ------------ `QuestionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/common.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Copy, Clone, AsExpression, FromSqlRow, PartialEq)] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_questiontype` [INFO] [stdout] 16 | #[sql_type = "Text"] [INFO] [stdout] | ------ `Text` is not local [INFO] [stdout] 17 | pub enum QuestionType { [INFO] [stdout] | ------------ `QuestionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/common.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Copy, Clone, AsExpression, FromSqlRow, PartialEq)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `ToSql` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_questiontype` [INFO] [stdout] 16 | #[sql_type = "Text"] [INFO] [stdout] | ------ `Text` is not local [INFO] [stdout] 17 | pub enum QuestionType { [INFO] [stdout] | ------------ `QuestionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/common.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Copy, Clone, AsExpression, FromSqlRow, PartialEq)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_questiontype` [INFO] [stdout] 16 | #[sql_type = "Text"] [INFO] [stdout] | ------ `Text` is not local [INFO] [stdout] 17 | pub enum QuestionType { [INFO] [stdout] | ------------ `QuestionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/common.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Copy, Clone, AsExpression, FromSqlRow, PartialEq)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_questiontype` [INFO] [stdout] 16 | #[sql_type = "Text"] [INFO] [stdout] | ------ `Text` is not local [INFO] [stdout] 17 | pub enum QuestionType { [INFO] [stdout] | ------------ `QuestionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/common.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Copy, Clone, AsExpression, FromSqlRow, PartialEq)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `FromSqlRow` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_from_sql_row_for_questiontype` [INFO] [stdout] 16 | #[sql_type = "Text"] [INFO] [stdout] 17 | pub enum QuestionType { [INFO] [stdout] | ------------ `QuestionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromSqlRow` 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 `FromSqlRow` (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/common.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Copy, Clone, AsExpression, FromSqlRow, PartialEq)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_from_sql_row_for_questiontype` [INFO] [stdout] 16 | #[sql_type = "Text"] [INFO] [stdout] 17 | pub enum QuestionType { [INFO] [stdout] | ------------ `QuestionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromSqlRow` 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 `FromSqlRow` (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/models.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Debug, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_question` [INFO] [stdout] 5 | pub struct Question { [INFO] [stdout] | -------- `Question` 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/db/models.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Insertable, Clone, Debug)] [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_newquestion` [INFO] [stdout] 14 | #[table_name = "questions"] [INFO] [stdout] 15 | pub struct NewQuestion { [INFO] [stdout] | ----------- `NewQuestion` 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/models.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Insertable, Clone, Debug)] [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_newquestion` [INFO] [stdout] 14 | #[table_name = "questions"] [INFO] [stdout] 15 | pub struct NewQuestion { [INFO] [stdout] | ----------- `NewQuestion` 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/models.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Insertable, Clone, Debug)] [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_newquestion` [INFO] [stdout] 14 | #[table_name = "questions"] [INFO] [stdout] 15 | pub struct NewQuestion { [INFO] [stdout] | ----------- `NewQuestion` 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/common.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Copy, Clone, AsExpression, FromSqlRow, PartialEq)] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_questiontype` [INFO] [stdout] 16 | #[sql_type = "Text"] [INFO] [stdout] | ------ `Text` is not local [INFO] [stdout] 17 | pub enum QuestionType { [INFO] [stdout] | ------------ `QuestionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/common.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Copy, Clone, AsExpression, FromSqlRow, PartialEq)] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_questiontype` [INFO] [stdout] 16 | #[sql_type = "Text"] [INFO] [stdout] | ------ `Text` is not local [INFO] [stdout] 17 | pub enum QuestionType { [INFO] [stdout] | ------------ `QuestionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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 | | questions (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | language -> Text, [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [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/common.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Copy, Clone, AsExpression, FromSqlRow, PartialEq)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `ToSql` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_questiontype` [INFO] [stdout] 16 | #[sql_type = "Text"] [INFO] [stdout] | ------ `Text` is not local [INFO] [stdout] 17 | pub enum QuestionType { [INFO] [stdout] | ------------ `QuestionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/common.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Copy, Clone, AsExpression, FromSqlRow, PartialEq)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_questiontype` [INFO] [stdout] 16 | #[sql_type = "Text"] [INFO] [stdout] | ------ `Text` is not local [INFO] [stdout] 17 | pub enum QuestionType { [INFO] [stdout] | ------------ `QuestionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/common.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Copy, Clone, AsExpression, FromSqlRow, PartialEq)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_questiontype` [INFO] [stdout] 16 | #[sql_type = "Text"] [INFO] [stdout] | ------ `Text` is not local [INFO] [stdout] 17 | pub enum QuestionType { [INFO] [stdout] | ------------ `QuestionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/common.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Copy, Clone, AsExpression, FromSqlRow, PartialEq)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `FromSqlRow` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_from_sql_row_for_questiontype` [INFO] [stdout] 16 | #[sql_type = "Text"] [INFO] [stdout] 17 | pub enum QuestionType { [INFO] [stdout] | ------------ `QuestionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromSqlRow` 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 `FromSqlRow` (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/common.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Copy, Clone, AsExpression, FromSqlRow, PartialEq)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_from_sql_row_for_questiontype` [INFO] [stdout] 16 | #[sql_type = "Text"] [INFO] [stdout] 17 | pub enum QuestionType { [INFO] [stdout] | ------------ `QuestionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromSqlRow` 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 `FromSqlRow` (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/models.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Debug, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_question` [INFO] [stdout] 5 | pub struct Question { [INFO] [stdout] | -------- `Question` 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/db/models.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Insertable, Clone, Debug)] [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_newquestion` [INFO] [stdout] 14 | #[table_name = "questions"] [INFO] [stdout] 15 | pub struct NewQuestion { [INFO] [stdout] | ----------- `NewQuestion` 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/models.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Insertable, Clone, Debug)] [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_newquestion` [INFO] [stdout] 14 | #[table_name = "questions"] [INFO] [stdout] 15 | pub struct NewQuestion { [INFO] [stdout] | ----------- `NewQuestion` 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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | questions (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | language -> Text, [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/models.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Insertable, Clone, Debug)] [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_newquestion` [INFO] [stdout] 14 | #[table_name = "questions"] [INFO] [stdout] 15 | pub struct NewQuestion { [INFO] [stdout] | ----------- `NewQuestion` 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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | questions (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | language -> Text, [INFO] [stdout] | | -------- `language` is not local [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_language` [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 | | questions (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | language -> Text, [INFO] [stdout] 5 | | question -> Text, [INFO] [stdout] | | -------- `question` is not local [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_question` [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 | | questions (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | language -> Text, [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [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 | | questions (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | language -> Text, [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | questions (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | language -> Text, [INFO] [stdout] 5 | | question -> Text, [INFO] [stdout] 6 | | answer -> Text, [INFO] [stdout] | | ------ `answer` is not local [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_answer` [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 | | questions (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | language -> Text, [INFO] [stdout] | | -------- `language` is not local [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_language` [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 | | questions (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | language -> Text, [INFO] [stdout] 5 | | question -> Text, [INFO] [stdout] | | -------- `question` is not local [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_question` [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 | | questions (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | language -> Text, [INFO] [stdout] ... | [INFO] [stdout] 7 | | question_type -> Text, [INFO] [stdout] | | ------------- `question_type` is not local [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_question_type` [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 | | questions (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | language -> Text, [INFO] [stdout] 5 | | question -> Text, [INFO] [stdout] 6 | | answer -> Text, [INFO] [stdout] | | ------ `answer` is not local [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_answer` [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 | | questions (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | language -> Text, [INFO] [stdout] ... | [INFO] [stdout] 7 | | question_type -> Text, [INFO] [stdout] | | ------------- `question_type` is not local [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_question_type` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.84s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: migrations_internals v1.4.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "007e10e683db63a7d184e9d1aff43385e351c596d81062663dfa4b0fcb7c4696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "007e10e683db63a7d184e9d1aff43385e351c596d81062663dfa4b0fcb7c4696", kill_on_drop: false }` [INFO] [stdout] 007e10e683db63a7d184e9d1aff43385e351c596d81062663dfa4b0fcb7c4696