[INFO] cloning repository https://github.com/walteralleyz/human_resources_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/walteralleyz/human_resources_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwalteralleyz%2Fhuman_resources_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwalteralleyz%2Fhuman_resources_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8a2a42b066c6678890ffe60d30649b00d2dd376 [INFO] checking walteralleyz/human_resources_rust against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwalteralleyz%2Fhuman_resources_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/walteralleyz/human_resources_rust on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/walteralleyz/human_resources_rust [INFO] finished tweaking git repo https://github.com/walteralleyz/human_resources_rust [INFO] tweaked toml for git repo https://github.com/walteralleyz/human_resources_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/walteralleyz/human_resources_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95aece9e0ed7295d21f939987631ec2e9243635a5a2361167b9d9544f44df457 [INFO] running `Command { std: "docker" "start" "-a" "95aece9e0ed7295d21f939987631ec2e9243635a5a2361167b9d9544f44df457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95aece9e0ed7295d21f939987631ec2e9243635a5a2361167b9d9544f44df457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95aece9e0ed7295d21f939987631ec2e9243635a5a2361167b9d9544f44df457", kill_on_drop: false }` [INFO] [stdout] 95aece9e0ed7295d21f939987631ec2e9243635a5a2361167b9d9544f44df457 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ffcd4c477f8a53157eaa5af5b4a21ebf82e31d0ffb017f560df998ac685b335 [INFO] running `Command { std: "docker" "start" "-a" "2ffcd4c477f8a53157eaa5af5b4a21ebf82e31d0ffb017f560df998ac685b335", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking human_resources v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `create_funcionario` [INFO] [stdout] --> src/controller/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_funcionario(funcionario: Json) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_by_id` [INFO] [stdout] --> src/controller/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_by_id(id: i32) -> Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_funcionario` [INFO] [stdout] --> src/controller/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_funcionario(funcionario: Json) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::date::Date` [INFO] [stdout] --> src/domain/funcionario.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::date::Date; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_by_id` [INFO] [stdout] --> src/controller/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_by_id(id: i32) -> Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/eventos.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::date::Date` [INFO] [stdout] --> src/domain/funcionario.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::date::Date; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/pessoas.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/cargos.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/eventos.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domain::pessoa::Pessoa` [INFO] [stdout] --> src/model/funcionarios.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::domain::pessoa::Pessoa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/funcionarios.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/eventos_funcionario.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/pessoas.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/cargos.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domain::pessoa::Pessoa` [INFO] [stdout] --> src/model/funcionarios.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::domain::pessoa::Pessoa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/funcionarios.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/eventos_funcionario.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/controller/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | todo!("TODO: Criar esse ID dinamicamente"); [INFO] [stdout] | ------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 15 | let funcionario_model = funcionario.to_model(Some(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/controller/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | todo!("TODO: Criar esse ID dinamicamente"); [INFO] [stdout] | ------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 15 | let funcionario_model = funcionario.to_model(Some(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pessoa_id` [INFO] [stdout] --> src/controller/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let pessoa_id = PessoaDao::save(pessoa_model); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pessoa_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pessoa_id` [INFO] [stdout] --> src/controller/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let pessoa_id = PessoaDao::save(pessoa_model); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pessoa_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `year` is never read [INFO] [stdout] --> src/utils/date.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut year, mut month, mut day): (u16, u8, u8) = (0, 0, 0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `month` is never read [INFO] [stdout] --> src/utils/date.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut year, mut month, mut day): (u16, u8, u8) = (0, 0, 0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `day` is never read [INFO] [stdout] --> src/utils/date.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut year, mut month, mut day): (u16, u8, u8) = (0, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `year` is never read [INFO] [stdout] --> src/utils/date.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut year, mut month, mut day): (u16, u8, u8) = (0, 0, 0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `month` is never read [INFO] [stdout] --> src/utils/date.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut year, mut month, mut day): (u16, u8, u8) = (0, 0, 0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `day` is never read [INFO] [stdout] --> src/utils/date.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut year, mut month, mut day): (u16, u8, u8) = (0, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Evento` is never used [INFO] [stdout] --> src/domain/evento.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Evento { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_index` is never used [INFO] [stdout] --> src/domain/evento.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Evento { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 8 | pub fn to_index(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventoFuncionario` is never constructed [INFO] [stdout] --> src/domain/evento_funcionario.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EventoFuncionario<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Evento` is never used [INFO] [stdout] --> src/domain/evento.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Evento { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_index` is never used [INFO] [stdout] --> src/domain/evento.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Evento { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 8 | pub fn to_index(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventoFuncionario` is never constructed [INFO] [stdout] --> src/domain/evento_funcionario.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EventoFuncionario<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2ffcd4c477f8a53157eaa5af5b4a21ebf82e31d0ffb017f560df998ac685b335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ffcd4c477f8a53157eaa5af5b4a21ebf82e31d0ffb017f560df998ac685b335", kill_on_drop: false }` [INFO] [stdout] 2ffcd4c477f8a53157eaa5af5b4a21ebf82e31d0ffb017f560df998ac685b335 [INFO] checking walteralleyz/human_resources_rust against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwalteralleyz%2Fhuman_resources_rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/walteralleyz/human_resources_rust on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/walteralleyz/human_resources_rust [INFO] finished tweaking git repo https://github.com/walteralleyz/human_resources_rust [INFO] tweaked toml for git repo https://github.com/walteralleyz/human_resources_rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/walteralleyz/human_resources_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b955f84ec2f91a89a26f43236fb0a69d98c70a1ac4dd6315891f5d3aaf01529 [INFO] running `Command { std: "docker" "start" "-a" "0b955f84ec2f91a89a26f43236fb0a69d98c70a1ac4dd6315891f5d3aaf01529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b955f84ec2f91a89a26f43236fb0a69d98c70a1ac4dd6315891f5d3aaf01529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b955f84ec2f91a89a26f43236fb0a69d98c70a1ac4dd6315891f5d3aaf01529", kill_on_drop: false }` [INFO] [stdout] 0b955f84ec2f91a89a26f43236fb0a69d98c70a1ac4dd6315891f5d3aaf01529 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 551302811a8dee63a778b638e85cc02197d3ff38473b05dc8ab0c91f1c57f6de [INFO] running `Command { std: "docker" "start" "-a" "551302811a8dee63a778b638e85cc02197d3ff38473b05dc8ab0c91f1c57f6de", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking human_resources v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `create_funcionario` [INFO] [stdout] --> src/controller/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_funcionario(funcionario: Json) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_by_id` [INFO] [stdout] --> src/controller/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_by_id(id: i32) -> Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::date::Date` [INFO] [stdout] --> src/domain/funcionario.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::date::Date; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/eventos.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/pessoas.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/cargos.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domain::pessoa::Pessoa` [INFO] [stdout] --> src/model/funcionarios.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::domain::pessoa::Pessoa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/funcionarios.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/eventos_funcionario.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_funcionario` [INFO] [stdout] --> src/controller/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_funcionario(funcionario: Json) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_by_id` [INFO] [stdout] --> src/controller/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_by_id(id: i32) -> Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::date::Date` [INFO] [stdout] --> src/domain/funcionario.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::date::Date; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/eventos.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/pessoas.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/cargos.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domain::pessoa::Pessoa` [INFO] [stdout] --> src/model/funcionarios.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::domain::pessoa::Pessoa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/funcionarios.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::establish_connection` [INFO] [stdout] --> src/model/eventos_funcionario.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::establish_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/controller/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | todo!("TODO: Criar esse ID dinamicamente"); [INFO] [stdout] | ------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 15 | let funcionario_model = funcionario.to_model(Some(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/controller/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | todo!("TODO: Criar esse ID dinamicamente"); [INFO] [stdout] | ------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 15 | let funcionario_model = funcionario.to_model(Some(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pessoa_id` [INFO] [stdout] --> src/controller/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let pessoa_id = PessoaDao::save(pessoa_model); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pessoa_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pessoa_id` [INFO] [stdout] --> src/controller/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let pessoa_id = PessoaDao::save(pessoa_model); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pessoa_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `year` is never read [INFO] [stdout] --> src/utils/date.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut year, mut month, mut day): (u16, u8, u8) = (0, 0, 0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `month` is never read [INFO] [stdout] --> src/utils/date.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut year, mut month, mut day): (u16, u8, u8) = (0, 0, 0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `day` is never read [INFO] [stdout] --> src/utils/date.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut year, mut month, mut day): (u16, u8, u8) = (0, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `year` is never read [INFO] [stdout] --> src/utils/date.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut year, mut month, mut day): (u16, u8, u8) = (0, 0, 0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `month` is never read [INFO] [stdout] --> src/utils/date.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut year, mut month, mut day): (u16, u8, u8) = (0, 0, 0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `day` is never read [INFO] [stdout] --> src/utils/date.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut year, mut month, mut day): (u16, u8, u8) = (0, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Evento` is never used [INFO] [stdout] --> src/domain/evento.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Evento { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_index` is never used [INFO] [stdout] --> src/domain/evento.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Evento { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 8 | pub fn to_index(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventoFuncionario` is never constructed [INFO] [stdout] --> src/domain/evento_funcionario.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EventoFuncionario<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/eventos.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_eventos` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/eventos.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_eventos` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/eventos.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_changeset_for_eventos` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/pessoas.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_pessoas` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/pessoas.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_pessoas` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/pessoas.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_changeset_for_pessoas` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/cargos.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_cargos` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/cargos.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_cargos` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/cargos.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_changeset_for_cargos` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/funcionarios.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_funcionarios` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/funcionarios.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_funcionarios` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/funcionarios.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_changeset_for_funcionarios` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/eventos_funcionario.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_eventosfuncionario` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/eventos_funcionario.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_eventosfuncionario` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/eventos_funcionario.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_changeset_for_eventosfuncionario` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | cargos (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | cargo -> Text, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | cargos (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | cargo -> Text, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | cargos (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | cargo -> Text, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_cargo` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | eventos (id) { [INFO] [stdout] 10 | | id -> Nullable, [INFO] [stdout] 11 | | evento -> Text, [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | eventos (id) { [INFO] [stdout] 10 | | id -> Nullable, [INFO] [stdout] 11 | | evento -> Text, [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | eventos (id) { [INFO] [stdout] 10 | | id -> Nullable, [INFO] [stdout] 11 | | evento -> Text, [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_evento` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / table! { [INFO] [stdout] 16 | | eventos_funcionario (id) { [INFO] [stdout] 17 | | id -> Nullable, [INFO] [stdout] 18 | | funcionario_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / table! { [INFO] [stdout] 16 | | eventos_funcionario (id) { [INFO] [stdout] 17 | | id -> Nullable, [INFO] [stdout] 18 | | funcionario_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / table! { [INFO] [stdout] 16 | | eventos_funcionario (id) { [INFO] [stdout] 17 | | id -> Nullable, [INFO] [stdout] 18 | | funcionario_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_funcionario_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / table! { [INFO] [stdout] 16 | | eventos_funcionario (id) { [INFO] [stdout] 17 | | id -> Nullable, [INFO] [stdout] 18 | | funcionario_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_evento_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / table! { [INFO] [stdout] 16 | | eventos_funcionario (id) { [INFO] [stdout] 17 | | id -> Nullable, [INFO] [stdout] 18 | | funcionario_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_data_evento` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | funcionarios (id) { [INFO] [stdout] 26 | | id -> Nullable, [INFO] [stdout] 27 | | cargo_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | funcionarios (id) { [INFO] [stdout] 26 | | id -> Nullable, [INFO] [stdout] 27 | | cargo_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | funcionarios (id) { [INFO] [stdout] 26 | | id -> Nullable, [INFO] [stdout] 27 | | cargo_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_cargo_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | funcionarios (id) { [INFO] [stdout] 26 | | id -> Nullable, [INFO] [stdout] 27 | | cargo_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_pessoa_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | funcionarios (id) { [INFO] [stdout] 26 | | id -> Nullable, [INFO] [stdout] 27 | | cargo_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_matricula` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | funcionarios (id) { [INFO] [stdout] 26 | | id -> Nullable, [INFO] [stdout] 27 | | cargo_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_ativo` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | funcionarios (id) { [INFO] [stdout] 26 | | id -> Nullable, [INFO] [stdout] 27 | | cargo_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_salario` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / table! { [INFO] [stdout] 36 | | pessoas (id) { [INFO] [stdout] 37 | | id -> Nullable, [INFO] [stdout] 38 | | nome -> Text, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / table! { [INFO] [stdout] 36 | | pessoas (id) { [INFO] [stdout] 37 | | id -> Nullable, [INFO] [stdout] 38 | | nome -> Text, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / table! { [INFO] [stdout] 36 | | pessoas (id) { [INFO] [stdout] 37 | | id -> Nullable, [INFO] [stdout] 38 | | nome -> Text, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_nome` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / table! { [INFO] [stdout] 36 | | pessoas (id) { [INFO] [stdout] 37 | | id -> Nullable, [INFO] [stdout] 38 | | nome -> Text, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_data_de_nascimento` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / table! { [INFO] [stdout] 36 | | pessoas (id) { [INFO] [stdout] 37 | | id -> Nullable, [INFO] [stdout] 38 | | nome -> Text, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_email` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Evento` is never used [INFO] [stdout] --> src/domain/evento.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Evento { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_index` is never used [INFO] [stdout] --> src/domain/evento.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Evento { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 8 | pub fn to_index(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventoFuncionario` is never constructed [INFO] [stdout] --> src/domain/evento_funcionario.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EventoFuncionario<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/eventos.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_eventos` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/eventos.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_eventos` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/eventos.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_changeset_for_eventos` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/pessoas.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_pessoas` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/pessoas.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_pessoas` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/pessoas.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_changeset_for_pessoas` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/cargos.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_cargos` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/cargos.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_cargos` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/cargos.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_changeset_for_cargos` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/funcionarios.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_funcionarios` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/funcionarios.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_funcionarios` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/funcionarios.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_changeset_for_funcionarios` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/eventos_funcionario.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_eventosfuncionario` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/eventos_funcionario.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_eventosfuncionario` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model/eventos_funcionario.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_changeset_for_eventosfuncionario` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | cargos (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | cargo -> Text, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | cargos (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | cargo -> Text, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | cargos (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | cargo -> Text, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_cargo` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | eventos (id) { [INFO] [stdout] 10 | | id -> Nullable, [INFO] [stdout] 11 | | evento -> Text, [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | eventos (id) { [INFO] [stdout] 10 | | id -> Nullable, [INFO] [stdout] 11 | | evento -> Text, [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | eventos (id) { [INFO] [stdout] 10 | | id -> Nullable, [INFO] [stdout] 11 | | evento -> Text, [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_evento` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / table! { [INFO] [stdout] 16 | | eventos_funcionario (id) { [INFO] [stdout] 17 | | id -> Nullable, [INFO] [stdout] 18 | | funcionario_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / table! { [INFO] [stdout] 16 | | eventos_funcionario (id) { [INFO] [stdout] 17 | | id -> Nullable, [INFO] [stdout] 18 | | funcionario_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / table! { [INFO] [stdout] 16 | | eventos_funcionario (id) { [INFO] [stdout] 17 | | id -> Nullable, [INFO] [stdout] 18 | | funcionario_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_funcionario_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / table! { [INFO] [stdout] 16 | | eventos_funcionario (id) { [INFO] [stdout] 17 | | id -> Nullable, [INFO] [stdout] 18 | | funcionario_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_evento_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / table! { [INFO] [stdout] 16 | | eventos_funcionario (id) { [INFO] [stdout] 17 | | id -> Nullable, [INFO] [stdout] 18 | | funcionario_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_data_evento` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | funcionarios (id) { [INFO] [stdout] 26 | | id -> Nullable, [INFO] [stdout] 27 | | cargo_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | funcionarios (id) { [INFO] [stdout] 26 | | id -> Nullable, [INFO] [stdout] 27 | | cargo_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | funcionarios (id) { [INFO] [stdout] 26 | | id -> Nullable, [INFO] [stdout] 27 | | cargo_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_cargo_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | funcionarios (id) { [INFO] [stdout] 26 | | id -> Nullable, [INFO] [stdout] 27 | | cargo_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_pessoa_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `human_resources` (bin "human_resources" test) due to 39 previous errors; 17 warnings emitted [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | funcionarios (id) { [INFO] [stdout] 26 | | id -> Nullable, [INFO] [stdout] 27 | | cargo_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_matricula` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | funcionarios (id) { [INFO] [stdout] 26 | | id -> Nullable, [INFO] [stdout] 27 | | cargo_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_ativo` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | funcionarios (id) { [INFO] [stdout] 26 | | id -> Nullable, [INFO] [stdout] 27 | | cargo_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_salario` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / table! { [INFO] [stdout] 36 | | pessoas (id) { [INFO] [stdout] 37 | | id -> Nullable, [INFO] [stdout] 38 | | nome -> Text, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / table! { [INFO] [stdout] 36 | | pessoas (id) { [INFO] [stdout] 37 | | id -> Nullable, [INFO] [stdout] 38 | | nome -> Text, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / table! { [INFO] [stdout] 36 | | pessoas (id) { [INFO] [stdout] 37 | | id -> Nullable, [INFO] [stdout] 38 | | nome -> Text, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_nome` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / table! { [INFO] [stdout] 36 | | pessoas (id) { [INFO] [stdout] 37 | | id -> Nullable, [INFO] [stdout] 38 | | nome -> Text, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_data_de_nascimento` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/schema.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / table! { [INFO] [stdout] 36 | | pessoas (id) { [INFO] [stdout] 37 | | id -> Nullable, [INFO] [stdout] 38 | | nome -> Text, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_email` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `human_resources` (bin "human_resources") due to 39 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "551302811a8dee63a778b638e85cc02197d3ff38473b05dc8ab0c91f1c57f6de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "551302811a8dee63a778b638e85cc02197d3ff38473b05dc8ab0c91f1c57f6de", kill_on_drop: false }` [INFO] [stdout] 551302811a8dee63a778b638e85cc02197d3ff38473b05dc8ab0c91f1c57f6de