[INFO] cloning repository https://github.com/TraselDa/D4Green [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TraselDa/D4Green" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTraselDa%2FD4Green", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTraselDa%2FD4Green'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81f5561852be5277852febacde0dab19d294b025 [INFO] checking TraselDa/D4Green against master#2e5723137b2b88368d018b262a0a823a1423131b for pr-78935-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTraselDa%2FD4Green" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TraselDa/D4Green on toolchain 2e5723137b2b88368d018b262a0a823a1423131b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2e5723137b2b88368d018b262a0a823a1423131b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TraselDa/D4Green [INFO] finished tweaking git repo https://github.com/TraselDa/D4Green [INFO] tweaked toml for git repo https://github.com/TraselDa/D4Green written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/TraselDa/D4Green already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2e5723137b2b88368d018b262a0a823a1423131b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+2e5723137b2b88368d018b262a0a823a1423131b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68344dd4da6ee24b9a233bcb876976097a910700f2845807c8a85bef6286d889 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "68344dd4da6ee24b9a233bcb876976097a910700f2845807c8a85bef6286d889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68344dd4da6ee24b9a233bcb876976097a910700f2845807c8a85bef6286d889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68344dd4da6ee24b9a233bcb876976097a910700f2845807c8a85bef6286d889", kill_on_drop: false }` [INFO] [stdout] 68344dd4da6ee24b9a233bcb876976097a910700f2845807c8a85bef6286d889 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+2e5723137b2b88368d018b262a0a823a1423131b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1e8f92c236f2976877702c22ed066ea9a854c3650537deee91ff13d3ba997d89 [INFO] running `Command { std: "docker" "start" "-a" "1e8f92c236f2976877702c22ed066ea9a854c3650537deee91ff13d3ba997d89", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking weezl v0.1.2 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-rational v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling proc-macro2 v0.1.10 [INFO] [stderr] Compiling rocket v0.4.5 [INFO] [stderr] Checking lz4-compress v0.1.0 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking snap v0.2.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling ghash v0.2.3 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking backtrace v0.3.54 [INFO] [stderr] Checking cdrs v2.3.3 [INFO] [stderr] Checking image v0.23.11 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Compiling cdrs_helpers_derive v0.1.0 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Checking rocket_http v0.4.5 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling rocket_codegen v0.4.5 [INFO] [stderr] Checking lopdf v0.26.0 [INFO] [stderr] Checking printpdf v0.3.3 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking tera v0.11.20 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking rocket_contrib v0.4.5 [INFO] [stderr] Checking eclipsed4g v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 'application/x-commune-paging' is not a known media type [INFO] [stdout] --> src/main.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | #[post("/loadTable",data="", format="application/x-commune-paging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 'application/x-commune-paging' is not a known media type [INFO] [stdout] --> src/main.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | #[post("/loadTable",data="", format="application/x-commune-paging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut session = connect_to_db(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_postal` [INFO] [stdout] --> src/db.rs:269:73 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn select_departements_by_code_postal(session: &mut CurrentSession, code_postal: &String,limit:i32)->CDRSResult>{ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_postal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/db.rs:326:57 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn select_all_communes(session: &mut CurrentSession,page:i32,last_commune:Option)->CDRSResult>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_id` [INFO] [stdout] --> src/db.rs:373:72 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn select_commune_by_name(session: &mut CurrentSession,name:String,last_id:Option)->CDRSResult>{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_id` [INFO] [stdout] --> src/db.rs:392:79 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn select_commune_by_departement(session: &mut CurrentSession,name:String,last_id:Option)->CDRSResult>{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paging` [INFO] [stdout] --> src/db.rs:432:62 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn select_commune_by_paging(session: &mut CurrentSession,paging: CommunePaging)->CDRSResult>{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_paging` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/db.rs:486:20 [INFO] [stdout] | [INFO] [stdout] 486 | .and_then(|rows| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/db.rs:502:20 [INFO] [stdout] | [INFO] [stdout] 502 | .and_then(|rows| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/db.rs:518:20 [INFO] [stdout] | [INFO] [stdout] 518 | .and_then(|rows| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut session = connect_to_db(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut session = connect_to_db(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_postal` [INFO] [stdout] --> src/db.rs:269:73 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn select_departements_by_code_postal(session: &mut CurrentSession, code_postal: &String,limit:i32)->CDRSResult>{ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_postal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/db.rs:326:57 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn select_all_communes(session: &mut CurrentSession,page:i32,last_commune:Option)->CDRSResult>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_id` [INFO] [stdout] --> src/db.rs:373:72 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn select_commune_by_name(session: &mut CurrentSession,name:String,last_id:Option)->CDRSResult>{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_id` [INFO] [stdout] --> src/db.rs:392:79 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn select_commune_by_departement(session: &mut CurrentSession,name:String,last_id:Option)->CDRSResult>{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paging` [INFO] [stdout] --> src/db.rs:432:62 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn select_commune_by_paging(session: &mut CurrentSession,paging: CommunePaging)->CDRSResult>{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_paging` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/db.rs:486:20 [INFO] [stdout] | [INFO] [stdout] 486 | .and_then(|rows| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/db.rs:502:20 [INFO] [stdout] | [INFO] [stdout] 502 | .and_then(|rows| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/db.rs:518:20 [INFO] [stdout] | [INFO] [stdout] 518 | .and_then(|rows| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut session = connect_to_db(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | let mut select:String; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | let mut params; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SELECT_DEPARTEMENT_BY_NAME` [INFO] [stdout] --> src/db.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / static SELECT_DEPARTEMENT_BY_NAME: &'static str = r#" [INFO] [stdout] 49 | | SELECT nomdep,nomr,indice FROM eclipse_base.Departements; [INFO] [stdout] 50 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `REGION_FIELDS` [INFO] [stdout] --> src/db.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / static REGION_FIELDS :&'static str=r#"id, [INFO] [stdout] 54 | | nom_com , [INFO] [stdout] 55 | | code_iris , [INFO] [stdout] 56 | | acces_a_linformation , [INFO] [stdout] ... | [INFO] [stdout] 66 | | population, [INFO] [stdout] 67 | | score_global"#; [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SELECT_ALL_REGION_BY_NAME_QUERY` [INFO] [stdout] --> src/db.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / static SELECT_ALL_REGION_BY_NAME_QUERY: &'static str = r#" [INFO] [stdout] 73 | | SELECT nomr FROM eclipse_base.Region WHERE nomr LIKE %?%; [INFO] [stdout] 74 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SELECT_COMMUNE_BY_IDS` [INFO] [stdout] --> src/db.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / static SELECT_COMMUNE_BY_IDS: &'static str = r#" [INFO] [stdout] 94 | | SELECT id, [INFO] [stdout] 95 | | nom_com , [INFO] [stdout] 96 | | code_iris , [INFO] [stdout] ... | [INFO] [stdout] 108 | | score_global FROM eclipse_base.communes_temp WHERE id= ? LIMIT 1 ALLOW FILTERING; [INFO] [stdout] 109 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SELECT_ALL_COMMUNE_ALL_PARAMS_QUERY` [INFO] [stdout] --> src/db.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | / static SELECT_ALL_COMMUNE_ALL_PARAMS_QUERY:&'static str = r#" [INFO] [stdout] 183 | | SELECT id, [INFO] [stdout] 184 | | nom_com , [INFO] [stdout] 185 | | code_iris , [INFO] [stdout] ... | [INFO] [stdout] 197 | | score_global FROM eclipse_base.communes_temp WHERE id > ? LIMIT 20 ALLOW FILTERING; [INFO] [stdout] 198 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `loadTable` should have a snake case name [INFO] [stdout] --> src/main.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn loadTable(paging:CommunePaging) -> Json> [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `load_table` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rocket_route_fn_loadTable` should have a snake case name [INFO] [stdout] --> src/main.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn loadTable(paging:CommunePaging) -> Json> [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rocket_route_fn_load_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | let mut select:String; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | let mut params; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SELECT_DEPARTEMENT_BY_NAME` [INFO] [stdout] --> src/db.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / static SELECT_DEPARTEMENT_BY_NAME: &'static str = r#" [INFO] [stdout] 49 | | SELECT nomdep,nomr,indice FROM eclipse_base.Departements; [INFO] [stdout] 50 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `REGION_FIELDS` [INFO] [stdout] --> src/db.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / static REGION_FIELDS :&'static str=r#"id, [INFO] [stdout] 54 | | nom_com , [INFO] [stdout] 55 | | code_iris , [INFO] [stdout] 56 | | acces_a_linformation , [INFO] [stdout] ... | [INFO] [stdout] 66 | | population, [INFO] [stdout] 67 | | score_global"#; [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SELECT_ALL_REGION_BY_NAME_QUERY` [INFO] [stdout] --> src/db.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / static SELECT_ALL_REGION_BY_NAME_QUERY: &'static str = r#" [INFO] [stdout] 73 | | SELECT nomr FROM eclipse_base.Region WHERE nomr LIKE %?%; [INFO] [stdout] 74 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SELECT_COMMUNE_BY_IDS` [INFO] [stdout] --> src/db.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / static SELECT_COMMUNE_BY_IDS: &'static str = r#" [INFO] [stdout] 94 | | SELECT id, [INFO] [stdout] 95 | | nom_com , [INFO] [stdout] 96 | | code_iris , [INFO] [stdout] ... | [INFO] [stdout] 108 | | score_global FROM eclipse_base.communes_temp WHERE id= ? LIMIT 1 ALLOW FILTERING; [INFO] [stdout] 109 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SELECT_ALL_COMMUNE_ALL_PARAMS_QUERY` [INFO] [stdout] --> src/db.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | / static SELECT_ALL_COMMUNE_ALL_PARAMS_QUERY:&'static str = r#" [INFO] [stdout] 183 | | SELECT id, [INFO] [stdout] 184 | | nom_com , [INFO] [stdout] 185 | | code_iris , [INFO] [stdout] ... | [INFO] [stdout] 197 | | score_global FROM eclipse_base.communes_temp WHERE id > ? LIMIT 20 ALLOW FILTERING; [INFO] [stdout] 198 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `loadTable` should have a snake case name [INFO] [stdout] --> src/main.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn loadTable(paging:CommunePaging) -> Json> [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `load_table` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rocket_route_fn_loadTable` should have a snake case name [INFO] [stdout] --> src/main.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn loadTable(paging:CommunePaging) -> Json> [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rocket_route_fn_load_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 59s [INFO] running `Command { std: "docker" "inspect" "1e8f92c236f2976877702c22ed066ea9a854c3650537deee91ff13d3ba997d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e8f92c236f2976877702c22ed066ea9a854c3650537deee91ff13d3ba997d89", kill_on_drop: false }` [INFO] [stdout] 1e8f92c236f2976877702c22ed066ea9a854c3650537deee91ff13d3ba997d89