[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] testing gugi9000/twapi against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgugi9000%2Ftwapi" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gugi9000/twapi on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-1/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 033eed7f0e5219f3d08dbf3e4629e0f9ffd64861257050b6d2ea386a392086f0 [INFO] running `Command { std: "docker" "start" "-a" "033eed7f0e5219f3d08dbf3e4629e0f9ffd64861257050b6d2ea386a392086f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "033eed7f0e5219f3d08dbf3e4629e0f9ffd64861257050b6d2ea386a392086f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "033eed7f0e5219f3d08dbf3e4629e0f9ffd64861257050b6d2ea386a392086f0", kill_on_drop: false }` [INFO] [stdout] 033eed7f0e5219f3d08dbf3e4629e0f9ffd64861257050b6d2ea386a392086f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f35627174c37e2ed448d14dafdd1492a76e4dc8117c4153b88dfbf1e1f6fbc4 [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" "1f35627174c37e2ed448d14dafdd1492a76e4dc8117c4153b88dfbf1e1f6fbc4", kill_on_drop: false }` [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling lazycell v0.4.0 [INFO] [stderr] Compiling md5 v0.3.3 [INFO] [stderr] Compiling time v0.1.36 [INFO] [stderr] Compiling net2 v0.2.26 [INFO] [stderr] Compiling futures v0.1.10 [INFO] [stderr] Compiling winauth v0.1.0 (https://github.com/steffengy/winauth-rs#051f34be) [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling mio v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.32 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling num-iter v0.1.32 [INFO] [stderr] Compiling num v0.1.36 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling futures-state-stream v0.1.0 [INFO] [stderr] Compiling tokio-core v0.1.4 [INFO] [stderr] Compiling tiberius v0.2.0 (https://github.com/steffengy/tiberius.git#4b919b92) [INFO] [stderr] Compiling 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] 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: could not compile `twapi` due to 2 previous errors; 35 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1f35627174c37e2ed448d14dafdd1492a76e4dc8117c4153b88dfbf1e1f6fbc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f35627174c37e2ed448d14dafdd1492a76e4dc8117c4153b88dfbf1e1f6fbc4", kill_on_drop: false }` [INFO] [stdout] 1f35627174c37e2ed448d14dafdd1492a76e4dc8117c4153b88dfbf1e1f6fbc4