[INFO] cloning repository https://github.com/DarylLi/mika-compiler-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DarylLi/mika-compiler-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarylLi%2Fmika-compiler-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarylLi%2Fmika-compiler-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 772c86a9f95e061579d4ed9372c1ba617c2e4c0a [INFO] checking DarylLi/mika-compiler-server against master#11d2046fe9962720558cb15f72541f7fd170dec9 for pr-139493-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarylLi%2Fmika-compiler-server" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 22% (9023/39454) Updating files: 23% (9075/39454) Updating files: 24% (9469/39454) Updating files: 25% (9864/39454) Updating files: 26% (10259/39454) Updating files: 27% (10653/39454) Updating files: 28% (11048/39454) Updating files: 29% (11442/39454) Updating files: 30% (11837/39454) Updating files: 31% (12231/39454) Updating files: 32% (12626/39454) Updating files: 33% (13020/39454) Updating files: 34% (13415/39454) Updating files: 35% (13809/39454) Updating files: 36% (14204/39454) Updating files: 37% (14598/39454) Updating files: 38% (14993/39454) Updating files: 39% (15388/39454) Updating files: 40% (15782/39454) Updating files: 41% (16177/39454) Updating files: 42% (16571/39454) Updating files: 43% (16966/39454) Updating files: 44% (17360/39454) Updating files: 45% (17755/39454) Updating files: 46% (18149/39454) Updating files: 47% (18544/39454) Updating files: 48% (18938/39454) Updating files: 49% (19333/39454) Updating files: 50% (19727/39454) Updating files: 51% (20122/39454) Updating files: 52% (20517/39454) Updating files: 53% (20911/39454) Updating files: 53% (21258/39454) Updating files: 54% (21306/39454) Updating files: 55% (21700/39454) Updating files: 56% (22095/39454) Updating files: 57% (22489/39454) Updating files: 58% (22884/39454) Updating files: 59% (23278/39454) Updating files: 60% (23673/39454) Updating files: 61% (24067/39454) Updating files: 62% (24462/39454) Updating files: 63% (24857/39454) Updating files: 64% (25251/39454) Updating files: 65% (25646/39454) Updating files: 66% (26040/39454) Updating files: 67% (26435/39454) Updating files: 68% (26829/39454) Updating files: 69% (27224/39454) Updating files: 70% (27618/39454) Updating files: 71% (28013/39454) Updating files: 72% (28407/39454) Updating files: 73% (28802/39454) Updating files: 74% (29196/39454) Updating files: 75% (29591/39454) Updating files: 76% (29986/39454) Updating files: 77% (30380/39454) Updating files: 77% (30731/39454) Updating files: 78% (30775/39454) Updating files: 79% (31169/39454) Updating files: 80% (31564/39454) Updating files: 81% (31958/39454) Updating files: 82% (32353/39454) Updating files: 83% (32747/39454) Updating files: 84% (33142/39454) Updating files: 85% (33536/39454) Updating files: 86% (33931/39454) Updating files: 87% (34325/39454) Updating files: 88% (34720/39454) Updating files: 89% (35115/39454) Updating files: 90% (35509/39454) Updating files: 91% (35904/39454) Updating files: 92% (36298/39454) Updating files: 93% (36693/39454) Updating files: 93% (36850/39454) Updating files: 94% (37087/39454) Updating files: 94% (37201/39454) Updating files: 94% (37300/39454) Updating files: 95% (37482/39454) Updating files: 96% (37876/39454) Updating files: 96% (38081/39454) Updating files: 97% (38271/39454) Updating files: 98% (38665/39454) Updating files: 98% (38863/39454) Updating files: 99% (39060/39454) Updating files: 99% (39374/39454) Updating files: 100% (39454/39454) Updating files: 100% (39454/39454), done. [INFO] started tweaking git repo https://github.com/DarylLi/mika-compiler-server [INFO] finished tweaking git repo https://github.com/DarylLi/mika-compiler-server [INFO] tweaked toml for git repo https://github.com/DarylLi/mika-compiler-server written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DarylLi/mika-compiler-server on toolchain 11d2046fe9962720558cb15f72541f7fd170dec9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11d2046fe9962720558cb15f72541f7fd170dec9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DarylLi/mika-compiler-server 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" "+11d2046fe9962720558cb15f72541f7fd170dec9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v2.0.77 [INFO] [stderr] Downloaded flate2 v1.0.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+11d2046fe9962720558cb15f72541f7fd170dec9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6f62a5a517f98df149dacc909455794d740b0717a4f8e1461bc575d50541b79 [INFO] running `Command { std: "docker" "start" "-a" "d6f62a5a517f98df149dacc909455794d740b0717a4f8e1461bc575d50541b79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6f62a5a517f98df149dacc909455794d740b0717a4f8e1461bc575d50541b79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6f62a5a517f98df149dacc909455794d740b0717a4f8e1461bc575d50541b79", kill_on_drop: false }` [INFO] [stdout] d6f62a5a517f98df149dacc909455794d740b0717a4f8e1461bc575d50541b79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+11d2046fe9962720558cb15f72541f7fd170dec9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2742eb35e466ae7f75b4e8581782e580b8f7bd351329c5e921d5e36e45f4ace3 [INFO] running `Command { std: "docker" "start" "-a" "2742eb35e466ae7f75b4e8581782e580b8f7bd351329c5e921d5e36e45f4ace3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking wasm-ex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getMax` should have a snake case name [INFO] [stdout] --> src/lib.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn getMax(list: &[u32]) -> u32 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_sys::Number` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use js_sys::Number; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Read` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{Error, Read, Write}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getMax` should have a snake case name [INFO] [stdout] --> src/lib.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn getMax(list: &[u32]) -> u32 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_sys::Number` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use js_sys::Number; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Read` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{Error, Read, Write}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caps` [INFO] [stdout] --> src/main.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | let Some(caps) = re.captures(filepath) else { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_caps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut cur_dir = curDir; [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: unused variable: `innerPath` [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let innerPath: String = entry.display().to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_innerPath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writeFile` [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let writeFile = fs::File::create(outputFileName).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_writeFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | for number in cards.iter() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkFormat` should have a snake case name [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn checkFormat(filepath: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `check_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getFileList` should have a snake case name [INFO] [stdout] --> src/main.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn getFileList(innerPath: &str, curDir: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_file_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `innerPath` should have a snake case name [INFO] [stdout] --> src/main.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | fn getFileList(innerPath: &str, curDir: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `inner_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `curDir` should have a snake case name [INFO] [stdout] --> src/main.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | fn getFileList(innerPath: &str, curDir: String) -> Vec { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `cur_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ChildrenList` should have a snake case name [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut ChildrenList: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `children_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stringPath` should have a snake case name [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let stringPath = entry.display().to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `string_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `innerPath` should have a snake case name [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let innerPath: String = entry.display().to_string(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `inner_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `curKind` should have a snake case name [INFO] [stdout] --> src/main.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut curKind: String = String::from(""); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `cur_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `curChildren` should have a snake case name [INFO] [stdout] --> src/main.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let mut curChildren: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `cur_children` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isOtherFile` should have a snake case name [INFO] [stdout] --> src/main.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let isOtherFile = checkFormat(&stringPath); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_other_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `innerPath` should have a snake case name [INFO] [stdout] --> src/main.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let mut innerPath: String = cur_dir.clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `inner_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `iteratorInfo` should have a snake case name [INFO] [stdout] --> src/main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let iteratorInfo: FileInfo = FileInfo { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `iterator_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generateJsonFile` should have a snake case name [INFO] [stdout] --> src/main.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn generateJsonFile(generateMainKey: &str, entryFilePath: &str, outputFileName: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_json_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `generateMainKey` should have a snake case name [INFO] [stdout] --> src/main.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn generateJsonFile(generateMainKey: &str, entryFilePath: &str, outputFileName: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_main_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `entryFilePath` should have a snake case name [INFO] [stdout] --> src/main.rs:112:48 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn generateJsonFile(generateMainKey: &str, entryFilePath: &str, outputFileName: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `entry_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputFileName` should have a snake case name [INFO] [stdout] --> src/main.rs:112:69 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn generateJsonFile(generateMainKey: &str, entryFilePath: &str, outputFileName: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `output_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputDir` should have a snake case name [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let outputDir = FileInfo { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `output_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outPutModule` should have a snake case name [INFO] [stdout] --> src/main.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut outPutModule = String::from(""); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `out_put_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `writeFile` should have a snake case name [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let writeFile = fs::File::create(outputFileName).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `write_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | file.write_all(outPutModule.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 138 | let _ = file.write_all(outPutModule.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mainKey` should have a snake case name [INFO] [stdout] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let mainKey = &arg_list[1]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `main_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `entryDir` should have a snake case name [INFO] [stdout] --> src/main.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let entryDir: &String = &arg_list[2]; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `entry_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outPutDir` should have a snake case name [INFO] [stdout] --> src/main.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | let outPutDir: &String = &arg_list[3]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `out_put_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caps` [INFO] [stdout] --> src/main.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | let Some(caps) = re.captures(filepath) else { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_caps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut cur_dir = curDir; [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: unused variable: `innerPath` [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let innerPath: String = entry.display().to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_innerPath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writeFile` [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let writeFile = fs::File::create(outputFileName).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_writeFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | for number in cards.iter() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkFormat` should have a snake case name [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn checkFormat(filepath: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `check_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getFileList` should have a snake case name [INFO] [stdout] --> src/main.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn getFileList(innerPath: &str, curDir: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_file_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `innerPath` should have a snake case name [INFO] [stdout] --> src/main.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | fn getFileList(innerPath: &str, curDir: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `inner_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `curDir` should have a snake case name [INFO] [stdout] --> src/main.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | fn getFileList(innerPath: &str, curDir: String) -> Vec { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `cur_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ChildrenList` should have a snake case name [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut ChildrenList: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `children_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stringPath` should have a snake case name [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let stringPath = entry.display().to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `string_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `innerPath` should have a snake case name [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let innerPath: String = entry.display().to_string(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `inner_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `curKind` should have a snake case name [INFO] [stdout] --> src/main.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut curKind: String = String::from(""); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `cur_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `curChildren` should have a snake case name [INFO] [stdout] --> src/main.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let mut curChildren: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `cur_children` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isOtherFile` should have a snake case name [INFO] [stdout] --> src/main.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let isOtherFile = checkFormat(&stringPath); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_other_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `innerPath` should have a snake case name [INFO] [stdout] --> src/main.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let mut innerPath: String = cur_dir.clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `inner_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `iteratorInfo` should have a snake case name [INFO] [stdout] --> src/main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let iteratorInfo: FileInfo = FileInfo { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `iterator_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generateJsonFile` should have a snake case name [INFO] [stdout] --> src/main.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn generateJsonFile(generateMainKey: &str, entryFilePath: &str, outputFileName: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_json_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `generateMainKey` should have a snake case name [INFO] [stdout] --> src/main.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn generateJsonFile(generateMainKey: &str, entryFilePath: &str, outputFileName: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_main_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `entryFilePath` should have a snake case name [INFO] [stdout] --> src/main.rs:112:48 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn generateJsonFile(generateMainKey: &str, entryFilePath: &str, outputFileName: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `entry_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputFileName` should have a snake case name [INFO] [stdout] --> src/main.rs:112:69 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn generateJsonFile(generateMainKey: &str, entryFilePath: &str, outputFileName: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `output_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputDir` should have a snake case name [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let outputDir = FileInfo { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `output_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outPutModule` should have a snake case name [INFO] [stdout] --> src/main.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut outPutModule = String::from(""); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `out_put_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `writeFile` should have a snake case name [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let writeFile = fs::File::create(outputFileName).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `write_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | file.write_all(outPutModule.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 138 | let _ = file.write_all(outPutModule.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mainKey` should have a snake case name [INFO] [stdout] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let mainKey = &arg_list[1]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `main_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `entryDir` should have a snake case name [INFO] [stdout] --> src/main.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let entryDir: &String = &arg_list[2]; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `entry_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outPutDir` should have a snake case name [INFO] [stdout] --> src/main.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | let outPutDir: &String = &arg_list[3]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `out_put_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.37s [INFO] running `Command { std: "docker" "inspect" "2742eb35e466ae7f75b4e8581782e580b8f7bd351329c5e921d5e36e45f4ace3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2742eb35e466ae7f75b4e8581782e580b8f7bd351329c5e921d5e36e45f4ace3", kill_on_drop: false }` [INFO] [stdout] 2742eb35e466ae7f75b4e8581782e580b8f7bd351329c5e921d5e36e45f4ace3