[INFO] cloning repository https://github.com/awakecoding/cirup-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/awakecoding/cirup-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawakecoding%2Fcirup-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawakecoding%2Fcirup-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9796bac6c5353c8ed05d0a68d93d45219786de7 [INFO] building awakecoding/cirup-rs against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawakecoding%2Fcirup-rs" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/awakecoding/cirup-rs on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/awakecoding/cirup-rs [INFO] finished tweaking git repo https://github.com/awakecoding/cirup-rs [INFO] tweaked toml for git repo https://github.com/awakecoding/cirup-rs written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/awakecoding/cirup-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/awakecoding/treexml-rs.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winreg v0.5.1 [INFO] [stderr] Downloaded yaml-rust v0.3.5 [INFO] [stderr] Downloaded serde-xml-rs v0.3.1 [INFO] [stderr] Downloaded rusqlite v0.14.0 [INFO] [stderr] Downloaded csv v0.15.0 [INFO] [stderr] Downloaded prettytable-rs v0.6.7 [INFO] [stderr] Downloaded uuid v0.6.5 [INFO] [stderr] Downloaded dot_json v0.2.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.9.4 [INFO] [stderr] Downloaded find_git v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4f6dc3fd6cb0f55f659eb9568eb0f004eae4b14d83b2d25edf6a539b41e9835 [INFO] running `Command { std: "docker" "start" "-a" "a4f6dc3fd6cb0f55f659eb9568eb0f004eae4b14d83b2d25edf6a539b41e9835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4f6dc3fd6cb0f55f659eb9568eb0f004eae4b14d83b2d25edf6a539b41e9835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4f6dc3fd6cb0f55f659eb9568eb0f004eae4b14d83b2d25edf6a539b41e9835", kill_on_drop: false }` [INFO] [stdout] a4f6dc3fd6cb0f55f659eb9568eb0f004eae4b14d83b2d25edf6a539b41e9835 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] becf7ec1f1010afc2fcefcbf75d4ffd3c058fcccefe1399f925ebc3e80415560 [INFO] running `Command { std: "docker" "start" "-a" "becf7ec1f1010afc2fcefcbf75d4ffd3c058fcccefe1399f925ebc3e80415560", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling find_git v1.2.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling libsqlite3-sys v0.9.4 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling csv v0.15.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling prettytable-rs v0.6.7 [INFO] [stderr] Compiling dot_json v0.2.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling serde-xml-rs v0.3.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling treexml v0.7.0 (https://github.com/awakecoding/treexml-rs.git?branch=indexmap#f668ac96) [INFO] [stderr] Compiling rusqlite v0.14.0 [INFO] [stderr] Compiling cirup_core v0.1.0 (/opt/rustwide/workdir/cirup_core) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> cirup_core/src/restext.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / /** [INFO] [stdout] 12 | | * .restext file format: [INFO] [stdout] 13 | | * https://docs.microsoft.com/en-us/dotnet/framework/tools/resgen-exe-resource-file-generator [INFO] [stdout] 14 | | * https://docs.microsoft.com/en-us/dotnet/framework/resources/creating-resource-files-for-desktop-apps [INFO] [stdout] 15 | | */ [INFO] [stdout] | |___^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> cirup_core/src/vtab.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | let arg = try!(str::from_utf8(c_slice)).trim(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> cirup_core/src/vtab.rs:133:34 [INFO] [stdout] | [INFO] [stdout] 133 | let (param, value) = try!(CirupTab::parameter(c_slice)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cirup_core/src/query.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut column_names = get_statement_column_names(&statement); [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: variant is never constructed: `Io` [INFO] [stdout] --> cirup_core/src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Io(io::Error), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `CirupError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cirup_core/src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[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: variant is never constructed: `Unknown` [INFO] [stdout] --> cirup_core/src/file.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_format_type_from_extension` [INFO] [stdout] --> cirup_core/src/file.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_format_type_from_extension(extension: &str) -> FormatType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_resource_str` [INFO] [stdout] --> cirup_core/src/file.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn load_resource_str(text: &str, extension: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vfile_id` [INFO] [stdout] --> cirup_core/src/file.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn vfile_id() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> cirup_core/src/vtab.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | &db.execute_batch(&sql).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 65 | let _ = &db.execute_batch(&sql).unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cirup_cli v0.1.0 (/opt/rustwide/workdir/cirup_cli) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "becf7ec1f1010afc2fcefcbf75d4ffd3c058fcccefe1399f925ebc3e80415560", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "becf7ec1f1010afc2fcefcbf75d4ffd3c058fcccefe1399f925ebc3e80415560", kill_on_drop: false }` [INFO] [stdout] becf7ec1f1010afc2fcefcbf75d4ffd3c058fcccefe1399f925ebc3e80415560 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ea2373d9aaa282f3bf321624fd7744ad3f3c56cf4d275e0bfff66f16312c76b [INFO] running `Command { std: "docker" "start" "-a" "8ea2373d9aaa282f3bf321624fd7744ad3f3c56cf4d275e0bfff66f16312c76b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cirup_core v0.1.0 (/opt/rustwide/workdir/cirup_core) [INFO] [stderr] Compiling cirup_cli v0.1.0 (/opt/rustwide/workdir/cirup_cli) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> cirup_core/src/restext.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / /** [INFO] [stdout] 12 | | * .restext file format: [INFO] [stdout] 13 | | * https://docs.microsoft.com/en-us/dotnet/framework/tools/resgen-exe-resource-file-generator [INFO] [stdout] 14 | | * https://docs.microsoft.com/en-us/dotnet/framework/resources/creating-resource-files-for-desktop-apps [INFO] [stdout] 15 | | */ [INFO] [stdout] | |___^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> cirup_core/src/vtab.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | let arg = try!(str::from_utf8(c_slice)).trim(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> cirup_core/src/vtab.rs:133:34 [INFO] [stdout] | [INFO] [stdout] 133 | let (param, value) = try!(CirupTab::parameter(c_slice)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cirup_core/src/query.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut column_names = get_statement_column_names(&statement); [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: variant is never constructed: `Io` [INFO] [stdout] --> cirup_core/src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Io(io::Error), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `CirupError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cirup_core/src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[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: variant is never constructed: `Unknown` [INFO] [stdout] --> cirup_core/src/file.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_format_type_from_extension` [INFO] [stdout] --> cirup_core/src/file.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_format_type_from_extension(extension: &str) -> FormatType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_resource_str` [INFO] [stdout] --> cirup_core/src/file.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn load_resource_str(text: &str, extension: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vfile_id` [INFO] [stdout] --> cirup_core/src/file.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn vfile_id() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> cirup_core/src/vtab.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | &db.execute_batch(&sql).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 65 | let _ = &db.execute_batch(&sql).unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> cirup_core/src/restext.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / /** [INFO] [stdout] 12 | | * .restext file format: [INFO] [stdout] 13 | | * https://docs.microsoft.com/en-us/dotnet/framework/tools/resgen-exe-resource-file-generator [INFO] [stdout] 14 | | * https://docs.microsoft.com/en-us/dotnet/framework/resources/creating-resource-files-for-desktop-apps [INFO] [stdout] 15 | | */ [INFO] [stdout] | |___^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> cirup_core/src/vtab.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | let arg = try!(str::from_utf8(c_slice)).trim(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> cirup_core/src/vtab.rs:133:34 [INFO] [stdout] | [INFO] [stdout] 133 | let (param, value) = try!(CirupTab::parameter(c_slice)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cirup_core/src/query.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut column_names = get_statement_column_names(&statement); [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: variant is never constructed: `Io` [INFO] [stdout] --> cirup_core/src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Io(io::Error), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `CirupError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cirup_core/src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[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: variant is never constructed: `Unknown` [INFO] [stdout] --> cirup_core/src/file.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_format_type_from_extension` [INFO] [stdout] --> cirup_core/src/file.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_format_type_from_extension(extension: &str) -> FormatType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vfile_id` [INFO] [stdout] --> cirup_core/src/file.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn vfile_id() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> cirup_core/src/vtab.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | &db.execute_batch(&sql).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 65 | let _ = &db.execute_batch(&sql).unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 29s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/cirup-5314fa54853f317a) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cirup_core-e685b7bb80939540) [INFO] running `Command { std: "docker" "inspect" "8ea2373d9aaa282f3bf321624fd7744ad3f3c56cf4d275e0bfff66f16312c76b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ea2373d9aaa282f3bf321624fd7744ad3f3c56cf4d275e0bfff66f16312c76b", kill_on_drop: false }` [INFO] [stdout] 8ea2373d9aaa282f3bf321624fd7744ad3f3c56cf4d275e0bfff66f16312c76b