[INFO] cloning repository https://github.com/JannethOlivarez/migraci-n-de-datos-csv-con-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JannethOlivarez/migraci-n-de-datos-csv-con-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJannethOlivarez%2Fmigraci-n-de-datos-csv-con-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJannethOlivarez%2Fmigraci-n-de-datos-csv-con-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f9bcc22a38243f52275a8bebc42931dafd03c22 [INFO] testing JannethOlivarez/migraci-n-de-datos-csv-con-rust against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJannethOlivarez%2Fmigraci-n-de-datos-csv-con-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JannethOlivarez/migraci-n-de-datos-csv-con-rust on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JannethOlivarez/migraci-n-de-datos-csv-con-rust [INFO] finished tweaking git repo https://github.com/JannethOlivarez/migraci-n-de-datos-csv-con-rust [INFO] tweaked toml for git repo https://github.com/JannethOlivarez/migraci-n-de-datos-csv-con-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JannethOlivarez/migraci-n-de-datos-csv-con-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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syntex_fmt_macros v0.5.0 [INFO] [stderr] Downloaded actix-web-codegen v0.2.2 [INFO] [stderr] Downloaded derive-error-chain v0.11.2 [INFO] [stderr] Downloaded twoway v0.2.1 [INFO] [stderr] Downloaded dotenv v0.11.0 [INFO] [stderr] Downloaded actix-multipart v0.2.0 [INFO] [stderr] Downloaded csv v1.1.5 [INFO] [stderr] Downloaded sanitize-filename v0.2.1 [INFO] [stderr] Downloaded actix-router v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3bfaf8a8ee7a26f5cd5b6d2caffd976a4730cd126c395c9bbd23bb330b764ca [INFO] running `Command { std: "docker" "start" "-a" "a3bfaf8a8ee7a26f5cd5b6d2caffd976a4730cd126c395c9bbd23bb330b764ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3bfaf8a8ee7a26f5cd5b6d2caffd976a4730cd126c395c9bbd23bb330b764ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3bfaf8a8ee7a26f5cd5b6d2caffd976a4730cd126c395c9bbd23bb330b764ca", kill_on_drop: false }` [INFO] [stdout] a3bfaf8a8ee7a26f5cd5b6d2caffd976a4730cd126c395c9bbd23bb330b764ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79846b5f3d45bf3ea6ba96c2207dc853ce4c5a84d2799b47a1e0d444a49371c3 [INFO] running `Command { std: "docker" "start" "-a" "79846b5f3d45bf3ea6ba96c2207dc853ce4c5a84d2799b47a1e0d444a49371c3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling syntex_fmt_macros v0.5.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling sanitize-filename v0.2.1 [INFO] [stderr] Compiling listenfd v0.3.3 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling derive-error-chain v0.11.2 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling futures-executor v0.3.12 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling dotenv v0.11.0 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling actix-router v0.2.6 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling csv v1.1.5 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix-multipart v0.2.0 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling emply v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `r2d2` is imported redundantly [INFO] [stdout] --> src/db.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use r2d2; [INFO] [stdout] | ^^^^ the item `r2d2` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/personas/model.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDate` [INFO] [stdout] --> src/personas/model.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{DateTime, Local, NaiveDate,NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::format::ParseError` [INFO] [stdout] --> src/personas/model.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use chrono::format::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/personas/model.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn validar_persona( mut identificacion_data: String, [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/personas/model.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut identificacion = &identificacion_data; [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/personas/model.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut email = &email_data; [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/personas/model.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let mut direccion = &direccion_data; [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/personas/model.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut fecha_nacimiento = &fecha_nacimiento_data; [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/personas/model.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn numerodocumento(mut numerodoc: String)-> bool{ [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `digito` is never read [INFO] [stdout] --> src/personas/model.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | let mut digito=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: variable does not need to be mutable [INFO] [stdout] --> src/personas/model.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn verificador(mut cedula: String) -> bool{ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/personas/routes.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | for result in records { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 66 | while let Ok(result) = records { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider unwrapping the `Result` with `?` to iterate over its contents [INFO] [stdout] | [INFO] [stdout] 66 | for result in records? { [INFO] [stdout] | + [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 66 | if let Ok(result) = records { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [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" "79846b5f3d45bf3ea6ba96c2207dc853ce4c5a84d2799b47a1e0d444a49371c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79846b5f3d45bf3ea6ba96c2207dc853ce4c5a84d2799b47a1e0d444a49371c3", kill_on_drop: false }` [INFO] [stdout] 79846b5f3d45bf3ea6ba96c2207dc853ce4c5a84d2799b47a1e0d444a49371c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e40ba9b6d132427e3ba2dd405b44c41c4d8e3af11707fad26060997f1ac2b850 [INFO] running `Command { std: "docker" "start" "-a" "e40ba9b6d132427e3ba2dd405b44c41c4d8e3af11707fad26060997f1ac2b850", kill_on_drop: false }` [INFO] [stderr] Compiling emply v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `r2d2` is imported redundantly [INFO] [stdout] --> src/db.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use r2d2; [INFO] [stdout] | ^^^^ the item `r2d2` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/personas/model.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDate` [INFO] [stdout] --> src/personas/model.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{DateTime, Local, NaiveDate,NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::format::ParseError` [INFO] [stdout] --> src/personas/model.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use chrono::format::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/personas/model.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn validar_persona( mut identificacion_data: String, [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/personas/model.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut identificacion = &identificacion_data; [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/personas/model.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut email = &email_data; [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/personas/model.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let mut direccion = &direccion_data; [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/personas/model.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut fecha_nacimiento = &fecha_nacimiento_data; [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/personas/model.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn numerodocumento(mut numerodoc: String)-> bool{ [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `digito` is never read [INFO] [stdout] --> src/personas/model.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | let mut digito=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: variable does not need to be mutable [INFO] [stdout] --> src/personas/model.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn verificador(mut cedula: String) -> bool{ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/personas/routes.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | for result in records { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 66 | while let Ok(result) = records { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider unwrapping the `Result` with `?` to iterate over its contents [INFO] [stdout] | [INFO] [stdout] 66 | for result in records? { [INFO] [stdout] | + [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 66 | if let Ok(result) = records { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.86s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [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" "e40ba9b6d132427e3ba2dd405b44c41c4d8e3af11707fad26060997f1ac2b850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e40ba9b6d132427e3ba2dd405b44c41c4d8e3af11707fad26060997f1ac2b850", kill_on_drop: false }` [INFO] [stdout] e40ba9b6d132427e3ba2dd405b44c41c4d8e3af11707fad26060997f1ac2b850 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a5e3e608d2deb09ba3881b5e02335add6aed056922ff77037d7b6aef0ad793aa [INFO] running `Command { std: "docker" "start" "-a" "a5e3e608d2deb09ba3881b5e02335add6aed056922ff77037d7b6aef0ad793aa", kill_on_drop: false }` [INFO] [stderr] warning: the item `r2d2` is imported redundantly [INFO] [stderr] --> src/db.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use r2d2; [INFO] [stderr] | ^^^^ the item `r2d2` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt` [INFO] [stderr] --> src/personas/model.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::fmt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `NaiveDate` [INFO] [stderr] --> src/personas/model.rs:12:31 [INFO] [stderr] | [INFO] [stderr] 12 | use chrono::{DateTime, Local, NaiveDate,NaiveDateTime, Utc}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::format::ParseError` [INFO] [stderr] --> src/personas/model.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use chrono::format::ParseError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/personas/model.rs:84:29 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn validar_persona( mut identificacion_data: String, [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/personas/model.rs:95:13 [INFO] [stderr] | [INFO] [stderr] 95 | let mut identificacion = &identificacion_data; [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/personas/model.rs:96:13 [INFO] [stderr] | [INFO] [stderr] 96 | let mut email = &email_data; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/personas/model.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | let mut direccion = &direccion_data; [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/personas/model.rs:98:13 [INFO] [stderr] | [INFO] [stderr] 98 | let mut fecha_nacimiento = &fecha_nacimiento_data; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/personas/model.rs:135:28 [INFO] [stderr] | [INFO] [stderr] 135 | pub fn numerodocumento(mut numerodoc: String)-> bool{ [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `digito` is never read [INFO] [stderr] --> src/personas/model.rs:176:24 [INFO] [stderr] | [INFO] [stderr] 176 | let mut digito=0; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/personas/model.rs:163:24 [INFO] [stderr] | [INFO] [stderr] 163 | pub fn verificador(mut cedula: String) -> bool{ [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/personas/routes.rs:66:25 [INFO] [stderr] | [INFO] [stderr] 66 | for result in records { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 66 | while let Ok(result) = records { [INFO] [stderr] | ~~~~~~~~~~~~~ ~~~ [INFO] [stderr] help: consider unwrapping the `Result` with `?` to iterate over its contents [INFO] [stderr] | [INFO] [stderr] 66 | for result in records? { [INFO] [stderr] | + [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 66 | if let Ok(result) = records { [INFO] [stderr] | ~~~~~~~~~~ ~~~ [INFO] [stderr] [INFO] [stderr] warning: `emply` (bin "emply" test) generated 13 warnings (run `cargo fix --bin "emply" --tests` to apply 10 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/emply-761dadc011c02abf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a5e3e608d2deb09ba3881b5e02335add6aed056922ff77037d7b6aef0ad793aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5e3e608d2deb09ba3881b5e02335add6aed056922ff77037d7b6aef0ad793aa", kill_on_drop: false }` [INFO] [stdout] a5e3e608d2deb09ba3881b5e02335add6aed056922ff77037d7b6aef0ad793aa