[INFO] cloning repository https://github.com/jhunt/vault-of-cardboard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jhunt/vault-of-cardboard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhunt%2Fvault-of-cardboard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhunt%2Fvault-of-cardboard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2554cdf0c197ea63b93ce595f83b9ba3549d8b0d [INFO] linting jhunt/vault-of-cardboard against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhunt%2Fvault-of-cardboard" "/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/jhunt/vault-of-cardboard [INFO] finished tweaking git repo https://github.com/jhunt/vault-of-cardboard [INFO] tweaked toml for git repo https://github.com/jhunt/vault-of-cardboard written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jhunt/vault-of-cardboard on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jhunt/vault-of-cardboard 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded traitobject v0.1.1 [INFO] [stderr] Downloaded diesel_migrations v1.4.0 [INFO] [stderr] Downloaded router v0.6.0 [INFO] [stderr] Downloaded pq-sys v0.4.8 [INFO] [stderr] Downloaded bcrypt v0.17.0 [INFO] [stderr] Downloaded error-chain v0.12.4 [INFO] [stderr] Downloaded combine v3.8.1 [INFO] [stderr] Downloaded blowfish v0.9.1 [INFO] [stderr] Downloaded iron v0.6.1 [INFO] [stderr] Downloaded diesel_derives v1.4.1 [INFO] [stderr] Downloaded route-recognizer v0.1.13 [INFO] [stderr] Downloaded redis v0.13.0 [INFO] [stderr] Downloaded cc v1.2.30 [INFO] [stderr] Downloaded ascii v0.9.3 [INFO] [stderr] Downloaded migrations_macros v1.4.2 [INFO] [stderr] Downloaded migrations_internals v1.4.1 [INFO] [stderr] Downloaded diesel v1.4.8 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 629ab44db13faf40d03a3b9b154e7c13b011a8d1cddab52a8f7e753592a30a79 [INFO] running `Command { std: "docker" "start" "-a" "629ab44db13faf40d03a3b9b154e7c13b011a8d1cddab52a8f7e753592a30a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "629ab44db13faf40d03a3b9b154e7c13b011a8d1cddab52a8f7e753592a30a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "629ab44db13faf40d03a3b9b154e7c13b011a8d1cddab52a8f7e753592a30a79", kill_on_drop: false }` [INFO] [stdout] 629ab44db13faf40d03a3b9b154e7c13b011a8d1cddab52a8f7e753592a30a79 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86a3d06b59f79b54ab88146ce2fc213623f2ceb4612776e7cb39bed5d7ebecde [INFO] running `Command { std: "docker" "start" "-a" "86a3d06b59f79b54ab88146ce2fc213623f2ceb4612776e7cb39bed5d7ebecde", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking traitobject v0.1.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bcrypt v0.17.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking redis v0.13.0 [INFO] [stderr] Checking serde_json v1.0.141 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking vault-of-cardboard v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/api.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | error_chain! {} [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: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/card.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | error_chain! {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: 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: redundant field names in struct initialization [INFO] [stdout] --> src/card.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | Self { cards: cards } [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `cards` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/card.rs:595:17 [INFO] [stdout] | [INFO] [stdout] 595 | frame: frame, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `frame` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/card.rs:615:17 [INFO] [stdout] | [INFO] [stdout] 615 | flags: flags, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `flags` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/card.rs:622:17 [INFO] [stdout] | [INFO] [stdout] 622 | frame: frame, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `frame` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/card.rs:636:17 [INFO] [stdout] | [INFO] [stdout] 636 | flags: flags, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `flags` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/cdif.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 227 | quantity: quantity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `quantity` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/db.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | error_chain! {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: 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: redundant field names in struct initialization [INFO] [stdout] --> src/db.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | idle: idle, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `idle` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/db.rs:455:28 [INFO] [stdout] | [INFO] [stdout] 455 | Some(Session { id: id, attrs: lst }) [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/api.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | error_chain! {} [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: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/card.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | error_chain! {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: 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: redundant field names in struct initialization [INFO] [stdout] --> src/card.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | Self { cards: cards } [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `cards` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/card.rs:595:17 [INFO] [stdout] | [INFO] [stdout] 595 | frame: frame, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `frame` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/card.rs:615:17 [INFO] [stdout] | [INFO] [stdout] 615 | flags: flags, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `flags` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/card.rs:622:17 [INFO] [stdout] | [INFO] [stdout] 622 | frame: frame, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `frame` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/card.rs:636:17 [INFO] [stdout] | [INFO] [stdout] 636 | flags: flags, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `flags` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/cdif.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 227 | quantity: quantity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `quantity` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/cli/api.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/cli/reconciler.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | collection.merge(&card::Pile{ cards: cards }); [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `cards` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/db.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | error_chain! {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: 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: redundant field names in struct initialization [INFO] [stdout] --> src/db.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | idle: idle, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `idle` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/db.rs:455:28 [INFO] [stdout] | [INFO] [stdout] 455 | Some(Session { id: id, attrs: lst }) [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/db.rs:1269:51 [INFO] [stdout] | [INFO] [stdout] 1269 | dated: &NaiveDate::from_ymd(2020, 01, 14), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] = note: `#[warn(clippy::zero_prefixed_literal)]` on by default [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 1269 - dated: &NaiveDate::from_ymd(2020, 01, 14), [INFO] [stdout] 1269 + dated: &NaiveDate::from_ymd(2020, 1, 14), [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 1269 | dated: &NaiveDate::from_ymd(2020, 0o1, 14), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/db.rs:1282:57 [INFO] [stdout] | [INFO] [stdout] 1282 | assert_eq!(txn.dated, NaiveDate::from_ymd(2020, 01, 14)); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 1282 - assert_eq!(txn.dated, NaiveDate::from_ymd(2020, 01, 14)); [INFO] [stdout] 1282 + assert_eq!(txn.dated, NaiveDate::from_ymd(2020, 1, 14)); [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 1282 | assert_eq!(txn.dated, NaiveDate::from_ymd(2020, 0o1, 14)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/db.rs:1310:61 [INFO] [stdout] | [INFO] [stdout] 1310 | assert_eq!(updated.dated, NaiveDate::from_ymd(2020, 01, 14)); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 1310 - assert_eq!(updated.dated, NaiveDate::from_ymd(2020, 01, 14)); [INFO] [stdout] 1310 + assert_eq!(updated.dated, NaiveDate::from_ymd(2020, 1, 14)); [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 1310 | assert_eq!(updated.dated, NaiveDate::from_ymd(2020, 0o1, 14)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/cli/api.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/cli/reconciler.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | collection.merge(&card::Pile{ cards: cards }); [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `cards` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/db.rs:1269:36 [INFO] [stdout] | [INFO] [stdout] 1269 | dated: &NaiveDate::from_ymd(2020, 01, 14), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/db.rs:1282:42 [INFO] [stdout] | [INFO] [stdout] 1282 | assert_eq!(txn.dated, NaiveDate::from_ymd(2020, 01, 14)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/db.rs:1310:46 [INFO] [stdout] | [INFO] [stdout] 1310 | assert_eq!(updated.dated, NaiveDate::from_ymd(2020, 01, 14)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/api.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | Ok(self.db.get_file(rel).chain_err(|| "unable to get file")?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] = note: `#[warn(clippy::needless_question_mark)]` on by default [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 338 - Ok(self.db.get_file(rel).chain_err(|| "unable to get file")?) [INFO] [stdout] 338 + self.db.get_file(rel).chain_err(|| "unable to get file") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/api.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | / Ok(self [INFO] [stdout] 343 | | .db [INFO] [stdout] 344 | | .put_file(rel, from) [INFO] [stdout] 345 | | .chain_err(|| "unable to overwrite file")?) [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 342 ~ self [INFO] [stdout] 343 | .db [INFO] [stdout] 344 | .put_file(rel, from) [INFO] [stdout] 345 ~ .chain_err(|| "unable to overwrite file") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/api.rs:363:48 [INFO] [stdout] | [INFO] [stdout] 363 | Some(uid) => match Uuid::parse_str(&uid) { [INFO] [stdout] | ^^^^ help: change this to: `uid` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Collection` [INFO] [stdout] --> src/card.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / pub fn new() -> Self { [INFO] [stdout] 64 | | Collection { cards: vec![] } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 62 + impl Default for Collection { [INFO] [stdout] 63 + fn default() -> Self { [INFO] [stdout] 64 + Self::new() [INFO] [stdout] 65 + } [INFO] [stdout] 66 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Pool` [INFO] [stdout] --> src/card.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / pub fn new() -> Pool { [INFO] [stdout] 120 | | Pool { [INFO] [stdout] 121 | | sets: HashMap::new(), [INFO] [stdout] 122 | | cards: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 118 + impl Default for Pool { [INFO] [stdout] 119 + fn default() -> Self { [INFO] [stdout] 120 + Self::new() [INFO] [stdout] 121 + } [INFO] [stdout] 122 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to want to iterate on a map's values [INFO] [stdout] --> src/card.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | for (_, set) in &self.sets { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#for_kv_map [INFO] [stdout] = note: `#[warn(clippy::for_kv_map)]` on by default [INFO] [stdout] help: use the corresponding method [INFO] [stdout] | [INFO] [stdout] 139 - for (_, set) in &self.sets { [INFO] [stdout] 139 + for set in self.sets.values() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `to_string` applied to a type that implements `Display` in `format!` args [INFO] [stdout] --> src/card.rs:158:78 [INFO] [stdout] | [INFO] [stdout] 158 | .insert(format!("{} *{} {}", &code, card.collector_number.to_string(), oracle.name), card.id.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args [INFO] [stdout] = note: `#[warn(clippy::to_string_in_format_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `Option::map` [INFO] [stdout] --> src/card.rs:166:41 [INFO] [stdout] | [INFO] [stdout] 166 | Some(prices) => match &prices.usd { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 167 | | None => None, [INFO] [stdout] 168 | | Some(usd) => Some(usd.to_string()), [INFO] [stdout] 169 | | }, [INFO] [stdout] | |_________________________^ help: try: `prices.usd.as_ref().map(|usd| usd.to_string())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map [INFO] [stdout] = note: `#[warn(clippy::manual_map)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/card.rs:192:41 [INFO] [stdout] | [INFO] [stdout] 192 | cards: set.cards.iter().map(|c| PrintCard::from(c)).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `PrintCard::from` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/card.rs:536:5 [INFO] [stdout] | [INFO] [stdout] 536 | / match t { [INFO] [stdout] 537 | | Some(true) => true, [INFO] [stdout] 538 | | _ => false, [INFO] [stdout] 539 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 536 - match t { [INFO] [stdout] 537 - Some(true) => true, [INFO] [stdout] 538 - _ => false, [INFO] [stdout] 539 - } [INFO] [stdout] 536 + matches!(t, Some(true)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/cdif.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | s.push_str(&format!("{}", self.set)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `self.set.to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] = note: `#[warn(clippy::useless_format)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/cdif.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | if self.number.len() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!self.number.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_none()` [INFO] [stdout] --> src/cdif.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | if let None = a.lines.get(k) { [INFO] [stdout] | -------^^^^----------------- help: try: `if a.lines.get(k).is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] = note: `#[warn(clippy::redundant_pattern_matching)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/cdif.rs:270:40 [INFO] [stdout] | [INFO] [stdout] 270 | ... return Err(io::Error::new(io::ErrorKind::Other, "CDIF syntax error")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 270 - return Err(io::Error::new(io::ErrorKind::Other, "CDIF syntax error")) [INFO] [stdout] 270 + return Err(io::Error::other("CDIF syntax error")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / Ok(File::open( [INFO] [stdout] 64 | | pb.to_str() [INFO] [stdout] 65 | | .chain_err(|| "failed to construct a path for file retrieval")?, [INFO] [stdout] 66 | | ) [INFO] [stdout] 67 | | .chain_err(|| "failed to open file")?) [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 63 ~ File::open( [INFO] [stdout] 64 | pb.to_str() [INFO] [stdout] 65 | .chain_err(|| "failed to construct a path for file retrieval")?, [INFO] [stdout] 66 | ) [INFO] [stdout] 67 ~ .chain_err(|| "failed to open file") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | / Ok(self [INFO] [stdout] 395 | | .fs [INFO] [stdout] 396 | | .get_as_reader(rel) [INFO] [stdout] 397 | | .chain_err(|| "unable to retrieve file from filesystem")?) [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 394 ~ self [INFO] [stdout] 395 | .fs [INFO] [stdout] 396 | .get_as_reader(rel) [INFO] [stdout] 397 ~ .chain_err(|| "unable to retrieve file from filesystem") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | / Ok(self [INFO] [stdout] 402 | | .fs [INFO] [stdout] 403 | | .overwrite(rel, from) [INFO] [stdout] 404 | | .chain_err(|| "unable to store file into filesystem")?) [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 401 ~ self [INFO] [stdout] 402 | .fs [INFO] [stdout] 403 | .overwrite(rel, from) [INFO] [stdout] 404 ~ .chain_err(|| "unable to store file into filesystem") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `to_string` applied to a type that implements `Display` in `format!` args [INFO] [stdout] --> src/db.rs:517:54 [INFO] [stdout] | [INFO] [stdout] 517 | &format!("c/{}/_/collection.json", id.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/db.rs:538:38 [INFO] [stdout] | [INFO] [stdout] 538 | match bcrypt::verify(&password, &collector.password) { [INFO] [stdout] | ^^^^^^^^^ help: change this to: `password` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/db.rs:544:40 [INFO] [stdout] | [INFO] [stdout] 544 | let _ = bcrypt::verify(&password, ""); [INFO] [stdout] | ^^^^^^^^^ help: change this to: `password` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:573:9 [INFO] [stdout] | [INFO] [stdout] 573 | / Ok(diesel::update(obj) [INFO] [stdout] 574 | | .set(&upd) [INFO] [stdout] 575 | | .get_result(&self.pg) [INFO] [stdout] 576 | | .chain_err(|| "failed to update collector record in database")?) [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 573 ~ diesel::update(obj) [INFO] [stdout] 574 | .set(&upd) [INFO] [stdout] 575 | .get_result(&self.pg) [INFO] [stdout] 576 ~ .chain_err(|| "failed to update collector record in database") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | / Ok(transactions::dsl::transactions [INFO] [stdout] 596 | | .filter(transactions::dsl::collection.eq(cid)) [INFO] [stdout] 597 | | .get_results::(&self.pg) [INFO] [stdout] 598 | | .chain_err(|| "unable to retrieve transactions for collection uuid")?) [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 595 ~ transactions::dsl::transactions [INFO] [stdout] 596 | .filter(transactions::dsl::collection.eq(cid)) [INFO] [stdout] 597 | .get_results::(&self.pg) [INFO] [stdout] 598 ~ .chain_err(|| "unable to retrieve transactions for collection uuid") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/db.rs:619:44 [INFO] [stdout] | [INFO] [stdout] 619 | let gain = cdif::File::from_string(&new.gain) [INFO] [stdout] | ^^^^^^^^^ help: change this to: `new.gain` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/db.rs:621:44 [INFO] [stdout] | [INFO] [stdout] 621 | let loss = cdif::File::from_string(&new.loss) [INFO] [stdout] | ^^^^^^^^^ help: change this to: `new.loss` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/db.rs:669:52 [INFO] [stdout] | [INFO] [stdout] 669 | let cdif = cdif::File::from_string(&s) [INFO] [stdout] | ^^ help: change this to: `s` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/db.rs:684:52 [INFO] [stdout] | [INFO] [stdout] 684 | let cdif = cdif::File::from_string(&s) [INFO] [stdout] | ^^ help: change this to: `s` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `to_string` applied to a type that implements `Display` in `format!` args [INFO] [stdout] --> src/db.rs:750:54 [INFO] [stdout] | [INFO] [stdout] 750 | &format!("c/{}/_/collection.json", id.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:767:9 [INFO] [stdout] | [INFO] [stdout] 767 | / Ok(goals::dsl::goals [INFO] [stdout] 768 | | .filter(goals::dsl::collector.eq(uid)) [INFO] [stdout] 769 | | .get_results::(&self.pg) [INFO] [stdout] 770 | | .chain_err(|| "unable to retrieve goals for collector uuid")?) [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 767 ~ goals::dsl::goals [INFO] [stdout] 768 | .filter(goals::dsl::collector.eq(uid)) [INFO] [stdout] 769 | .get_results::(&self.pg) [INFO] [stdout] 770 ~ .chain_err(|| "unable to retrieve goals for collector uuid") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:791:9 [INFO] [stdout] | [INFO] [stdout] 791 | / Ok(diesel::insert_into(goals::table) [INFO] [stdout] 792 | | .values(( [INFO] [stdout] 793 | | &new, [INFO] [stdout] 794 | | goals::dsl::id.eq(id), [INFO] [stdout] ... | [INFO] [stdout] 798 | | .get_result(&self.pg) [INFO] [stdout] 799 | | .chain_err(|| "failed to insert goal record into database")?) [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 791 ~ diesel::insert_into(goals::table) [INFO] [stdout] 792 | .values(( [INFO] [stdout] ... [INFO] [stdout] 798 | .get_result(&self.pg) [INFO] [stdout] 799 ~ .chain_err(|| "failed to insert goal record into database") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | / Ok(diesel::update(obj) [INFO] [stdout] 804 | | .set((&upd, goals::dsl::updated_at.eq(Utc::now()))) [INFO] [stdout] 805 | | .get_result(&self.pg) [INFO] [stdout] 806 | | .chain_err(|| "failed to update goal record in database")?) [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 803 ~ diesel::update(obj) [INFO] [stdout] 804 | .set((&upd, goals::dsl::updated_at.eq(Utc::now()))) [INFO] [stdout] 805 | .get_result(&self.pg) [INFO] [stdout] 806 ~ .chain_err(|| "failed to update goal record in database") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:817:9 [INFO] [stdout] | [INFO] [stdout] 817 | / Ok(decks::dsl::decks [INFO] [stdout] 818 | | .filter(decks::dsl::collector.eq(uid)) [INFO] [stdout] 819 | | .get_results::(&self.pg) [INFO] [stdout] 820 | | .chain_err(|| "unable to retrieve decks for collector uuid")?) [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 817 ~ decks::dsl::decks [INFO] [stdout] 818 | .filter(decks::dsl::collector.eq(uid)) [INFO] [stdout] 819 | .get_results::(&self.pg) [INFO] [stdout] 820 ~ .chain_err(|| "unable to retrieve decks for collector uuid") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:841:9 [INFO] [stdout] | [INFO] [stdout] 841 | / Ok(diesel::insert_into(decks::table) [INFO] [stdout] 842 | | .values(( [INFO] [stdout] 843 | | &new, [INFO] [stdout] 844 | | decks::dsl::id.eq(id), [INFO] [stdout] ... | [INFO] [stdout] 850 | | .get_result(&self.pg) [INFO] [stdout] 851 | | .chain_err(|| "failed to insert deck record into database")?) [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 841 ~ diesel::insert_into(decks::table) [INFO] [stdout] 842 | .values(( [INFO] [stdout] ... [INFO] [stdout] 850 | .get_result(&self.pg) [INFO] [stdout] 851 ~ .chain_err(|| "failed to insert deck record into database") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:855:9 [INFO] [stdout] | [INFO] [stdout] 855 | / Ok(diesel::update(obj) [INFO] [stdout] 856 | | .set((&upd, decks::dsl::updated_at.eq(Utc::now()))) [INFO] [stdout] 857 | | .get_result(&self.pg) [INFO] [stdout] 858 | | .chain_err(|| "failed to update deck record in database")?) [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 855 ~ diesel::update(obj) [INFO] [stdout] 856 | .set((&upd, decks::dsl::updated_at.eq(Utc::now()))) [INFO] [stdout] 857 | .get_result(&self.pg) [INFO] [stdout] 858 ~ .chain_err(|| "failed to update deck record in database") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/scryfall.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | Some(s) => match s.as_ref() { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 32 | | "legal" => true, [INFO] [stdout] 33 | | _ => false, [INFO] [stdout] 34 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 31 - Some(s) => match s.as_ref() { [INFO] [stdout] 32 - "legal" => true, [INFO] [stdout] 33 - _ => false, [INFO] [stdout] 34 - }, [INFO] [stdout] 31 + Some(s) => matches!(s.as_ref(), "legal"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/api.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | Ok(self.db.get_file(rel).chain_err(|| "unable to get file")?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] = note: `#[warn(clippy::needless_question_mark)]` on by default [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 338 - Ok(self.db.get_file(rel).chain_err(|| "unable to get file")?) [INFO] [stdout] 338 + self.db.get_file(rel).chain_err(|| "unable to get file") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/api.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | / Ok(self [INFO] [stdout] 343 | | .db [INFO] [stdout] 344 | | .put_file(rel, from) [INFO] [stdout] 345 | | .chain_err(|| "unable to overwrite file")?) [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 342 ~ self [INFO] [stdout] 343 | .db [INFO] [stdout] 344 | .put_file(rel, from) [INFO] [stdout] 345 ~ .chain_err(|| "unable to overwrite file") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/api.rs:363:48 [INFO] [stdout] | [INFO] [stdout] 363 | Some(uid) => match Uuid::parse_str(&uid) { [INFO] [stdout] | ^^^^ help: change this to: `uid` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Collection` [INFO] [stdout] --> src/card.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / pub fn new() -> Self { [INFO] [stdout] 64 | | Collection { cards: vec![] } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 62 + impl Default for Collection { [INFO] [stdout] 63 + fn default() -> Self { [INFO] [stdout] 64 + Self::new() [INFO] [stdout] 65 + } [INFO] [stdout] 66 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cli/api.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | &Path::new(&env::var("VCB_FS_ROOT").expect("VCB_FS_ROOT must be set in environment")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `Path::new(&env::var("VCB_FS_ROOT").expect("VCB_FS_ROOT must be set in environment"))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `Option::map` [INFO] [stdout] --> src/cli/api.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / match r.headers.get::>() { [INFO] [stdout] 40 | | Some(v) => Some(v.username.to_string()), [INFO] [stdout] 41 | | None => None, [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ help: try: `r.headers.get::>().map(|v| v.username.to_string())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `Option::map` [INFO] [stdout] --> src/cli/api.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | Some(params) => match params.find(name) { [INFO] [stdout] | _________________________^ [INFO] [stdout] 49 | | None => None, [INFO] [stdout] 50 | | Some(v) => Some(v.to_string()), [INFO] [stdout] 51 | | }, [INFO] [stdout] | |_________^ help: try: `params.find(name).map(|v| v.to_string())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Pool` [INFO] [stdout] --> src/card.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / pub fn new() -> Pool { [INFO] [stdout] 120 | | Pool { [INFO] [stdout] 121 | | sets: HashMap::new(), [INFO] [stdout] 122 | | cards: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 118 + impl Default for Pool { [INFO] [stdout] 119 + fn default() -> Self { [INFO] [stdout] 120 + Self::new() [INFO] [stdout] 121 + } [INFO] [stdout] 122 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function call inside of `expect` [INFO] [stdout] --> src/cli/api.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 149 | let _ = &env::var(v).expect(&format!("{} must be set in the environment", v).to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_else(|_| panic!("{}", format!("{} must be set in the environment", v).to_string()))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stdout] = note: `#[warn(clippy::expect_fun_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to want to iterate on a map's values [INFO] [stdout] --> src/card.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | for (_, set) in &self.sets { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#for_kv_map [INFO] [stdout] = note: `#[warn(clippy::for_kv_map)]` on by default [INFO] [stdout] help: use the corresponding method [INFO] [stdout] | [INFO] [stdout] 139 - for (_, set) in &self.sets { [INFO] [stdout] 139 + for set in self.sets.values() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `to_string` applied to a type that implements `Display` in `format!` args [INFO] [stdout] --> src/card.rs:158:78 [INFO] [stdout] | [INFO] [stdout] 158 | .insert(format!("{} *{} {}", &code, card.collector_number.to_string(), oracle.name), card.id.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args [INFO] [stdout] = note: `#[warn(clippy::to_string_in_format_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `Option::map` [INFO] [stdout] --> src/card.rs:166:41 [INFO] [stdout] | [INFO] [stdout] 166 | Some(prices) => match &prices.usd { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 167 | | None => None, [INFO] [stdout] 168 | | Some(usd) => Some(usd.to_string()), [INFO] [stdout] 169 | | }, [INFO] [stdout] | |_________________________^ help: try: `prices.usd.as_ref().map(|usd| usd.to_string())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map [INFO] [stdout] = note: `#[warn(clippy::manual_map)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/card.rs:192:41 [INFO] [stdout] | [INFO] [stdout] 192 | cards: set.cards.iter().map(|c| PrintCard::from(c)).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `PrintCard::from` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/card.rs:536:5 [INFO] [stdout] | [INFO] [stdout] 536 | / match t { [INFO] [stdout] 537 | | Some(true) => true, [INFO] [stdout] 538 | | _ => false, [INFO] [stdout] 539 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 536 - match t { [INFO] [stdout] 537 - Some(true) => true, [INFO] [stdout] 538 - _ => false, [INFO] [stdout] 539 - } [INFO] [stdout] 536 + matches!(t, Some(true)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match can be simplified with `.unwrap_or_default()` [INFO] [stdout] --> src/card.rs:963:22 [INFO] [stdout] | [INFO] [stdout] 963 | var: match var { [INFO] [stdout] | ______________________^ [INFO] [stdout] 964 | | Some(v) => v, [INFO] [stdout] 965 | | None => vec![], [INFO] [stdout] 966 | | }, [INFO] [stdout] | |_________________^ help: replace it with: `var.unwrap_or_default()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default [INFO] [stdout] = note: `#[warn(clippy::manual_unwrap_or_default)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/cdif.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | s.push_str(&format!("{}", self.set)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `self.set.to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] = note: `#[warn(clippy::useless_format)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/cdif.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | if self.number.len() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!self.number.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_none()` [INFO] [stdout] --> src/cdif.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | if let None = a.lines.get(k) { [INFO] [stdout] | -------^^^^----------------- help: try: `if a.lines.get(k).is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] = note: `#[warn(clippy::redundant_pattern_matching)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/cdif.rs:270:40 [INFO] [stdout] | [INFO] [stdout] 270 | ... return Err(io::Error::new(io::ErrorKind::Other, "CDIF syntax error")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 270 - return Err(io::Error::new(io::ErrorKind::Other, "CDIF syntax error")) [INFO] [stdout] 270 + return Err(io::Error::other("CDIF syntax error")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/cli/passwd.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | match bcrypt::verify(&password, &target) { [INFO] [stdout] | ^^^^^^^^^ help: change this to: `password` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cli/passwd.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | match bcrypt::verify(&password, &target) { [INFO] [stdout] | ^^^^^^^ help: change this to: `target` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this pattern reimplements `Option::unwrap_or` [INFO] [stdout] --> src/cli/rescry.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let raw = match raw { [INFO] [stdout] | _______________^ [INFO] [stdout] 10 | | Some(v) => v, [INFO] [stdout] 11 | | None => "data/cache", [INFO] [stdout] 12 | | }; [INFO] [stdout] | |_____^ help: replace with: `raw.unwrap_or("data/cache")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or [INFO] [stdout] = note: `#[warn(clippy::manual_unwrap_or)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this pattern reimplements `Option::unwrap_or` [INFO] [stdout] --> src/cli/rescry.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let cards_json = match cards_json { [INFO] [stdout] | ______________________^ [INFO] [stdout] 15 | | Some(v) => v, [INFO] [stdout] 16 | | None => "cards.json", [INFO] [stdout] 17 | | }; [INFO] [stdout] | |_____^ help: replace with: `cards_json.unwrap_or("cards.json")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this pattern reimplements `Option::unwrap_or` [INFO] [stdout] --> src/cli/rescry.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | let prices_json = match prices_json { [INFO] [stdout] | _______________________^ [INFO] [stdout] 27 | | Some(v) => v, [INFO] [stdout] 28 | | None => "prices.json", [INFO] [stdout] 29 | | }; [INFO] [stdout] | |_____^ help: replace with: `prices_json.unwrap_or("prices.json")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this pattern reimplements `Option::unwrap_or` [INFO] [stdout] --> src/cli/rescry.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | let lookup_json = match lookup_json { [INFO] [stdout] | _______________________^ [INFO] [stdout] 39 | | Some(v) => v, [INFO] [stdout] 40 | | None => "lookup.json", [INFO] [stdout] 41 | | }; [INFO] [stdout] | |_____^ help: replace with: `lookup_json.unwrap_or("lookup.json")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/card.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | None => panic!(format!("unable to find {} {}", line.set, line.oracle)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 39 - None => panic!(format!("unable to find {} {}", line.set, line.oracle)), [INFO] [stdout] 39 + None => panic!("unable to find {} {}", line.set, line.oracle), [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/db.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_collector` [INFO] [stdout] 122 | pub struct Collector { [INFO] [stdout] | --------- `Collector` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_collector` [INFO] [stdout] 122 | pub struct Collector { [INFO] [stdout] | --------- `Collector` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_collector` [INFO] [stdout] 122 | pub struct Collector { [INFO] [stdout] | --------- `Collector` 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.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[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_newcollector` [INFO] [stdout] 130 | #[table_name = "collectors"] [INFO] [stdout] 131 | pub struct NewCollector<'a> { [INFO] [stdout] | ------------ `NewCollector` 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.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[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_newcollector` [INFO] [stdout] 130 | #[table_name = "collectors"] [INFO] [stdout] 131 | pub struct NewCollector<'a> { [INFO] [stdout] | ------------ `NewCollector` 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.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[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_newcollector` [INFO] [stdout] 130 | #[table_name = "collectors"] [INFO] [stdout] 131 | pub struct NewCollector<'a> { [INFO] [stdout] | ------------ `NewCollector` 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.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_collectorupdate` [INFO] [stdout] 137 | #[table_name = "collectors"] [INFO] [stdout] 138 | pub struct CollectorUpdate<'a> { [INFO] [stdout] | --------------- `CollectorUpdate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(AsChangeset)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_collectorupdate` [INFO] [stdout] 137 | #[table_name = "collectors"] [INFO] [stdout] 138 | pub struct CollectorUpdate<'a> { [INFO] [stdout] | --------------- `CollectorUpdate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | #[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_collection` [INFO] [stdout] 145 | pub struct Collection { [INFO] [stdout] | ---------- `Collection` 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.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[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_newcollection` [INFO] [stdout] 151 | #[table_name = "collections"] [INFO] [stdout] 152 | pub struct NewCollection { [INFO] [stdout] | ------------- `NewCollection` 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.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[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_newcollection` [INFO] [stdout] 151 | #[table_name = "collections"] [INFO] [stdout] 152 | pub struct NewCollection { [INFO] [stdout] | ------------- `NewCollection` 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.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[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_newcollection` [INFO] [stdout] 151 | #[table_name = "collections"] [INFO] [stdout] 152 | pub struct NewCollection { [INFO] [stdout] | ------------- `NewCollection` 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.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_transaction` [INFO] [stdout] 158 | pub struct Transaction { [INFO] [stdout] | ----------- `Transaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_transaction` [INFO] [stdout] 158 | pub struct Transaction { [INFO] [stdout] | ----------- `Transaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_transaction` [INFO] [stdout] 158 | pub struct Transaction { [INFO] [stdout] | ----------- `Transaction` 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.rs:218:10 [INFO] [stdout] | [INFO] [stdout] 218 | #[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_newtransaction` [INFO] [stdout] 219 | #[table_name = "transactions"] [INFO] [stdout] 220 | pub struct NewTransaction<'a> { [INFO] [stdout] | -------------- `NewTransaction` 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.rs:218:10 [INFO] [stdout] | [INFO] [stdout] 218 | #[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_newtransaction` [INFO] [stdout] 219 | #[table_name = "transactions"] [INFO] [stdout] 220 | pub struct NewTransaction<'a> { [INFO] [stdout] | -------------- `NewTransaction` 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.rs:218:10 [INFO] [stdout] | [INFO] [stdout] 218 | #[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_newtransaction` [INFO] [stdout] 219 | #[table_name = "transactions"] [INFO] [stdout] 220 | pub struct NewTransaction<'a> { [INFO] [stdout] | -------------- `NewTransaction` 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.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | #[derive(AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updatetransaction` [INFO] [stdout] 232 | #[table_name = "transactions"] [INFO] [stdout] 233 | pub struct UpdateTransaction { [INFO] [stdout] | ----------------- `UpdateTransaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | #[derive(AsChangeset)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updatetransaction` [INFO] [stdout] 232 | #[table_name = "transactions"] [INFO] [stdout] 233 | pub struct UpdateTransaction { [INFO] [stdout] | ----------------- `UpdateTransaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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.rs:243:10 [INFO] [stdout] | [INFO] [stdout] 243 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_goal` [INFO] [stdout] 244 | pub struct Goal { [INFO] [stdout] | ---- `Goal` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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.rs:243:10 [INFO] [stdout] | [INFO] [stdout] 243 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_goal` [INFO] [stdout] 244 | pub struct Goal { [INFO] [stdout] | ---- `Goal` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_goal` [INFO] [stdout] 244 | pub struct Goal { [INFO] [stdout] | ---- `Goal` 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.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 257 | #[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_newgoal` [INFO] [stdout] 258 | #[table_name = "goals"] [INFO] [stdout] 259 | pub struct NewGoal<'a> { [INFO] [stdout] | ------- `NewGoal` 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.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 257 | #[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_newgoal` [INFO] [stdout] 258 | #[table_name = "goals"] [INFO] [stdout] 259 | pub struct NewGoal<'a> { [INFO] [stdout] | ------- `NewGoal` 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.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 257 | #[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_newgoal` [INFO] [stdout] 258 | #[table_name = "goals"] [INFO] [stdout] 259 | pub struct NewGoal<'a> { [INFO] [stdout] | ------- `NewGoal` 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.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | #[derive(AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updategoal` [INFO] [stdout] 270 | #[table_name = "goals"] [INFO] [stdout] 271 | pub struct UpdateGoal { [INFO] [stdout] | ---------- `UpdateGoal` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | #[derive(AsChangeset)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updategoal` [INFO] [stdout] 270 | #[table_name = "goals"] [INFO] [stdout] 271 | pub struct UpdateGoal { [INFO] [stdout] | ---------- `UpdateGoal` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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.rs:280:10 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_deck` [INFO] [stdout] 281 | pub struct Deck { [INFO] [stdout] | ---- `Deck` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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.rs:280:10 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_deck` [INFO] [stdout] 281 | pub struct Deck { [INFO] [stdout] | ---- `Deck` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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.rs:280:24 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_deck` [INFO] [stdout] 281 | pub struct Deck { [INFO] [stdout] | ---- `Deck` 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.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 296 | #[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_newdeck` [INFO] [stdout] 297 | #[table_name = "decks"] [INFO] [stdout] 298 | pub struct NewDeck<'a> { [INFO] [stdout] | ------- `NewDeck` 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.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 296 | #[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_newdeck` [INFO] [stdout] 297 | #[table_name = "decks"] [INFO] [stdout] 298 | pub struct NewDeck<'a> { [INFO] [stdout] | ------- `NewDeck` 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.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 296 | #[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_newdeck` [INFO] [stdout] 297 | #[table_name = "decks"] [INFO] [stdout] 298 | pub struct NewDeck<'a> { [INFO] [stdout] | ------- `NewDeck` 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.rs:308:10 [INFO] [stdout] | [INFO] [stdout] 308 | #[derive(AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updatedeck` [INFO] [stdout] 309 | #[table_name = "decks"] [INFO] [stdout] 310 | pub struct UpdateDeck { [INFO] [stdout] | ---------- `UpdateDeck` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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.rs:308:10 [INFO] [stdout] | [INFO] [stdout] 308 | #[derive(AsChangeset)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updatedeck` [INFO] [stdout] 309 | #[table_name = "decks"] [INFO] [stdout] 310 | pub struct UpdateDeck { [INFO] [stdout] | ---------- `UpdateDeck` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | collections (id) { [INFO] [stdout] 3 | | id -> Uuid, [INFO] [stdout] 4 | | collector -> Uuid, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | collections (id) { [INFO] [stdout] 3 | | id -> Uuid, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | collector -> Uuid, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | collections (id) { [INFO] [stdout] 3 | | id -> Uuid, [INFO] [stdout] 4 | | collector -> Uuid, [INFO] [stdout] | | --------- `collector` is not local [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_collector` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | collectors (id) { [INFO] [stdout] 10 | | id -> Uuid, [INFO] [stdout] 11 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | collectors (id) { [INFO] [stdout] 10 | | id -> Uuid, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 11 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | collectors (id) { [INFO] [stdout] 10 | | id -> Uuid, [INFO] [stdout] 11 | | username -> Varchar, [INFO] [stdout] | | -------- `username` is not local [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_username` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | collectors (id) { [INFO] [stdout] 10 | | id -> Uuid, [INFO] [stdout] 11 | | username -> Varchar, [INFO] [stdout] 12 | | email -> Varchar, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | collectors (id) { [INFO] [stdout] 10 | | id -> Uuid, [INFO] [stdout] 11 | | username -> Varchar, [INFO] [stdout] 12 | | email -> Varchar, [INFO] [stdout] 13 | | password -> Varchar, [INFO] [stdout] | | -------- `password` is not local [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [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/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [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/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 20 | | collector -> Uuid, [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_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] | | --------- `collector` 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_collector` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] 21 | | title -> Varchar, [INFO] [stdout] | | ----- `title` 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_title` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] 21 | | title -> Varchar, [INFO] [stdout] 22 | | code -> Varchar, [INFO] [stdout] | | ---- `code` 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_code` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 23 | | description -> Text, [INFO] [stdout] | | ----------- `description` 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_description` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 24 | | main -> Text, [INFO] [stdout] | | ---- `main` 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_main` [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: this boolean expression can be simplified [INFO] [stdout] --> src/cdif.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | assert!(!Line::parse("1 DOM Opt | (").is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Line::parse("1 DOM Opt | (").is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/cdif.rs:617:17 [INFO] [stdout] | [INFO] [stdout] 617 | assert!(!Line::parse("1 DOM Opt | (test").is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Line::parse("1 DOM Opt | (test").is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/cdif.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | assert!(!Line::parse("1 DOM Opt | (test:").is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Line::parse("1 DOM Opt | (test:").is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/cdif.rs:619:17 [INFO] [stdout] | [INFO] [stdout] 619 | assert!(!Line::parse("1 DOM Opt | (test: ").is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Line::parse("1 DOM Opt | (test: ").is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 25 | | side -> Text, [INFO] [stdout] | | ---- `side` 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_side` [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: this boolean expression can be simplified [INFO] [stdout] --> src/cdif.rs:620:17 [INFO] [stdout] | [INFO] [stdout] 620 | assert!(!Line::parse("1 DOM Opt | (test: foo").is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Line::parse("1 DOM Opt | (test: foo").is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/cdif.rs:625:17 [INFO] [stdout] | [INFO] [stdout] 625 | assert!(!Line::parse("1xx DOM Opt").is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Line::parse("1xx DOM Opt").is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/cdif.rs:626:17 [INFO] [stdout] | [INFO] [stdout] 626 | assert!(!Line::parse("1x DOM Opt ||").is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Line::parse("1x DOM Opt ||").is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/cdif.rs:627:17 [INFO] [stdout] | [INFO] [stdout] 627 | assert!(!Line::parse("1x DOM Opt | NM ((test:signed))").is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Line::parse("1x DOM Opt | NM ((test:signed))").is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/cdif.rs:628:17 [INFO] [stdout] | [INFO] [stdout] 628 | assert!(!Line::parse("1x DOM Opt | NM (test:signed))").is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Line::parse("1x DOM Opt | NM (test:signed))").is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 26 | | maybe -> Text, [INFO] [stdout] | | ----- `maybe` 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_maybe` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 27 | | lineage -> Uuid, [INFO] [stdout] | | ------- `lineage` 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_lineage` [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: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cdif.rs:649:38 [INFO] [stdout] | [INFO] [stdout] 649 | let file = File::from_string(&test_dot_cdif).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: change this to: `test_dot_cdif` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 28 | | ordinal -> Int4, [INFO] [stdout] | | ------- `ordinal` 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_ordinal` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 29 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` 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_created_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 30 | | updated_at -> Timestamptz, [INFO] [stdout] | | ---------- `updated_at` 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_updated_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] | | --------- `collector` is not local [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_collector` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] 38 | | name -> Text, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [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/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] 38 | | name -> Text, [INFO] [stdout] 39 | | ordinal -> Int4, [INFO] [stdout] | | ------- `ordinal` is not local [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_ordinal` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 40 | | target -> Text, [INFO] [stdout] | | ------ `target` is not local [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_target` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 41 | | goal -> Text, [INFO] [stdout] | | ---- `goal` is not local [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_goal` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 42 | | total -> Nullable, [INFO] [stdout] | | ----- `total` is not local [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_total` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 43 | | progress -> Nullable, [INFO] [stdout] | | -------- `progress` is not local [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_progress` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 44 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 45 | | updated_at -> Timestamptz, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [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: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cdif.rs:679:38 [INFO] [stdout] | [INFO] [stdout] 679 | let file = File::from_string(&bad_dot_cdif); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `bad_dot_cdif` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] | | ---------- `collection` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_collection` [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: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cdif.rs:692:38 [INFO] [stdout] | [INFO] [stdout] 692 | let file = File::from_string(&test_dot_cdif).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: change this to: `test_dot_cdif` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] 53 | | dated -> Date, [INFO] [stdout] | | ----- `dated` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_dated` [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: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cdif.rs:721:35 [INFO] [stdout] | [INFO] [stdout] 721 | let a = File::from_string(&a_dot_cdif).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `a_dot_cdif` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cdif.rs:722:35 [INFO] [stdout] | [INFO] [stdout] 722 | let b = File::from_string(&b_dot_cdif).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `b_dot_cdif` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] 53 | | dated -> Date, [INFO] [stdout] 54 | | summary -> Text, [INFO] [stdout] | | ------- `summary` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_summary` [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: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cdif.rs:749:35 [INFO] [stdout] | [INFO] [stdout] 749 | let a = File::from_string(&a_dot_cdif).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `a_dot_cdif` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cdif.rs:750:35 [INFO] [stdout] | [INFO] [stdout] 750 | let b = File::from_string(&b_dot_cdif).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `b_dot_cdif` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 55 | | notes -> Text, [INFO] [stdout] | | ----- `notes` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_notes` [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: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cdif.rs:776:35 [INFO] [stdout] | [INFO] [stdout] 776 | let a = File::from_string(&a_dot_cdif).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `a_dot_cdif` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cdif.rs:777:35 [INFO] [stdout] | [INFO] [stdout] 777 | let b = File::from_string(&b_dot_cdif).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `b_dot_cdif` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 56 | | disposition -> Varchar, [INFO] [stdout] | | ----------- `disposition` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_disposition` [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: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cdif.rs:804:35 [INFO] [stdout] | [INFO] [stdout] 804 | let a = File::from_string(&a_dot_cdif).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `a_dot_cdif` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cdif.rs:805:35 [INFO] [stdout] | [INFO] [stdout] 805 | let b = File::from_string(&b_dot_cdif).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `b_dot_cdif` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 57 | | gain -> Text, [INFO] [stdout] | | ---- `gain` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_gain` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 58 | | loss -> Text, [INFO] [stdout] | | ---- `loss` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_loss` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 59 | | metadata -> Jsonb, [INFO] [stdout] | | -------- `metadata` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_metadata` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 60 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [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: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cdif.rs:833:35 [INFO] [stdout] | [INFO] [stdout] 833 | let a = File::from_string(&a_dot_cdif).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `a_dot_cdif` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cdif.rs:834:35 [INFO] [stdout] | [INFO] [stdout] 834 | let b = File::from_string(&b_dot_cdif).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `b_dot_cdif` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/cdif.rs:843:17 [INFO] [stdout] | [INFO] [stdout] 843 | removed = removed + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `removed += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] = note: `#[warn(clippy::assign_op_pattern)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/cdif.rs:849:17 [INFO] [stdout] | [INFO] [stdout] 849 | added = added + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `added += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 61 | | updated_at -> Timestamptz, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 62 | | paid -> Nullable, [INFO] [stdout] | | ---- `paid` is not local [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_paid` [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: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / Ok(File::open( [INFO] [stdout] 64 | | pb.to_str() [INFO] [stdout] 65 | | .chain_err(|| "failed to construct a path for file retrieval")?, [INFO] [stdout] 66 | | ) [INFO] [stdout] 67 | | .chain_err(|| "failed to open file")?) [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 63 ~ File::open( [INFO] [stdout] 64 | pb.to_str() [INFO] [stdout] 65 | .chain_err(|| "failed to construct a path for file retrieval")?, [INFO] [stdout] 66 | ) [INFO] [stdout] 67 ~ .chain_err(|| "failed to open file") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | / Ok(self [INFO] [stdout] 395 | | .fs [INFO] [stdout] 396 | | .get_as_reader(rel) [INFO] [stdout] 397 | | .chain_err(|| "unable to retrieve file from filesystem")?) [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 394 ~ self [INFO] [stdout] 395 | .fs [INFO] [stdout] 396 | .get_as_reader(rel) [INFO] [stdout] 397 ~ .chain_err(|| "unable to retrieve file from filesystem") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | / Ok(self [INFO] [stdout] 402 | | .fs [INFO] [stdout] 403 | | .overwrite(rel, from) [INFO] [stdout] 404 | | .chain_err(|| "unable to store file into filesystem")?) [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 401 ~ self [INFO] [stdout] 402 | .fs [INFO] [stdout] 403 | .overwrite(rel, from) [INFO] [stdout] 404 ~ .chain_err(|| "unable to store file into filesystem") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `to_string` applied to a type that implements `Display` in `format!` args [INFO] [stdout] --> src/db.rs:517:54 [INFO] [stdout] | [INFO] [stdout] 517 | &format!("c/{}/_/collection.json", id.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/db.rs:538:38 [INFO] [stdout] | [INFO] [stdout] 538 | match bcrypt::verify(&password, &collector.password) { [INFO] [stdout] | ^^^^^^^^^ help: change this to: `password` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/db.rs:544:40 [INFO] [stdout] | [INFO] [stdout] 544 | let _ = bcrypt::verify(&password, ""); [INFO] [stdout] | ^^^^^^^^^ help: change this to: `password` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:573:9 [INFO] [stdout] | [INFO] [stdout] 573 | / Ok(diesel::update(obj) [INFO] [stdout] 574 | | .set(&upd) [INFO] [stdout] 575 | | .get_result(&self.pg) [INFO] [stdout] 576 | | .chain_err(|| "failed to update collector record in database")?) [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 573 ~ diesel::update(obj) [INFO] [stdout] 574 | .set(&upd) [INFO] [stdout] 575 | .get_result(&self.pg) [INFO] [stdout] 576 ~ .chain_err(|| "failed to update collector record in database") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | / Ok(transactions::dsl::transactions [INFO] [stdout] 596 | | .filter(transactions::dsl::collection.eq(cid)) [INFO] [stdout] 597 | | .get_results::(&self.pg) [INFO] [stdout] 598 | | .chain_err(|| "unable to retrieve transactions for collection uuid")?) [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 595 ~ transactions::dsl::transactions [INFO] [stdout] 596 | .filter(transactions::dsl::collection.eq(cid)) [INFO] [stdout] 597 | .get_results::(&self.pg) [INFO] [stdout] 598 ~ .chain_err(|| "unable to retrieve transactions for collection uuid") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/db.rs:619:44 [INFO] [stdout] | [INFO] [stdout] 619 | let gain = cdif::File::from_string(&new.gain) [INFO] [stdout] | ^^^^^^^^^ help: change this to: `new.gain` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/db.rs:621:44 [INFO] [stdout] | [INFO] [stdout] 621 | let loss = cdif::File::from_string(&new.loss) [INFO] [stdout] | ^^^^^^^^^ help: change this to: `new.loss` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/db.rs:669:52 [INFO] [stdout] | [INFO] [stdout] 669 | let cdif = cdif::File::from_string(&s) [INFO] [stdout] | ^^ help: change this to: `s` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/db.rs:684:52 [INFO] [stdout] | [INFO] [stdout] 684 | let cdif = cdif::File::from_string(&s) [INFO] [stdout] | ^^ help: change this to: `s` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `to_string` applied to a type that implements `Display` in `format!` args [INFO] [stdout] --> src/db.rs:750:54 [INFO] [stdout] | [INFO] [stdout] 750 | &format!("c/{}/_/collection.json", id.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:767:9 [INFO] [stdout] | [INFO] [stdout] 767 | / Ok(goals::dsl::goals [INFO] [stdout] 768 | | .filter(goals::dsl::collector.eq(uid)) [INFO] [stdout] 769 | | .get_results::(&self.pg) [INFO] [stdout] 770 | | .chain_err(|| "unable to retrieve goals for collector uuid")?) [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 767 ~ goals::dsl::goals [INFO] [stdout] 768 | .filter(goals::dsl::collector.eq(uid)) [INFO] [stdout] 769 | .get_results::(&self.pg) [INFO] [stdout] 770 ~ .chain_err(|| "unable to retrieve goals for collector uuid") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:791:9 [INFO] [stdout] | [INFO] [stdout] 791 | / Ok(diesel::insert_into(goals::table) [INFO] [stdout] 792 | | .values(( [INFO] [stdout] 793 | | &new, [INFO] [stdout] 794 | | goals::dsl::id.eq(id), [INFO] [stdout] ... | [INFO] [stdout] 798 | | .get_result(&self.pg) [INFO] [stdout] 799 | | .chain_err(|| "failed to insert goal record into database")?) [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 791 ~ diesel::insert_into(goals::table) [INFO] [stdout] 792 | .values(( [INFO] [stdout] ... [INFO] [stdout] 798 | .get_result(&self.pg) [INFO] [stdout] 799 ~ .chain_err(|| "failed to insert goal record into database") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | / Ok(diesel::update(obj) [INFO] [stdout] 804 | | .set((&upd, goals::dsl::updated_at.eq(Utc::now()))) [INFO] [stdout] 805 | | .get_result(&self.pg) [INFO] [stdout] 806 | | .chain_err(|| "failed to update goal record in database")?) [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 803 ~ diesel::update(obj) [INFO] [stdout] 804 | .set((&upd, goals::dsl::updated_at.eq(Utc::now()))) [INFO] [stdout] 805 | .get_result(&self.pg) [INFO] [stdout] 806 ~ .chain_err(|| "failed to update goal record in database") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:817:9 [INFO] [stdout] | [INFO] [stdout] 817 | / Ok(decks::dsl::decks [INFO] [stdout] 818 | | .filter(decks::dsl::collector.eq(uid)) [INFO] [stdout] 819 | | .get_results::(&self.pg) [INFO] [stdout] 820 | | .chain_err(|| "unable to retrieve decks for collector uuid")?) [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 817 ~ decks::dsl::decks [INFO] [stdout] 818 | .filter(decks::dsl::collector.eq(uid)) [INFO] [stdout] 819 | .get_results::(&self.pg) [INFO] [stdout] 820 ~ .chain_err(|| "unable to retrieve decks for collector uuid") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:841:9 [INFO] [stdout] | [INFO] [stdout] 841 | / Ok(diesel::insert_into(decks::table) [INFO] [stdout] 842 | | .values(( [INFO] [stdout] 843 | | &new, [INFO] [stdout] 844 | | decks::dsl::id.eq(id), [INFO] [stdout] ... | [INFO] [stdout] 850 | | .get_result(&self.pg) [INFO] [stdout] 851 | | .chain_err(|| "failed to insert deck record into database")?) [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 841 ~ diesel::insert_into(decks::table) [INFO] [stdout] 842 | .values(( [INFO] [stdout] ... [INFO] [stdout] 850 | .get_result(&self.pg) [INFO] [stdout] 851 ~ .chain_err(|| "failed to insert deck record into database") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/db.rs:855:9 [INFO] [stdout] | [INFO] [stdout] 855 | / Ok(diesel::update(obj) [INFO] [stdout] 856 | | .set((&upd, decks::dsl::updated_at.eq(Utc::now()))) [INFO] [stdout] 857 | | .get_result(&self.pg) [INFO] [stdout] 858 | | .chain_err(|| "failed to update deck record in database")?) [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 855 ~ diesel::update(obj) [INFO] [stdout] 856 | .set((&upd, decks::dsl::updated_at.eq(Utc::now()))) [INFO] [stdout] 857 | .get_result(&self.pg) [INFO] [stdout] 858 ~ .chain_err(|| "failed to update deck record in database") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/db.rs:888:46 [INFO] [stdout] | [INFO] [stdout] 888 | let db = Database::connect(&pg, &rd, &fs.path(), 3600).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `fs.path()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/db.rs:1009:17 [INFO] [stdout] | [INFO] [stdout] 1009 | assert!(!other.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `other.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/db.rs:1037:17 [INFO] [stdout] | [INFO] [stdout] 1037 | assert!(!other.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `other.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to want to iterate on a map's values [INFO] [stdout] --> src/bin/scryfall-bench.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | for (_, set) in &sets { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#for_kv_map [INFO] [stdout] = note: `#[warn(clippy::for_kv_map)]` on by default [INFO] [stdout] help: use the corresponding method [INFO] [stdout] | [INFO] [stdout] 10 - for (_, set) in &sets { [INFO] [stdout] 10 + for set in sets.values() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_some()` [INFO] [stdout] --> src/bin/cdif.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(_) = app.subcommand_matches("fmt") { [INFO] [stdout] | -------^^^^^^^-------------------------------- help: try: `if app.subcommand_matches("fmt").is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] = note: `#[warn(clippy::redundant_pattern_matching)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to want to iterate on a map's values [INFO] [stdout] --> src/bin/cdif.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | for (_, l) in &file.lines { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#for_kv_map [INFO] [stdout] = note: `#[warn(clippy::for_kv_map)]` on by default [INFO] [stdout] help: use the corresponding method [INFO] [stdout] | [INFO] [stdout] 23 - for (_, l) in &file.lines { [INFO] [stdout] 23 + for l in file.lines.values() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_some()` [INFO] [stdout] --> src/bin/cdif.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(_) = app.subcommand_matches("fmt") { [INFO] [stdout] | -------^^^^^^^-------------------------------- help: try: `if app.subcommand_matches("fmt").is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] = note: `#[warn(clippy::redundant_pattern_matching)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to want to iterate on a map's values [INFO] [stdout] --> src/bin/cdif.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | for (_, l) in &file.lines { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#for_kv_map [INFO] [stdout] = note: `#[warn(clippy::for_kv_map)]` on by default [INFO] [stdout] help: use the corresponding method [INFO] [stdout] | [INFO] [stdout] 23 - for (_, l) in &file.lines { [INFO] [stdout] 23 + for l in file.lines.values() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty string literal in `println!` [INFO] [stdout] --> src/bin/query.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | println!(""); [INFO] [stdout] | ^^^^^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | help: remove the empty string [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string [INFO] [stdout] = note: `#[warn(clippy::println_empty_string)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty string literal in `println!` [INFO] [stdout] --> src/bin/query.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | println!(""); [INFO] [stdout] | ^^^^^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | help: remove the empty string [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty string literal in `println!` [INFO] [stdout] --> src/bin/query.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | println!(""); [INFO] [stdout] | ^^^^^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | help: remove the empty string [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty string literal in `println!` [INFO] [stdout] --> src/bin/query.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | println!(""); [INFO] [stdout] | ^^^^^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | help: remove the empty string [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty string literal in `println!` [INFO] [stdout] --> src/bin/query.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | println!(""); [INFO] [stdout] | ^^^^^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | help: remove the empty string [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/scryfall.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | Some(s) => match s.as_ref() { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 32 | | "legal" => true, [INFO] [stdout] 33 | | _ => false, [INFO] [stdout] 34 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 31 - Some(s) => match s.as_ref() { [INFO] [stdout] 32 - "legal" => true, [INFO] [stdout] 33 - _ => false, [INFO] [stdout] 34 - }, [INFO] [stdout] 31 + Some(s) => matches!(s.as_ref(), "legal"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/bin/parse-bench.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | n = n + 1; [INFO] [stdout] | ^^^^^^^^^ help: replace it with: `n += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] = note: `#[warn(clippy::assign_op_pattern)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/bin/parse-bench.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | n = n + 1; [INFO] [stdout] | ^^^^^^^^^ help: replace it with: `n += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] = note: `#[warn(clippy::assign_op_pattern)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to want to iterate on a map's values [INFO] [stdout] --> src/bin/scryfall-bench.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | for (_, set) in &sets { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#for_kv_map [INFO] [stdout] = note: `#[warn(clippy::for_kv_map)]` on by default [INFO] [stdout] help: use the corresponding method [INFO] [stdout] | [INFO] [stdout] 10 - for (_, set) in &sets { [INFO] [stdout] 10 + for set in sets.values() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cli/api.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | &Path::new(&env::var("VCB_FS_ROOT").expect("VCB_FS_ROOT must be set in environment")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `Path::new(&env::var("VCB_FS_ROOT").expect("VCB_FS_ROOT must be set in environment"))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `Option::map` [INFO] [stdout] --> src/cli/api.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / match r.headers.get::>() { [INFO] [stdout] 40 | | Some(v) => Some(v.username.to_string()), [INFO] [stdout] 41 | | None => None, [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ help: try: `r.headers.get::>().map(|v| v.username.to_string())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `Option::map` [INFO] [stdout] --> src/cli/api.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | Some(params) => match params.find(name) { [INFO] [stdout] | _________________________^ [INFO] [stdout] 49 | | None => None, [INFO] [stdout] 50 | | Some(v) => Some(v.to_string()), [INFO] [stdout] 51 | | }, [INFO] [stdout] | |_________^ help: try: `params.find(name).map(|v| v.to_string())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function call inside of `expect` [INFO] [stdout] --> src/cli/api.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 149 | let _ = &env::var(v).expect(&format!("{} must be set in the environment", v).to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_else(|_| panic!("{}", format!("{} must be set in the environment", v).to_string()))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stdout] = note: `#[warn(clippy::expect_fun_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/cli/passwd.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | match bcrypt::verify(&password, &target) { [INFO] [stdout] | ^^^^^^^^^ help: change this to: `password` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cli/passwd.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | match bcrypt::verify(&password, &target) { [INFO] [stdout] | ^^^^^^^ help: change this to: `target` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this pattern reimplements `Option::unwrap_or` [INFO] [stdout] --> src/cli/rescry.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let raw = match raw { [INFO] [stdout] | _______________^ [INFO] [stdout] 10 | | Some(v) => v, [INFO] [stdout] 11 | | None => "data/cache", [INFO] [stdout] 12 | | }; [INFO] [stdout] | |_____^ help: replace with: `raw.unwrap_or("data/cache")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or [INFO] [stdout] = note: `#[warn(clippy::manual_unwrap_or)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this pattern reimplements `Option::unwrap_or` [INFO] [stdout] --> src/cli/rescry.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let cards_json = match cards_json { [INFO] [stdout] | ______________________^ [INFO] [stdout] 15 | | Some(v) => v, [INFO] [stdout] 16 | | None => "cards.json", [INFO] [stdout] 17 | | }; [INFO] [stdout] | |_____^ help: replace with: `cards_json.unwrap_or("cards.json")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this pattern reimplements `Option::unwrap_or` [INFO] [stdout] --> src/cli/rescry.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | let prices_json = match prices_json { [INFO] [stdout] | _______________________^ [INFO] [stdout] 27 | | Some(v) => v, [INFO] [stdout] 28 | | None => "prices.json", [INFO] [stdout] 29 | | }; [INFO] [stdout] | |_____^ help: replace with: `prices_json.unwrap_or("prices.json")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this pattern reimplements `Option::unwrap_or` [INFO] [stdout] --> src/cli/rescry.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | let lookup_json = match lookup_json { [INFO] [stdout] | _______________________^ [INFO] [stdout] 39 | | Some(v) => v, [INFO] [stdout] 40 | | None => "lookup.json", [INFO] [stdout] 41 | | }; [INFO] [stdout] | |_____^ help: replace with: `lookup_json.unwrap_or("lookup.json")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty string literal in `println!` [INFO] [stdout] --> src/bin/query.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | println!(""); [INFO] [stdout] | ^^^^^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | help: remove the empty string [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string [INFO] [stdout] = note: `#[warn(clippy::println_empty_string)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty string literal in `println!` [INFO] [stdout] --> src/bin/query.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | println!(""); [INFO] [stdout] | ^^^^^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | help: remove the empty string [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty string literal in `println!` [INFO] [stdout] --> src/bin/query.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | println!(""); [INFO] [stdout] | ^^^^^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | help: remove the empty string [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty string literal in `println!` [INFO] [stdout] --> src/bin/query.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | println!(""); [INFO] [stdout] | ^^^^^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | help: remove the empty string [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/cdif.rs:565:39 [INFO] [stdout] | [INFO] [stdout] 565 | assert_global_variants!(test, vec!["NM"]); [INFO] [stdout] | ^^^^^^^^^^ help: you can use an array directly: `["NM"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] = note: `#[warn(clippy::useless_vec)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/cdif.rs:570:39 [INFO] [stdout] | [INFO] [stdout] 570 | assert_global_variants!(test, vec!["VG", "foil"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `["VG", "foil"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/cdif.rs:575:38 [INFO] [stdout] | [INFO] [stdout] 575 | assert_local_variants!(test, vec![("signed", "SDCC 2020")]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[("signed", "SDCC 2020")]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/cdif.rs:579:39 [INFO] [stdout] | [INFO] [stdout] 579 | assert_global_variants!(test, vec!["EX", "foil"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `["EX", "foil"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/cdif.rs:580:38 [INFO] [stdout] | [INFO] [stdout] 580 | assert_local_variants!(test, vec![("signed", "artist")]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[("signed", "artist")]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/cdif.rs:587:13 [INFO] [stdout] | [INFO] [stdout] 587 | vec![("signed", "SDCC 2020"), ("misprint", "Otp not Opt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[("signed", "SDCC 2020"), ("misprint", "Otp not Opt")]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/cdif.rs:601:39 [INFO] [stdout] | [INFO] [stdout] 601 | assert_global_variants!(test, vec!["NM"]); [INFO] [stdout] | ^^^^^^^^^^ help: you can use an array directly: `["NM"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/cdif.rs:606:38 [INFO] [stdout] | [INFO] [stdout] 606 | assert_local_variants!(test, vec![("misprint", "double print")]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[("misprint", "double print")]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/cdif.rs:611:38 [INFO] [stdout] | [INFO] [stdout] 611 | assert_local_variants!(test, vec![("misprint", "double print")]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[("misprint", "double print")]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/card.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | None => panic!(format!("unable to find {} {}", line.set, line.oracle)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 39 - None => panic!(format!("unable to find {} {}", line.set, line.oracle)), [INFO] [stdout] 39 + None => panic!("unable to find {} {}", line.set, line.oracle), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | assert_parses!("", 0, "", ""); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | assert_parses!(" ", 0, "", ""); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 487 | assert_parses!("# this is a test comment", 0, "", ""); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | assert_parses!(" # this is a test comment", 0, "", ""); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | assert_parses!("1 DOM Opt", 1, "DOM", "Opt"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 496 | assert_parses!("1x DOM Opt", 1, "DOM", "Opt"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 497 | assert_parses!("1 WAR Return to Nature", 1, "WAR", "Return to Nature"); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | assert_parses!("1 M19 Ajani's Last Stand", 1, "M19", "Ajani's Last Stand"); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty string literal in `println!` [INFO] [stdout] --> src/bin/query.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | println!(""); [INFO] [stdout] | ^^^^^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | help: remove the empty string [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:350:34 [INFO] [stdout] | [INFO] [stdout] 350 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | / assert_parses!( [INFO] [stdout] 500 | | "1 HML *3b Aysen Bureaucrats", [INFO] [stdout] 501 | | 1, [INFO] [stdout] 502 | | "HML", [INFO] [stdout] 503 | | "3b", [INFO] [stdout] 504 | | "Aysen Bureaucrats" [INFO] [stdout] 505 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 350 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 350 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:350:34 [INFO] [stdout] | [INFO] [stdout] 350 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | assert_parses!("1 IKO *40 Anticipate", 1, "IKO", "40", "Anticipate"); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 350 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 350 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 526 | assert_parses!("23 DOM Opt", 23, "DOM", "Opt"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 527 | assert_parses!("23x DOM Opt", 23, "DOM", "Opt"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | assert_parses!("1029384756 DOM Opt", 1029384756, "DOM", "Opt"); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | assert_parses!("055 DOM Opt", 55, "DOM", "Opt"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 534 | assert_parses!("1 DOM Opt", 1, "DOM", "Opt"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | assert_parses!("1 M19 Opt", 1, "M19", "Opt"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | assert_parses!("1 m19 Opt", 1, "m19", "Opt"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | assert_parses!("1 3ED Clone", 1, "3ED", "Clone"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | assert_parses!("1 3ed Clone", 1, "3ed", "Clone"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 543 | assert_parses!("1 DOM Opt # gotta love scry!", 1, "DOM", "Opt"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 548 | assert_parses!(" 1 DOM Opt", 1, "DOM", "Opt"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 549 | assert_parses!("1 DOM Opt", 1, "DOM", "Opt"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | assert_parses!("1 DOM Opt", 1, "DOM", "Opt"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | assert_parses!(" 1 DOM Opt", 1, "DOM", "Opt"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | assert_parses!(" 1 DOM Opt ", 1, "DOM", "Opt"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 558 | assert_parses!(test, 1, "DOM", "Opt"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:393:34 [INFO] [stdout] | [INFO] [stdout] 393 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 559 | assert_no_local_variants!(test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_no_local_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 393 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 393 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:464:34 [INFO] [stdout] | [INFO] [stdout] 464 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 560 | assert_no_global_variants!(test); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_no_global_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 464 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 464 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 563 | assert_parses!(test, 1, "DOM", "Opt"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:393:34 [INFO] [stdout] | [INFO] [stdout] 393 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 564 | assert_no_local_variants!(test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_no_local_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 393 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 393 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:441:34 [INFO] [stdout] | [INFO] [stdout] 441 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | assert_global_variants!(test, vec!["NM"]); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_global_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 441 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 441 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 568 | assert_parses!(test, 1, "DOM", "Opt"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:393:34 [INFO] [stdout] | [INFO] [stdout] 393 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 569 | assert_no_local_variants!(test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_no_local_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 393 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 393 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:441:34 [INFO] [stdout] | [INFO] [stdout] 441 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 570 | assert_global_variants!(test, vec!["VG", "foil"]); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_global_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 441 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 441 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 573 | assert_parses!(test, 1, "DOM", "Opt"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:464:34 [INFO] [stdout] | [INFO] [stdout] 464 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 574 | assert_no_global_variants!(test); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_no_global_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 464 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 464 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:410:34 [INFO] [stdout] | [INFO] [stdout] 410 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 575 | assert_local_variants!(test, vec![("signed", "SDCC 2020")]); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_local_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 410 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 410 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 578 | assert_parses!(test, 1, "DOM", "Opt"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:441:34 [INFO] [stdout] | [INFO] [stdout] 441 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 579 | assert_global_variants!(test, vec!["EX", "foil"]); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_global_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 441 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 441 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:410:34 [INFO] [stdout] | [INFO] [stdout] 410 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 580 | assert_local_variants!(test, vec![("signed", "artist")]); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_local_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 410 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 410 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 583 | assert_parses!(test, 1, "DOM", "Opt"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:464:34 [INFO] [stdout] | [INFO] [stdout] 464 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 584 | assert_no_global_variants!(test); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_no_global_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 464 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 464 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:410:34 [INFO] [stdout] | [INFO] [stdout] 410 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 585 | / assert_local_variants!( [INFO] [stdout] 586 | | test, [INFO] [stdout] 587 | | vec![("signed", "SDCC 2020"), ("misprint", "Otp not Opt")] [INFO] [stdout] 588 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_local_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 410 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 410 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | assert_parses!(test, 1, "DOM", "Opt"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:393:34 [INFO] [stdout] | [INFO] [stdout] 393 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 595 | assert_no_local_variants!(test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_no_local_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 393 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 393 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:464:34 [INFO] [stdout] | [INFO] [stdout] 464 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | assert_no_global_variants!(test); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_no_global_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 464 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 464 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 599 | assert_parses!(test, 1, "DOM", "Opt"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:393:34 [INFO] [stdout] | [INFO] [stdout] 393 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 600 | assert_no_local_variants!(test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_no_local_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 393 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 393 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:441:34 [INFO] [stdout] | [INFO] [stdout] 441 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | assert_global_variants!(test, vec!["NM"]); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_global_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 441 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 441 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 604 | assert_parses!(test, 1, "DOM", "Opt"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:464:34 [INFO] [stdout] | [INFO] [stdout] 464 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 605 | assert_no_global_variants!(test); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_no_global_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 464 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 464 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:410:34 [INFO] [stdout] | [INFO] [stdout] 410 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 606 | assert_local_variants!(test, vec![("misprint", "double print")]); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_local_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 410 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 410 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 609 | assert_parses!(test, 1, "DOM", "Opt"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_parses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 372 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 372 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:464:34 [INFO] [stdout] | [INFO] [stdout] 464 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 610 | assert_no_global_variants!(test); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_no_global_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 464 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 464 + assert!(c.is_some(), "The line '{}' should parse", $line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdif.rs:410:34 [INFO] [stdout] | [INFO] [stdout] 410 | assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 611 | assert_local_variants!(test, vec![("misprint", "double print")]); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_local_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 410 - assert!(c.is_some(), format!("The line '{}' should parse", $line)); [INFO] [stdout] 410 + assert!(c.is_some(), "The line '{}' should parse", $line); [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/db.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_collector` [INFO] [stdout] 122 | pub struct Collector { [INFO] [stdout] | --------- `Collector` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_collector` [INFO] [stdout] 122 | pub struct Collector { [INFO] [stdout] | --------- `Collector` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_collector` [INFO] [stdout] 122 | pub struct Collector { [INFO] [stdout] | --------- `Collector` 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.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[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_newcollector` [INFO] [stdout] 130 | #[table_name = "collectors"] [INFO] [stdout] 131 | pub struct NewCollector<'a> { [INFO] [stdout] | ------------ `NewCollector` 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.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[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_newcollector` [INFO] [stdout] 130 | #[table_name = "collectors"] [INFO] [stdout] 131 | pub struct NewCollector<'a> { [INFO] [stdout] | ------------ `NewCollector` 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.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[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_newcollector` [INFO] [stdout] 130 | #[table_name = "collectors"] [INFO] [stdout] 131 | pub struct NewCollector<'a> { [INFO] [stdout] | ------------ `NewCollector` 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.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_collectorupdate` [INFO] [stdout] 137 | #[table_name = "collectors"] [INFO] [stdout] 138 | pub struct CollectorUpdate<'a> { [INFO] [stdout] | --------------- `CollectorUpdate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(AsChangeset)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_collectorupdate` [INFO] [stdout] 137 | #[table_name = "collectors"] [INFO] [stdout] 138 | pub struct CollectorUpdate<'a> { [INFO] [stdout] | --------------- `CollectorUpdate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | #[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_collection` [INFO] [stdout] 145 | pub struct Collection { [INFO] [stdout] | ---------- `Collection` 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.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[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_newcollection` [INFO] [stdout] 151 | #[table_name = "collections"] [INFO] [stdout] 152 | pub struct NewCollection { [INFO] [stdout] | ------------- `NewCollection` 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.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[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_newcollection` [INFO] [stdout] 151 | #[table_name = "collections"] [INFO] [stdout] 152 | pub struct NewCollection { [INFO] [stdout] | ------------- `NewCollection` 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.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[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_newcollection` [INFO] [stdout] 151 | #[table_name = "collections"] [INFO] [stdout] 152 | pub struct NewCollection { [INFO] [stdout] | ------------- `NewCollection` 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.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_transaction` [INFO] [stdout] 158 | pub struct Transaction { [INFO] [stdout] | ----------- `Transaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_transaction` [INFO] [stdout] 158 | pub struct Transaction { [INFO] [stdout] | ----------- `Transaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_transaction` [INFO] [stdout] 158 | pub struct Transaction { [INFO] [stdout] | ----------- `Transaction` 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.rs:218:10 [INFO] [stdout] | [INFO] [stdout] 218 | #[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_newtransaction` [INFO] [stdout] 219 | #[table_name = "transactions"] [INFO] [stdout] 220 | pub struct NewTransaction<'a> { [INFO] [stdout] | -------------- `NewTransaction` 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.rs:218:10 [INFO] [stdout] | [INFO] [stdout] 218 | #[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_newtransaction` [INFO] [stdout] 219 | #[table_name = "transactions"] [INFO] [stdout] 220 | pub struct NewTransaction<'a> { [INFO] [stdout] | -------------- `NewTransaction` 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.rs:218:10 [INFO] [stdout] | [INFO] [stdout] 218 | #[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_newtransaction` [INFO] [stdout] 219 | #[table_name = "transactions"] [INFO] [stdout] 220 | pub struct NewTransaction<'a> { [INFO] [stdout] | -------------- `NewTransaction` 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.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | #[derive(AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updatetransaction` [INFO] [stdout] 232 | #[table_name = "transactions"] [INFO] [stdout] 233 | pub struct UpdateTransaction { [INFO] [stdout] | ----------------- `UpdateTransaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | #[derive(AsChangeset)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updatetransaction` [INFO] [stdout] 232 | #[table_name = "transactions"] [INFO] [stdout] 233 | pub struct UpdateTransaction { [INFO] [stdout] | ----------------- `UpdateTransaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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.rs:243:10 [INFO] [stdout] | [INFO] [stdout] 243 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_goal` [INFO] [stdout] 244 | pub struct Goal { [INFO] [stdout] | ---- `Goal` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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.rs:243:10 [INFO] [stdout] | [INFO] [stdout] 243 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_goal` [INFO] [stdout] 244 | pub struct Goal { [INFO] [stdout] | ---- `Goal` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_goal` [INFO] [stdout] 244 | pub struct Goal { [INFO] [stdout] | ---- `Goal` 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.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 257 | #[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_newgoal` [INFO] [stdout] 258 | #[table_name = "goals"] [INFO] [stdout] 259 | pub struct NewGoal<'a> { [INFO] [stdout] | ------- `NewGoal` 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.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 257 | #[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_newgoal` [INFO] [stdout] 258 | #[table_name = "goals"] [INFO] [stdout] 259 | pub struct NewGoal<'a> { [INFO] [stdout] | ------- `NewGoal` 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.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 257 | #[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_newgoal` [INFO] [stdout] 258 | #[table_name = "goals"] [INFO] [stdout] 259 | pub struct NewGoal<'a> { [INFO] [stdout] | ------- `NewGoal` 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.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | #[derive(AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updategoal` [INFO] [stdout] 270 | #[table_name = "goals"] [INFO] [stdout] 271 | pub struct UpdateGoal { [INFO] [stdout] | ---------- `UpdateGoal` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | #[derive(AsChangeset)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updategoal` [INFO] [stdout] 270 | #[table_name = "goals"] [INFO] [stdout] 271 | pub struct UpdateGoal { [INFO] [stdout] | ---------- `UpdateGoal` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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.rs:280:10 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_deck` [INFO] [stdout] 281 | pub struct Deck { [INFO] [stdout] | ---- `Deck` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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.rs:280:10 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_deck` [INFO] [stdout] 281 | pub struct Deck { [INFO] [stdout] | ---- `Deck` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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.rs:280:24 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Identifiable, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_deck` [INFO] [stdout] 281 | pub struct Deck { [INFO] [stdout] | ---- `Deck` 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.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 296 | #[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_newdeck` [INFO] [stdout] 297 | #[table_name = "decks"] [INFO] [stdout] 298 | pub struct NewDeck<'a> { [INFO] [stdout] | ------- `NewDeck` 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.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 296 | #[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_newdeck` [INFO] [stdout] 297 | #[table_name = "decks"] [INFO] [stdout] 298 | pub struct NewDeck<'a> { [INFO] [stdout] | ------- `NewDeck` 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.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 296 | #[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_newdeck` [INFO] [stdout] 297 | #[table_name = "decks"] [INFO] [stdout] 298 | pub struct NewDeck<'a> { [INFO] [stdout] | ------- `NewDeck` 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.rs:308:10 [INFO] [stdout] | [INFO] [stdout] 308 | #[derive(AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updatedeck` [INFO] [stdout] 309 | #[table_name = "decks"] [INFO] [stdout] 310 | pub struct UpdateDeck { [INFO] [stdout] | ---------- `UpdateDeck` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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.rs:308:10 [INFO] [stdout] | [INFO] [stdout] 308 | #[derive(AsChangeset)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updatedeck` [INFO] [stdout] 309 | #[table_name = "decks"] [INFO] [stdout] 310 | pub struct UpdateDeck { [INFO] [stdout] | ---------- `UpdateDeck` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | collections (id) { [INFO] [stdout] 3 | | id -> Uuid, [INFO] [stdout] 4 | | collector -> Uuid, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | collections (id) { [INFO] [stdout] 3 | | id -> Uuid, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | collector -> Uuid, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | collections (id) { [INFO] [stdout] 3 | | id -> Uuid, [INFO] [stdout] 4 | | collector -> Uuid, [INFO] [stdout] | | --------- `collector` is not local [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_collector` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | collectors (id) { [INFO] [stdout] 10 | | id -> Uuid, [INFO] [stdout] 11 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | collectors (id) { [INFO] [stdout] 10 | | id -> Uuid, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 11 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | collectors (id) { [INFO] [stdout] 10 | | id -> Uuid, [INFO] [stdout] 11 | | username -> Varchar, [INFO] [stdout] | | -------- `username` is not local [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_username` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | collectors (id) { [INFO] [stdout] 10 | | id -> Uuid, [INFO] [stdout] 11 | | username -> Varchar, [INFO] [stdout] 12 | | email -> Varchar, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | collectors (id) { [INFO] [stdout] 10 | | id -> Uuid, [INFO] [stdout] 11 | | username -> Varchar, [INFO] [stdout] 12 | | email -> Varchar, [INFO] [stdout] 13 | | password -> Varchar, [INFO] [stdout] | | -------- `password` is not local [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [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/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [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/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 20 | | collector -> Uuid, [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_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] | | --------- `collector` 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_collector` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] 21 | | title -> Varchar, [INFO] [stdout] | | ----- `title` 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_title` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] 21 | | title -> Varchar, [INFO] [stdout] 22 | | code -> Varchar, [INFO] [stdout] | | ---- `code` 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_code` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 23 | | description -> Text, [INFO] [stdout] | | ----------- `description` 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_description` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 24 | | main -> Text, [INFO] [stdout] | | ---- `main` 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_main` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 25 | | side -> Text, [INFO] [stdout] | | ---- `side` 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_side` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 26 | | maybe -> Text, [INFO] [stdout] | | ----- `maybe` 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_maybe` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 27 | | lineage -> Uuid, [INFO] [stdout] | | ------- `lineage` 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_lineage` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 28 | | ordinal -> Int4, [INFO] [stdout] | | ------- `ordinal` 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_ordinal` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 29 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` 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_created_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / table! { [INFO] [stdout] 18 | | decks (id) { [INFO] [stdout] 19 | | id -> Uuid, [INFO] [stdout] 20 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 30 | | updated_at -> Timestamptz, [INFO] [stdout] | | ---------- `updated_at` 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_updated_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] | | --------- `collector` is not local [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_collector` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] 38 | | name -> Text, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [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/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] 38 | | name -> Text, [INFO] [stdout] 39 | | ordinal -> Int4, [INFO] [stdout] | | ------- `ordinal` is not local [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_ordinal` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 40 | | target -> Text, [INFO] [stdout] | | ------ `target` is not local [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_target` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 41 | | goal -> Text, [INFO] [stdout] | | ---- `goal` is not local [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_goal` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 42 | | total -> Nullable, [INFO] [stdout] | | ----- `total` is not local [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_total` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 43 | | progress -> Nullable, [INFO] [stdout] | | -------- `progress` is not local [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_progress` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 44 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | goals (id) { [INFO] [stdout] 36 | | id -> Uuid, [INFO] [stdout] 37 | | collector -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 45 | | updated_at -> Timestamptz, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] | | ---------- `collection` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_collection` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] 53 | | dated -> Date, [INFO] [stdout] | | ----- `dated` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_dated` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] 53 | | dated -> Date, [INFO] [stdout] 54 | | summary -> Text, [INFO] [stdout] | | ------- `summary` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_summary` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 55 | | notes -> Text, [INFO] [stdout] | | ----- `notes` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_notes` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 56 | | disposition -> Varchar, [INFO] [stdout] | | ----------- `disposition` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_disposition` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 57 | | gain -> Text, [INFO] [stdout] | | ---- `gain` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_gain` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 58 | | loss -> Text, [INFO] [stdout] | | ---- `loss` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_loss` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 59 | | metadata -> Jsonb, [INFO] [stdout] | | -------- `metadata` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_metadata` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 60 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 61 | | updated_at -> Timestamptz, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / table! { [INFO] [stdout] 50 | | transactions (id) { [INFO] [stdout] 51 | | id -> Uuid, [INFO] [stdout] 52 | | collection -> Uuid, [INFO] [stdout] ... | [INFO] [stdout] 62 | | paid -> Nullable, [INFO] [stdout] | | ---- `paid` is not local [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_paid` [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] warning: the following packages contain code that will be rejected by a future version of Rust: migrations_internals v1.4.1, redis v0.13.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "86a3d06b59f79b54ab88146ce2fc213623f2ceb4612776e7cb39bed5d7ebecde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86a3d06b59f79b54ab88146ce2fc213623f2ceb4612776e7cb39bed5d7ebecde", kill_on_drop: false }` [INFO] [stdout] 86a3d06b59f79b54ab88146ce2fc213623f2ceb4612776e7cb39bed5d7ebecde