[INFO] cloning repository https://github.com/gugi9000/twapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gugi9000/twapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgugi9000%2Ftwapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgugi9000%2Ftwapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9ee6c1c36c444579f707dcfc428bd7d5ad80dbc [INFO] checking gugi9000/twapi against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgugi9000%2Ftwapi" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gugi9000/twapi on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gugi9000/twapi [INFO] finished tweaking git repo https://github.com/gugi9000/twapi [INFO] tweaked toml for git repo https://github.com/gugi9000/twapi written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/gugi9000/twapi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 86e3c7c2d7cccea2b0ee8992e645710ea293b84c037f76b7fe2805b907f3e5f5 [INFO] running `Command { std: "docker" "start" "-a" "86e3c7c2d7cccea2b0ee8992e645710ea293b84c037f76b7fe2805b907f3e5f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86e3c7c2d7cccea2b0ee8992e645710ea293b84c037f76b7fe2805b907f3e5f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e3c7c2d7cccea2b0ee8992e645710ea293b84c037f76b7fe2805b907f3e5f5", kill_on_drop: false }` [INFO] [stdout] 86e3c7c2d7cccea2b0ee8992e645710ea293b84c037f76b7fe2805b907f3e5f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56ee1d8e6fc386bf29fed8d9ef8db10cbeec45adf5104750e863ede7e153468d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "56ee1d8e6fc386bf29fed8d9ef8db10cbeec45adf5104750e863ede7e153468d", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking lazycell v0.4.0 [INFO] [stderr] Checking md5 v0.3.3 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking net2 v0.2.26 [INFO] [stderr] Checking futures v0.1.10 [INFO] [stderr] Checking winauth v0.1.0 (https://github.com/steffengy/winauth-rs#051f34be) [INFO] [stderr] Checking mio v0.6.4 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Checking num v0.1.36 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking tokio-core v0.1.4 [INFO] [stderr] Checking futures-state-stream v0.1.0 [INFO] [stderr] Checking tiberius v0.2.0 (https://github.com/steffengy/tiberius.git#4b919b92) [INFO] [stderr] Checking twapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/main.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | fn getHoursByMonth(year: i32, month: i32) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `month` [INFO] [stdout] --> src/main.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | fn getHoursByMonth(year: i32, month: i32) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let query = format!("select [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `days` [INFO] [stdout] --> src/main.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | fn getHoursLastXDays (days: i32) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_days` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/main.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | fn getManagedServiceCases(amount: i32) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut hours = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut customers = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getHoursByMonth` [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn getHoursByMonth(year: i32, month: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getCustomerByMonth` [INFO] [stdout] --> src/main.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn getCustomerByMonth(year: i32, month: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getHoursLastXDays` [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn getHoursLastXDays (days: i32) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getNumberOfWorkingDays` [INFO] [stdout] --> src/main.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn getNumberOfWorkingDays() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `printStats` [INFO] [stdout] --> src/main.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn printStats() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getPendingCases` [INFO] [stdout] --> src/main.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn getPendingCases() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getManagedServiceCases` [INFO] [stdout] --> src/main.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | fn getManagedServiceCases(amount: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getLastRegisteredHours` [INFO] [stdout] --> src/main.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn getLastRegisteredHours() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getHoursPerCustomer` [INFO] [stdout] --> src/main.rs:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn getHoursPerCustomer() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getHoursPerCustomerAsJson` [INFO] [stdout] --> src/main.rs:360:4 [INFO] [stdout] | [INFO] [stdout] 360 | fn getHoursPerCustomerAsJson() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getOpenCases` [INFO] [stdout] --> src/main.rs:378:4 [INFO] [stdout] | [INFO] [stdout] 378 | fn getOpenCases() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getCaseDetails` [INFO] [stdout] --> src/main.rs:418:4 [INFO] [stdout] | [INFO] [stdout] 418 | fn getCaseDetails() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getPassedDueCases` [INFO] [stdout] --> src/main.rs:444:4 [INFO] [stdout] | [INFO] [stdout] 444 | fn getPassedDueCases() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getHoursPerEmployee` [INFO] [stdout] --> src/main.rs:510:4 [INFO] [stdout] | [INFO] [stdout] 510 | fn getHoursPerEmployee() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHoursByMonth` should have a snake case name [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn getHoursByMonth(year: i32, month: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_hours_by_month` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getCustomerByMonth` should have a snake case name [INFO] [stdout] --> src/main.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn getCustomerByMonth(year: i32, month: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_customer_by_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHoursLastXDays` should have a snake case name [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn getHoursLastXDays (days: i32) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_hours_last_xdays` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getNumberOfWorkingDays` should have a snake case name [INFO] [stdout] --> src/main.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn getNumberOfWorkingDays() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_number_of_working_days` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printStats` should have a snake case name [INFO] [stdout] --> src/main.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn printStats() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `print_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getPendingCases` should have a snake case name [INFO] [stdout] --> src/main.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn getPendingCases() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pending_cases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getManagedServiceCases` should have a snake case name [INFO] [stdout] --> src/main.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | fn getManagedServiceCases(amount: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_managed_service_cases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getLastRegisteredHours` should have a snake case name [INFO] [stdout] --> src/main.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn getLastRegisteredHours() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_last_registered_hours` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHoursPerCustomer` should have a snake case name [INFO] [stdout] --> src/main.rs:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn getHoursPerCustomer() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_hours_per_customer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHoursPerCustomerAsJson` should have a snake case name [INFO] [stdout] --> src/main.rs:360:4 [INFO] [stdout] | [INFO] [stdout] 360 | fn getHoursPerCustomerAsJson() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_hours_per_customer_as_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getOpenCases` should have a snake case name [INFO] [stdout] --> src/main.rs:378:4 [INFO] [stdout] | [INFO] [stdout] 378 | fn getOpenCases() { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_open_cases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getCaseDetails` should have a snake case name [INFO] [stdout] --> src/main.rs:418:4 [INFO] [stdout] | [INFO] [stdout] 418 | fn getCaseDetails() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_case_details` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getPassedDueCases` should have a snake case name [INFO] [stdout] --> src/main.rs:444:4 [INFO] [stdout] | [INFO] [stdout] 444 | fn getPassedDueCases() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_passed_due_cases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHoursPerEmployee` should have a snake case name [INFO] [stdout] --> src/main.rs:510:4 [INFO] [stdout] | [INFO] [stdout] 510 | fn getHoursPerEmployee() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_hours_per_employee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/main.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | fn getHoursByMonth(year: i32, month: i32) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `month` [INFO] [stdout] --> src/main.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | fn getHoursByMonth(year: i32, month: i32) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let query = format!("select [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `days` [INFO] [stdout] --> src/main.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | fn getHoursLastXDays (days: i32) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_days` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/main.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | fn getManagedServiceCases(amount: i32) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut hours = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut customers = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getHoursByMonth` [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn getHoursByMonth(year: i32, month: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getCustomerByMonth` [INFO] [stdout] --> src/main.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn getCustomerByMonth(year: i32, month: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getHoursLastXDays` [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn getHoursLastXDays (days: i32) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getNumberOfWorkingDays` [INFO] [stdout] --> src/main.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn getNumberOfWorkingDays() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `printStats` [INFO] [stdout] --> src/main.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn printStats() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getPendingCases` [INFO] [stdout] --> src/main.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn getPendingCases() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getManagedServiceCases` [INFO] [stdout] --> src/main.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | fn getManagedServiceCases(amount: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `tiberius::DynamicConnectionTarget` is private [INFO] [stdout] --> src/main.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let future = SqlConnection::connect(lp.handle(), connect_string.as_str()).and_then(|conn| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getLastRegisteredHours` [INFO] [stdout] --> src/main.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn getLastRegisteredHours() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getHoursPerCustomer` [INFO] [stdout] --> src/main.rs:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn getHoursPerCustomer() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getHoursPerCustomerAsJson` [INFO] [stdout] --> src/main.rs:360:4 [INFO] [stdout] | [INFO] [stdout] 360 | fn getHoursPerCustomerAsJson() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getOpenCases` [INFO] [stdout] --> src/main.rs:378:4 [INFO] [stdout] | [INFO] [stdout] 378 | fn getOpenCases() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getCaseDetails` [INFO] [stdout] --> src/main.rs:418:4 [INFO] [stdout] | [INFO] [stdout] 418 | fn getCaseDetails() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getPassedDueCases` [INFO] [stdout] --> src/main.rs:444:4 [INFO] [stdout] | [INFO] [stdout] 444 | fn getPassedDueCases() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getHoursPerEmployee` [INFO] [stdout] --> src/main.rs:510:4 [INFO] [stdout] | [INFO] [stdout] 510 | fn getHoursPerEmployee() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHoursByMonth` should have a snake case name [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn getHoursByMonth(year: i32, month: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_hours_by_month` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getCustomerByMonth` should have a snake case name [INFO] [stdout] --> src/main.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn getCustomerByMonth(year: i32, month: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_customer_by_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHoursLastXDays` should have a snake case name [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn getHoursLastXDays (days: i32) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_hours_last_xdays` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getNumberOfWorkingDays` should have a snake case name [INFO] [stdout] --> src/main.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn getNumberOfWorkingDays() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_number_of_working_days` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printStats` should have a snake case name [INFO] [stdout] --> src/main.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn printStats() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `print_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getPendingCases` should have a snake case name [INFO] [stdout] --> src/main.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn getPendingCases() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pending_cases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getManagedServiceCases` should have a snake case name [INFO] [stdout] --> src/main.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | fn getManagedServiceCases(amount: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_managed_service_cases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getLastRegisteredHours` should have a snake case name [INFO] [stdout] --> src/main.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn getLastRegisteredHours() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_last_registered_hours` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHoursPerCustomer` should have a snake case name [INFO] [stdout] --> src/main.rs:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn getHoursPerCustomer() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_hours_per_customer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHoursPerCustomerAsJson` should have a snake case name [INFO] [stdout] --> src/main.rs:360:4 [INFO] [stdout] | [INFO] [stdout] 360 | fn getHoursPerCustomerAsJson() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_hours_per_customer_as_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getOpenCases` should have a snake case name [INFO] [stdout] --> src/main.rs:378:4 [INFO] [stdout] | [INFO] [stdout] 378 | fn getOpenCases() { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_open_cases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getCaseDetails` should have a snake case name [INFO] [stdout] --> src/main.rs:418:4 [INFO] [stdout] | [INFO] [stdout] 418 | fn getCaseDetails() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_case_details` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getPassedDueCases` should have a snake case name [INFO] [stdout] --> src/main.rs:444:4 [INFO] [stdout] | [INFO] [stdout] 444 | fn getPassedDueCases() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_passed_due_cases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHoursPerEmployee` should have a snake case name [INFO] [stdout] --> src/main.rs:510:4 [INFO] [stdout] | [INFO] [stdout] 510 | fn getHoursPerEmployee() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_hours_per_employee` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `twapi` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: type `tiberius::DynamicConnectionTarget` is private [INFO] [stdout] --> src/main.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let future = SqlConnection::connect(lp.handle(), connect_string.as_str()).and_then(|conn| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "56ee1d8e6fc386bf29fed8d9ef8db10cbeec45adf5104750e863ede7e153468d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56ee1d8e6fc386bf29fed8d9ef8db10cbeec45adf5104750e863ede7e153468d", kill_on_drop: false }` [INFO] [stdout] 56ee1d8e6fc386bf29fed8d9ef8db10cbeec45adf5104750e863ede7e153468d