[INFO] cloning repository https://github.com/Elyx0/cfcrawler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Elyx0/cfcrawler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElyx0%2Fcfcrawler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElyx0%2Fcfcrawler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02d178cdfbb196e8ecca26a5b29105cfdd6414a4 [INFO] checking Elyx0/cfcrawler against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElyx0%2Fcfcrawler" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Elyx0/cfcrawler [INFO] finished tweaking git repo https://github.com/Elyx0/cfcrawler [INFO] tweaked toml for git repo https://github.com/Elyx0/cfcrawler written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Elyx0/cfcrawler on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Elyx0/cfcrawler 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stfu8 v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbda56df7472aa13b7a0d16e32852007d65ec22a40c48491896d9c583cf3324a [INFO] running `Command { std: "docker" "start" "-a" "bbda56df7472aa13b7a0d16e32852007d65ec22a40c48491896d9c583cf3324a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbda56df7472aa13b7a0d16e32852007d65ec22a40c48491896d9c583cf3324a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbda56df7472aa13b7a0d16e32852007d65ec22a40c48491896d9c583cf3324a", kill_on_drop: false }` [INFO] [stdout] bbda56df7472aa13b7a0d16e32852007d65ec22a40c48491896d9c583cf3324a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc52569ba3e2993a0e86d03307a4e0f00d3439e8f8f91be2aac6d06f5d7b4269 [INFO] running `Command { std: "docker" "start" "-a" "fc52569ba3e2993a0e86d03307a4e0f00d3439e8f8f91be2aac6d06f5d7b4269", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking rustls-pki-types v1.4.1 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking stfu8 v0.2.7 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking cfcrawler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `base64::decode` [INFO] [stdout] --> src/quickcheck.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use base64::decode; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/quickcheck.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use base64::decode; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/quickcheck.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | let base64Decoded = base64::decode(b64Text).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `badUtf` should have a snake case name [INFO] [stdout] --> src/quickcheck.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let badUtf = std::fs::read_to_string("src/fixtures/badUtf.txt").unwrap(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `bad_utf` [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 `b64Text` should have a snake case name [INFO] [stdout] --> src/quickcheck.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let b64Text = std::fs::read_to_string("src/fixtures/badUtf.txt").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `b64_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `base64Decoded` should have a snake case name [INFO] [stdout] --> src/quickcheck.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let base64Decoded = base64::decode(b64Text).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `base64_decoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64::decode` [INFO] [stdout] --> src/quickcheck.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use base64::decode; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/quickcheck.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use base64::decode; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/quickcheck.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | let base64Decoded = base64::decode(b64Text).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `badUtf` should have a snake case name [INFO] [stdout] --> src/quickcheck.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let badUtf = std::fs::read_to_string("src/fixtures/badUtf.txt").unwrap(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `bad_utf` [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 `b64Text` should have a snake case name [INFO] [stdout] --> src/quickcheck.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let b64Text = std::fs::read_to_string("src/fixtures/badUtf.txt").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `b64_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `base64Decoded` should have a snake case name [INFO] [stdout] --> src/quickcheck.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let base64Decoded = base64::decode(b64Text).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `base64_decoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Response` [INFO] [stdout] --> src/proxy.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{Client, Response}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | if (failed.len() > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - if (failed.len() > 0) { [INFO] [stdout] 54 + if failed.len() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | if (response.status() == 503) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - if (response.status() == 503) { [INFO] [stdout] 120 + if response.status() == 503 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Response` [INFO] [stdout] --> src/proxy.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{Client, Response}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | else if (response.status() == 404){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - else if (response.status() == 404){ [INFO] [stdout] 127 + else if response.status() == 404 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/rename.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let bytes = base64::decode(encoded)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/rename.rs:99:43 [INFO] [stdout] | [INFO] [stdout] 99 | let decoded = base64::decode(u1.as_str().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/rename.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let bytes = base64::decode(encoded)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/rename.rs:99:43 [INFO] [stdout] | [INFO] [stdout] 99 | let decoded = base64::decode(u1.as_str().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PROXY_ENDPOINT` should have a snake case name [INFO] [stdout] --> src/proxy.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let PROXY_ENDPOINT: String = std::env::var("PROXY_ENDPOINT").expect("PROXY_ENDPOINT must be set."); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `proxy_endpoint` [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 `PROXY_TEST_TARGET` should have a snake case name [INFO] [stdout] --> src/proxy.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let PROXY_TEST_TARGET: String = std::env::var("PROXY_TEST_TARGET").expect("PROXY_TEST_TARGET must be set."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `proxy_test_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `clientProxy` should have a snake case name [INFO] [stdout] --> src/proxy.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let clientProxy = Client::builder().proxy(proxy).build().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `client_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/main.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | let decoded = base64::decode(&body).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | if (failed.len() > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - if (failed.len() > 0) { [INFO] [stdout] 54 + if failed.len() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | if (response.status() == 503) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - if (response.status() == 503) { [INFO] [stdout] 120 + if response.status() == 503 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | else if (response.status() == 404){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - else if (response.status() == 404){ [INFO] [stdout] 127 + else if response.status() == 404 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/main.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | let decoded = base64::decode(&body).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rename.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut playerName = &playerObj["1"]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rename.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut current = players.get_mut(&id.to_string()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_id` [INFO] [stdout] --> src/rename.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let game_id = filename.split(".").collect::>()[0].parse::().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/rename.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(json) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoded` [INFO] [stdout] --> src/rename.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | let decoded = base64::decode(u1.as_str().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerObj` should have a snake case name [INFO] [stdout] --> src/rename.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let playerObj = &player["p"][0]["d"]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `player_obj` [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 `playerName` should have a snake case name [INFO] [stdout] --> src/rename.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let mut playerName = &playerObj["1"]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `player_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerNameStrU16` should have a snake case name [INFO] [stdout] --> src/rename.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | let playerNameStrU16 = atob_unicode(u1.as_str().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `player_name_str_u16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerNameStr` should have a snake case name [INFO] [stdout] --> src/rename.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let playerNameStr = match playerName.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `player_name_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rename.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut playerName = &playerObj["1"]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rename.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut current = players.get_mut(&id.to_string()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_id` [INFO] [stdout] --> src/rename.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let game_id = filename.split(".").collect::>()[0].parse::().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/rename.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(json) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoded` [INFO] [stdout] --> src/rename.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | let decoded = base64::decode(u1.as_str().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerObj` should have a snake case name [INFO] [stdout] --> src/rename.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let playerObj = &player["p"][0]["d"]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `player_obj` [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 `playerName` should have a snake case name [INFO] [stdout] --> src/rename.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let mut playerName = &playerObj["1"]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `player_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerNameStrU16` should have a snake case name [INFO] [stdout] --> src/rename.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | let playerNameStrU16 = atob_unicode(u1.as_str().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `player_name_str_u16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerNameStr` should have a snake case name [INFO] [stdout] --> src/rename.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let playerNameStr = match playerName.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `player_name_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PROXY_ENDPOINT` should have a snake case name [INFO] [stdout] --> src/proxy.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let PROXY_ENDPOINT: String = std::env::var("PROXY_ENDPOINT").expect("PROXY_ENDPOINT must be set."); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `proxy_endpoint` [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 `PROXY_TEST_TARGET` should have a snake case name [INFO] [stdout] --> src/proxy.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let PROXY_TEST_TARGET: String = std::env::var("PROXY_TEST_TARGET").expect("PROXY_TEST_TARGET must be set."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `proxy_test_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `clientProxy` should have a snake case name [INFO] [stdout] --> src/proxy.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let clientProxy = Client::builder().proxy(proxy).build().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `client_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalToDownload` should have a snake case name [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let totalToDownload = END - last_game_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_to_download` [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 `timeLeft` should have a snake case name [INFO] [stdout] --> src/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let timeLeft = (END - curr_batch) * SLEEP_TIME as i32; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `time_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BASE` should have a snake case name [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let BASE:&str = base_string.as_str(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PROXY` should have a snake case name [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let PROXY:&str = proxy_string.as_str(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PROXY2` should have a snake case name [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let PROXY2:&str = proxy2_string.as_str(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `proxy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalToDownload` should have a snake case name [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let totalToDownload = END - last_game_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_to_download` [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 `timeLeft` should have a snake case name [INFO] [stdout] --> src/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let timeLeft = (END - curr_batch) * SLEEP_TIME as i32; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `time_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BASE` should have a snake case name [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let BASE:&str = base_string.as_str(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PROXY` should have a snake case name [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let PROXY:&str = proxy_string.as_str(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PROXY2` should have a snake case name [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let PROXY2:&str = proxy2_string.as_str(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `proxy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decodeAndSave` should have a snake case name [INFO] [stdout] --> src/main.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | async fn decodeAndSave(response: Response,from_url: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `decode_and_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jsonLengthSlice` should have a snake case name [INFO] [stdout] --> src/main.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | let jsonLengthSlice = &decoded[..4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `json_length_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jsonLength` should have a snake case name [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let jsonLength = u32::from_be_bytes([jsonLengthSlice[0], jsonLengthSlice[1], jsonLengthSlice[2], jsonLengthSlice[3]]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `json_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jsonU8` should have a snake case name [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | let jsonU8 = &decoded[4..(jsonLength+4) as usize]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `json_u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `latinJson` should have a snake case name [INFO] [stdout] --> src/main.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | let latinJson = latin1_to_string(jsonU8); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `latin_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jsonString` should have a snake case name [INFO] [stdout] --> src/main.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | let jsonString: Value = serde_json::from_slice(latinJson.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `json_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `gameMode` should have a snake case name [INFO] [stdout] --> src/main.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let gameMode = &jsonString["s"]["1"]; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `game_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `saveReplayAndOriginal` should have a snake case name [INFO] [stdout] --> src/main.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn saveReplayAndOriginal(game_id: String, jsonU8: &[u8], body: &String){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `save_replay_and_original` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jsonU8` should have a snake case name [INFO] [stdout] --> src/main.rs:205:43 [INFO] [stdout] | [INFO] [stdout] 205 | fn saveReplayAndOriginal(game_id: String, jsonU8: &[u8], body: &String){ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `json_u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileOriginal` should have a snake case name [INFO] [stdout] --> src/main.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut fileOriginal = File::create(full_path_original_base64).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `file_original` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decodeAndSave` should have a snake case name [INFO] [stdout] --> src/main.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | async fn decodeAndSave(response: Response,from_url: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `decode_and_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jsonLengthSlice` should have a snake case name [INFO] [stdout] --> src/main.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | let jsonLengthSlice = &decoded[..4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `json_length_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jsonLength` should have a snake case name [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let jsonLength = u32::from_be_bytes([jsonLengthSlice[0], jsonLengthSlice[1], jsonLengthSlice[2], jsonLengthSlice[3]]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `json_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jsonU8` should have a snake case name [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | let jsonU8 = &decoded[4..(jsonLength+4) as usize]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `json_u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `latinJson` should have a snake case name [INFO] [stdout] --> src/main.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | let latinJson = latin1_to_string(jsonU8); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `latin_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jsonString` should have a snake case name [INFO] [stdout] --> src/main.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | let jsonString: Value = serde_json::from_slice(latinJson.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `json_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `gameMode` should have a snake case name [INFO] [stdout] --> src/main.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let gameMode = &jsonString["s"]["1"]; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `game_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `saveReplayAndOriginal` should have a snake case name [INFO] [stdout] --> src/main.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn saveReplayAndOriginal(game_id: String, jsonU8: &[u8], body: &String){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `save_replay_and_original` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jsonU8` should have a snake case name [INFO] [stdout] --> src/main.rs:205:43 [INFO] [stdout] | [INFO] [stdout] 205 | fn saveReplayAndOriginal(game_id: String, jsonU8: &[u8], body: &String){ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `json_u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileOriginal` should have a snake case name [INFO] [stdout] --> src/main.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut fileOriginal = File::create(full_path_original_base64).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `file_original` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.53s [INFO] running `Command { std: "docker" "inspect" "fc52569ba3e2993a0e86d03307a4e0f00d3439e8f8f91be2aac6d06f5d7b4269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc52569ba3e2993a0e86d03307a4e0f00d3439e8f8f91be2aac6d06f5d7b4269", kill_on_drop: false }` [INFO] [stdout] fc52569ba3e2993a0e86d03307a4e0f00d3439e8f8f91be2aac6d06f5d7b4269