[INFO] cloning repository https://github.com/leandroasilva/rust-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leandroasilva/rust-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleandroasilva%2Frust-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleandroasilva%2Frust-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fcfe6b64c54590628460fbbf3258d296bb3e655 [INFO] testing leandroasilva/rust-api against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleandroasilva%2Frust-api" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/leandroasilva/rust-api [INFO] finished tweaking git repo https://github.com/leandroasilva/rust-api [INFO] tweaked toml for git repo https://github.com/leandroasilva/rust-api written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leandroasilva/rust-api on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/leandroasilva/rust-api 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f191f06578442e83ad1ecf005df9dbe588cdf9c0fb6474be52260ebf8ef0479 [INFO] running `Command { std: "docker" "start" "-a" "8f191f06578442e83ad1ecf005df9dbe588cdf9c0fb6474be52260ebf8ef0479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f191f06578442e83ad1ecf005df9dbe588cdf9c0fb6474be52260ebf8ef0479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f191f06578442e83ad1ecf005df9dbe588cdf9c0fb6474be52260ebf8ef0479", kill_on_drop: false }` [INFO] [stdout] 8f191f06578442e83ad1ecf005df9dbe588cdf9c0fb6474be52260ebf8ef0479 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e6307a3acb293444c5e5dcc38520335dd2fa777b29eb970d16a020df09a4efe [INFO] running `Command { std: "docker" "start" "-a" "5e6307a3acb293444c5e5dcc38520335dd2fa777b29eb970d16a020df09a4efe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.12 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling stringprep v0.1.3 [INFO] [stderr] Compiling tokio v1.30.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling postgres-protocol v0.6.5 [INFO] [stderr] Compiling postgres-types v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-postgres v0.7.8 [INFO] [stderr] Compiling postgres v0.19.5 [INFO] [stderr] Compiling rust-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/main.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | fn handle_get_all_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let DB_URL : &str = binding.as_str(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | fn handle_client(mut stream: TcpStream, DB_URL: &str) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | fn handle_post_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:102:38 [INFO] [stdout] | [INFO] [stdout] 102 | fn handle_get_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:123:42 [INFO] [stdout] | [INFO] [stdout] 123 | fn handle_get_all_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | fn handle_put_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:166:41 [INFO] [stdout] | [INFO] [stdout] 166 | fn handle_delete_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | fn set_database(DB_URL: &str) -> Result<(), PostgresError> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.16s [INFO] running `Command { std: "docker" "inspect" "5e6307a3acb293444c5e5dcc38520335dd2fa777b29eb970d16a020df09a4efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e6307a3acb293444c5e5dcc38520335dd2fa777b29eb970d16a020df09a4efe", kill_on_drop: false }` [INFO] [stdout] 5e6307a3acb293444c5e5dcc38520335dd2fa777b29eb970d16a020df09a4efe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dd597c7055d28762e09d312e721ead8e3038102f96c60dea7e9789799f4faa6 [INFO] running `Command { std: "docker" "start" "-a" "0dd597c7055d28762e09d312e721ead8e3038102f96c60dea7e9789799f4faa6", kill_on_drop: false }` [INFO] [stderr] Compiling rust-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/main.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | fn handle_get_all_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let DB_URL : &str = binding.as_str(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | fn handle_client(mut stream: TcpStream, DB_URL: &str) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | fn handle_post_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:102:38 [INFO] [stdout] | [INFO] [stdout] 102 | fn handle_get_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:123:42 [INFO] [stdout] | [INFO] [stdout] 123 | fn handle_get_all_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | fn handle_put_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:166:41 [INFO] [stdout] | [INFO] [stdout] 166 | fn handle_delete_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | fn set_database(DB_URL: &str) -> Result<(), PostgresError> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "0dd597c7055d28762e09d312e721ead8e3038102f96c60dea7e9789799f4faa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dd597c7055d28762e09d312e721ead8e3038102f96c60dea7e9789799f4faa6", kill_on_drop: false }` [INFO] [stdout] 0dd597c7055d28762e09d312e721ead8e3038102f96c60dea7e9789799f4faa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2c737317e04c783a8e3f3e61da37986118d0324a3f8c5b7a83caf3da27366c12 [INFO] running `Command { std: "docker" "start" "-a" "2c737317e04c783a8e3f3e61da37986118d0324a3f8c5b7a83caf3da27366c12", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/main.rs:123:27 [INFO] [stderr] | [INFO] [stderr] 123 | fn handle_get_all_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `DB_URL` should have a snake case name [INFO] [stderr] --> src/main.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | let DB_URL : &str = binding.as_str(); [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `DB_URL` should have a snake case name [INFO] [stderr] --> src/main.rs:55:41 [INFO] [stderr] | [INFO] [stderr] 55 | fn handle_client(mut stream: TcpStream, DB_URL: &str) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stderr] [INFO] [stderr] warning: variable `DB_URL` should have a snake case name [INFO] [stderr] --> src/main.rs:85:39 [INFO] [stderr] | [INFO] [stderr] 85 | fn handle_post_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stderr] [INFO] [stderr] warning: variable `DB_URL` should have a snake case name [INFO] [stderr] --> src/main.rs:102:38 [INFO] [stderr] | [INFO] [stderr] 102 | fn handle_get_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stderr] [INFO] [stderr] warning: variable `DB_URL` should have a snake case name [INFO] [stderr] --> src/main.rs:123:42 [INFO] [stderr] | [INFO] [stderr] 123 | fn handle_get_all_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stderr] [INFO] [stderr] warning: variable `DB_URL` should have a snake case name [INFO] [stderr] --> src/main.rs:143:38 [INFO] [stderr] | [INFO] [stderr] 143 | fn handle_put_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stderr] [INFO] [stderr] warning: variable `DB_URL` should have a snake case name [INFO] [stderr] --> src/main.rs:166:41 [INFO] [stderr] | [INFO] [stderr] 166 | fn handle_delete_request(request: &str, DB_URL: &str) -> (String, String) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stderr] [INFO] [stderr] warning: variable `DB_URL` should have a snake case name [INFO] [stderr] --> src/main.rs:182:17 [INFO] [stderr] | [INFO] [stderr] 182 | fn set_database(DB_URL: &str) -> Result<(), PostgresError> { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `db_url` [INFO] [stderr] [INFO] [stderr] warning: `rust-api` (bin "rust-api" test) generated 9 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_api-e908eba7743331c5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2c737317e04c783a8e3f3e61da37986118d0324a3f8c5b7a83caf3da27366c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c737317e04c783a8e3f3e61da37986118d0324a3f8c5b7a83caf3da27366c12", kill_on_drop: false }` [INFO] [stdout] 2c737317e04c783a8e3f3e61da37986118d0324a3f8c5b7a83caf3da27366c12