[INFO] fetching crate sqlx-ts 0.1.0-alpha.6... [INFO] building sqlx-ts-0.1.0-alpha.6 against try#0179c3cb935eb588d407cb784f436ae84d99db5c for pr-107620-1 [INFO] extracting crate sqlx-ts 0.1.0-alpha.6 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate sqlx-ts 0.1.0-alpha.6 on toolchain 0179c3cb935eb588d407cb784f436ae84d99db5c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate sqlx-ts 0.1.0-alpha.6 [INFO] finished tweaking crates.io crate sqlx-ts 0.1.0-alpha.6 [INFO] tweaked toml for crates.io crate sqlx-ts 0.1.0-alpha.6 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate sqlx-ts 0.1.0-alpha.6 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" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38d2aa3585577bcdebdd3cb5ba16d34049213db16418cde1ecef6b47d0aead5d [INFO] running `Command { std: "docker" "start" "-a" "38d2aa3585577bcdebdd3cb5ba16d34049213db16418cde1ecef6b47d0aead5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38d2aa3585577bcdebdd3cb5ba16d34049213db16418cde1ecef6b47d0aead5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38d2aa3585577bcdebdd3cb5ba16d34049213db16418cde1ecef6b47d0aead5d", kill_on_drop: false }` [INFO] [stdout] 38d2aa3585577bcdebdd3cb5ba16d34049213db16418cde1ecef6b47d0aead5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e92a4c385b7e7bae01c0f2afc35c721e0f49d5acd1f0295d70ce65cc3223f3b0 [INFO] running `Command { std: "docker" "start" "-a" "e92a4c385b7e7bae01c0f2afc35c721e0f49d5acd1f0295d70ce65cc3223f3b0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling lexical-util v0.8.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling clang-sys v1.3.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling frunk_core v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling lexical-write-integer v0.8.3 [INFO] [stderr] Compiling lexical-parse-integer v0.8.3 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling lexical-parse-float v0.8.3 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling lexical-write-float v0.8.4 [INFO] [stderr] Compiling libz-sys v1.1.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling swc_atoms v0.2.9 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling lexical-core v0.8.3 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling subprocess v0.2.8 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling rust_decimal v1.23.1 [INFO] [stderr] Compiling wyz v0.4.0 [INFO] [stderr] Compiling postgres-protocol v0.6.3 [INFO] [stderr] Compiling better_scoped_tls v0.1.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling lexical v6.1.0 [INFO] [stderr] Compiling debug_unreachable v0.1.1 [INFO] [stderr] Compiling io-enum v1.0.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling swc_macros_common v0.3.2 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling bitvec v0.22.3 [INFO] [stderr] Compiling postgres-types v0.2.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling saturating v0.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling unicode-id v0.3.0 [INFO] [stderr] Compiling mysql v22.1.0 [INFO] [stderr] Compiling lru v0.7.5 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling twox-hash v1.6.2 [INFO] [stderr] Compiling pem v1.0.2 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling frunk_proc_macros_impl v0.1.0 [INFO] [stderr] Compiling swc_visit_macros v0.3.1 [INFO] [stderr] Compiling frunk_derives v0.4.0 [INFO] [stderr] Compiling from_variant v0.1.3 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling string_enum v0.3.1 [INFO] [stderr] Compiling is-macro v0.2.0 [INFO] [stderr] Compiling frunk_proc_macros v0.1.0 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling ast_node v0.7.7 [INFO] [stderr] Compiling enum_kind v0.2.1 [INFO] [stderr] Compiling swc_ecma_parser_macros v0.4.1 [INFO] [stderr] Compiling frunk v0.4.0 [INFO] [stderr] Compiling mysql_common v0.28.2 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling swc_visit v0.3.0 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-postgres v0.7.5 [INFO] [stderr] Compiling postgres v0.19.2 [INFO] [stderr] Compiling string_cache v0.8.3 [INFO] [stderr] Compiling bigdecimal v0.3.0 [INFO] [stderr] Compiling swc_common v0.17.18 [INFO] [stderr] Compiling swc_ecma_ast v0.72.0 [INFO] [stderr] Compiling swc_ecma_parser v0.96.0 [INFO] [stderr] Compiling sqlx-ts v0.1.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ArgEnum` [INFO] [stdout] --> src/common/cli.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{ArgEnum, Parser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/core/mysql/explain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/mod.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | .map_err(|mut e| { [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: fields `cli_args` and `dotenv` are never read [INFO] [stdout] --> src/common/config.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 34 | cli_args: Cli, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | dotenv: Dotenv, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `required_var_msg` is never used [INFO] [stdout] --> src/common/config.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn required_var_msg(key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | &sqls_container.append(&mut sqls); [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] 39 | let _ = &sqls_container.append(&mut sqls); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | &sqls_container.append(&mut result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = &sqls_container.append(&mut result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | &sqls_container.append(sqls.borrow_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = &sqls_container.append(sqls.borrow_mut()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | &sqls_container.append(&mut result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 155 | let _ = &sqls_container.append(&mut result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArgEnum` [INFO] [stdout] --> src/common/cli.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{ArgEnum, Parser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/core/mysql/explain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArgEnum`, `Args`, `Subcommand` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use clap::{ArgEnum, Args, Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/mod.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | .map_err(|mut e| { [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: fields `cli_args` and `dotenv` are never read [INFO] [stdout] --> src/common/config.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 34 | cli_args: Cli, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | dotenv: Dotenv, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `required_var_msg` is never used [INFO] [stdout] --> src/common/config.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn required_var_msg(key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | &sqls_container.append(&mut sqls); [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] 39 | let _ = &sqls_container.append(&mut sqls); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | &sqls_container.append(&mut result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = &sqls_container.append(&mut result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | &sqls_container.append(sqls.borrow_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = &sqls_container.append(sqls.borrow_mut()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | &sqls_container.append(&mut result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 155 | let _ = &sqls_container.append(&mut result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "e92a4c385b7e7bae01c0f2afc35c721e0f49d5acd1f0295d70ce65cc3223f3b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e92a4c385b7e7bae01c0f2afc35c721e0f49d5acd1f0295d70ce65cc3223f3b0", kill_on_drop: false }` [INFO] [stdout] e92a4c385b7e7bae01c0f2afc35c721e0f49d5acd1f0295d70ce65cc3223f3b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 515ac0c282ed15af9d995b8ce429b8b903daad2f73225631655e0bd9a2f90d19 [INFO] running `Command { std: "docker" "start" "-a" "515ac0c282ed15af9d995b8ce429b8b903daad2f73225631655e0bd9a2f90d19", kill_on_drop: false }` [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stdout] warning: unused import: `ArgEnum` [INFO] [stdout] --> src/common/cli.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{ArgEnum, Parser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/core/mysql/explain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/mod.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | .map_err(|mut e| { [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: fields `cli_args` and `dotenv` are never read [INFO] [stdout] --> src/common/config.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 34 | cli_args: Cli, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | dotenv: Dotenv, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `required_var_msg` is never used [INFO] [stdout] --> src/common/config.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn required_var_msg(key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | &sqls_container.append(&mut sqls); [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] 39 | let _ = &sqls_container.append(&mut sqls); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | &sqls_container.append(&mut result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = &sqls_container.append(&mut result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | &sqls_container.append(sqls.borrow_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = &sqls_container.append(sqls.borrow_mut()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | &sqls_container.append(&mut result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 155 | let _ = &sqls_container.append(&mut result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArgEnum` [INFO] [stdout] --> src/common/cli.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{ArgEnum, Parser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/core/mysql/explain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArgEnum`, `Args`, `Subcommand` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use clap::{ArgEnum, Args, Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/mod.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | .map_err(|mut e| { [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: fields `cli_args` and `dotenv` are never read [INFO] [stdout] --> src/common/config.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 34 | cli_args: Cli, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | dotenv: Dotenv, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `required_var_msg` is never used [INFO] [stdout] --> src/common/config.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn required_var_msg(key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | &sqls_container.append(&mut sqls); [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] 39 | let _ = &sqls_container.append(&mut sqls); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | &sqls_container.append(&mut result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = &sqls_container.append(&mut result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | &sqls_container.append(sqls.borrow_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = &sqls_container.append(sqls.borrow_mut()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | &sqls_container.append(&mut result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 155 | let _ = &sqls_container.append(&mut result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling predicates v2.1.1 [INFO] [stderr] Compiling assert_cmd v2.0.4 [INFO] [stderr] Compiling sqlx-ts v0.1.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `predicates::prelude::*` [INFO] [stdout] --> tests/postgres_test_failure-path1.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use predicates::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `predicates::prelude::*` [INFO] [stdout] --> tests/postgres_test_happy_path1.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use predicates::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `predicates::prelude::*` [INFO] [stdout] --> tests/js_postgres_test_failure_path1.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use predicates::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `predicates::prelude::*` [INFO] [stdout] --> tests/js_mysql_test_failure_path1.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use predicates::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `predicates::prelude::*` [INFO] [stdout] --> tests/js_postgres_test_happy_path1.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use predicates::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `predicates::prelude::*` [INFO] [stdout] --> tests/mysql_test_failure_path1.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use predicates::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `predicates::prelude::*` [INFO] [stdout] --> tests/mysql_test_happy_path1.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use predicates::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `predicates::prelude::*` [INFO] [stdout] --> tests/js_mysql_test_happy_path1.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use predicates::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArgEnum` [INFO] [stdout] --> src/common/cli.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{ArgEnum, Parser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/core/mysql/explain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArgEnum` [INFO] [stdout] --> src/common/cli.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{ArgEnum, Parser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/core/mysql/explain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArgEnum`, `Args`, `Subcommand` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use clap::{ArgEnum, Args, Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/mod.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | .map_err(|mut e| { [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: fields `cli_args` and `dotenv` are never read [INFO] [stdout] --> src/common/config.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 34 | cli_args: Cli, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | dotenv: Dotenv, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `required_var_msg` is never used [INFO] [stdout] --> src/common/config.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn required_var_msg(key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | &sqls_container.append(&mut sqls); [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] 39 | let _ = &sqls_container.append(&mut sqls); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | &sqls_container.append(&mut result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = &sqls_container.append(&mut result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | &sqls_container.append(sqls.borrow_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = &sqls_container.append(sqls.borrow_mut()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | &sqls_container.append(&mut result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 155 | let _ = &sqls_container.append(&mut result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/mod.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | .map_err(|mut e| { [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: fields `cli_args` and `dotenv` are never read [INFO] [stdout] --> src/common/config.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 34 | cli_args: Cli, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | dotenv: Dotenv, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `required_var_msg` is never used [INFO] [stdout] --> src/common/config.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn required_var_msg(key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | &sqls_container.append(&mut sqls); [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] 39 | let _ = &sqls_container.append(&mut sqls); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | &sqls_container.append(&mut result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = &sqls_container.append(&mut result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | &sqls_container.append(sqls.borrow_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = &sqls_container.append(sqls.borrow_mut()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser/mod.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | &sqls_container.append(&mut result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 155 | let _ = &sqls_container.append(&mut result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.64s [INFO] running `Command { std: "docker" "inspect" "515ac0c282ed15af9d995b8ce429b8b903daad2f73225631655e0bd9a2f90d19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "515ac0c282ed15af9d995b8ce429b8b903daad2f73225631655e0bd9a2f90d19", kill_on_drop: false }` [INFO] [stdout] 515ac0c282ed15af9d995b8ce429b8b903daad2f73225631655e0bd9a2f90d19