[INFO] cloning repository https://github.com/rippinrobr/csv_converter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rippinrobr/csv_converter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frippinrobr%2Fcsv_converter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frippinrobr%2Fcsv_converter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18802c3e262bfbb662b966fe32db5c75ea955675 [INFO] building rippinrobr/csv_converter against try#8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frippinrobr%2Fcsv_converter" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rippinrobr/csv_converter on toolchain 8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rippinrobr/csv_converter [INFO] finished tweaking git repo https://github.com/rippinrobr/csv_converter [INFO] tweaked toml for git repo https://github.com/rippinrobr/csv_converter written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate git repo https://github.com/rippinrobr/csv_converter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 323458636d753d14349946bf2e14ca04b36db4d889bfd184b3eb2c25eb7361ec [INFO] running `Command { std: "docker" "start" "-a" "323458636d753d14349946bf2e14ca04b36db4d889bfd184b3eb2c25eb7361ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "323458636d753d14349946bf2e14ca04b36db4d889bfd184b3eb2c25eb7361ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "323458636d753d14349946bf2e14ca04b36db4d889bfd184b3eb2c25eb7361ec", kill_on_drop: false }` [INFO] [stdout] 323458636d753d14349946bf2e14ca04b36db4d889bfd184b3eb2c25eb7361ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b06ff3b17b5076bafbb7ec357de1a1614bfed849f260a8166ed25e28ef7ee16b [INFO] running `Command { std: "docker" "start" "-a" "b06ff3b17b5076bafbb7ec357de1a1614bfed849f260a8166ed25e28ef7ee16b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling serde v1.0.83 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling byte-tools v0.3.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling fallible-iterator v0.1.6 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling opaque-debug v0.2.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling barrel v0.5.0-alpha0 (https://github.com/rippinrobr/barrel?branch=add-mysql-support#e7ba5f8d) [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling block-padding v0.1.2 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling base64 v0.10.0 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling sqlite3-src v0.2.10 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling clicolors-control v1.0.0 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling socket2 v0.3.8 [INFO] [stderr] Compiling float-cmp v0.4.0 [INFO] [stderr] Compiling atoi v0.3.1 [INFO] [stderr] Compiling number_prefix v0.2.8 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling crossbeam-epoch v0.7.0 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling sqlite v0.23.9 [INFO] [stderr] Compiling flate2 v1.0.6 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling csv-core v0.1.5 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling csv v1.0.5 [INFO] [stderr] Compiling postgres-shared v0.4.2 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling twox-hash v1.1.2 [INFO] [stderr] Compiling tempfile v3.0.5 [INFO] [stderr] Compiling globset v0.4.2 [INFO] [stderr] Compiling predicates v1.0.0 [INFO] [stderr] Compiling parking_lot v0.7.0 [INFO] [stderr] Compiling mysql_common v0.14.0 [INFO] [stderr] Compiling crossbeam-channel v0.3.4 [INFO] [stderr] Compiling console v0.7.2 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling indicatif v0.10.3 [INFO] [stderr] Compiling ignore v0.4.5 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.83 [INFO] [stderr] Compiling mysql v15.0.0 [INFO] [stderr] Compiling globwalk v0.5.0 [INFO] [stderr] Compiling assert_fs v0.10.0 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling structopt v0.2.14 [INFO] [stderr] Compiling csv-to v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/cache/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/cmd/db/mod.rs:206:33 [INFO] [stdout] | [INFO] [stdout] 206 | let first_letter = name.trim_right_matches(".csv").chars().next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/cmd/db/mod.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | name.trim_right_matches(".csv").to_string().replace(first_letter, &first_letter.to_string().to_uppercase()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `connection_info` [INFO] [stdout] --> src/cmd/db/config.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | connection_info: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd/db/config.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `db_type` [INFO] [stdout] --> src/cmd/db/config.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | db_type: Types, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd/db/config.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.43s [INFO] running `Command { std: "docker" "inspect" "b06ff3b17b5076bafbb7ec357de1a1614bfed849f260a8166ed25e28ef7ee16b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b06ff3b17b5076bafbb7ec357de1a1614bfed849f260a8166ed25e28ef7ee16b", kill_on_drop: false }` [INFO] [stdout] b06ff3b17b5076bafbb7ec357de1a1614bfed849f260a8166ed25e28ef7ee16b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e3249d8b7bf0ab3dff5ad6c6ba317a66eb81a5832e7b87698dccc000fc1370f [INFO] running `Command { std: "docker" "start" "-a" "8e3249d8b7bf0ab3dff5ad6c6ba317a66eb81a5832e7b87698dccc000fc1370f", 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] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/cache/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/cmd/db/mod.rs:206:33 [INFO] [stdout] | [INFO] [stdout] 206 | let first_letter = name.trim_right_matches(".csv").chars().next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling csv-to v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/cmd/db/mod.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | name.trim_right_matches(".csv").to_string().replace(first_letter, &first_letter.to_string().to_uppercase()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `connection_info` [INFO] [stdout] --> src/cmd/db/config.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | connection_info: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd/db/config.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `db_type` [INFO] [stdout] --> src/cmd/db/config.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | db_type: Types, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd/db/config.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/cmdlineargs_test.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | ", env!("CARGO_PKG_VERSION"));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/cmdlineargs_test.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | ", env!("CARGO_PKG_VERSION"));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/cache/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assert_fs::prelude::*` [INFO] [stdout] --> src/parsers/csv.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | use assert_fs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assert_fs::prelude::*` [INFO] [stdout] --> src/parsers/csv.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | use assert_fs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/cmd/db/mod.rs:206:33 [INFO] [stdout] | [INFO] [stdout] 206 | let first_letter = name.trim_right_matches(".csv").chars().next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/cmd/db/mod.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | name.trim_right_matches(".csv").to_string().replace(first_letter, &first_letter.to_string().to_uppercase()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_path` [INFO] [stdout] --> src/parsers/csv.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let tmp_path = tmp_dir.into_path(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_path` [INFO] [stdout] --> src/parsers/csv.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | let tmp_path = tmp_dir.into_path(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/storage/mysql.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | Err(e) => assert_eq!(0, 1), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/storage/postgres.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | Err(e) => assert_eq!(0, 1), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `connection_info` [INFO] [stdout] --> src/cmd/db/config.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | connection_info: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd/db/config.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `db_type` [INFO] [stdout] --> src/cmd/db/config.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | db_type: Types, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd/db/config.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parsers/csv.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | panic!(format!("No Parsed content!! {}", e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 207 - panic!(format!("No Parsed content!! {}", e)) [INFO] [stdout] 207 + panic!("No Parsed content!! {}", e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parsers/csv.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | panic!(format!("No Parsed content!! {}", e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 245 - panic!(format!("No Parsed content!! {}", e)) [INFO] [stdout] 245 + panic!("No Parsed content!! {}", e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parsers/csv.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | std::fs::remove_dir_all(file_path.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parsers/csv.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | std::fs::remove_dir_all(file_path.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.38s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/csv_to-4a82e122726241eb) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/csv_to-7a823e8dc9328b94) [INFO] [stderr] Executable tests/cmdlineargs_test.rs (/opt/rustwide/target/debug/deps/cmdlineargs_test-de05b415991b5001) [INFO] running `Command { std: "docker" "inspect" "8e3249d8b7bf0ab3dff5ad6c6ba317a66eb81a5832e7b87698dccc000fc1370f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e3249d8b7bf0ab3dff5ad6c6ba317a66eb81a5832e7b87698dccc000fc1370f", kill_on_drop: false }` [INFO] [stdout] 8e3249d8b7bf0ab3dff5ad6c6ba317a66eb81a5832e7b87698dccc000fc1370f