[INFO] cloning repository https://github.com/ashk123/Huffpy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashk123/Huffpy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashk123%2FHuffpy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashk123%2FHuffpy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 317732fb9da6061b78f12dee4f684b1aa84464e5 [INFO] checking ashk123/Huffpy against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashk123%2FHuffpy" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ashk123/Huffpy on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ashk123/Huffpy [INFO] finished tweaking git repo https://github.com/ashk123/Huffpy [INFO] tweaked toml for git repo https://github.com/ashk123/Huffpy written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ashk123/Huffpy 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d59e4c9f6c6db944818f749c8ab4b795ef891adff9638510140d2cd405b45d2 [INFO] running `Command { std: "docker" "start" "-a" "7d59e4c9f6c6db944818f749c8ab4b795ef891adff9638510140d2cd405b45d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d59e4c9f6c6db944818f749c8ab4b795ef891adff9638510140d2cd405b45d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d59e4c9f6c6db944818f749c8ab4b795ef891adff9638510140d2cd405b45d2", kill_on_drop: false }` [INFO] [stdout] 7d59e4c9f6c6db944818f749c8ab4b795ef891adff9638510140d2cd405b45d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f64f4338fc58e416563314096f4e4c72c6dc772cd846f300ff829c199c543f56 [INFO] running `Command { std: "docker" "start" "-a" "f64f4338fc58e416563314096f4e4c72c6dc772cd846f300ff829c199c543f56", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Checking huffpy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if (self.isEncoded != true) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - if (self.isEncoded != true) { [INFO] [stdout] 36 + if self.isEncoded != true { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | if (self.isEncoded == true) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - if (self.isEncoded == true) { [INFO] [stdout] 61 + if self.isEncoded == true { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if (self.isEncoded != true) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - if (self.isEncoded != true) { [INFO] [stdout] 36 + if self.isEncoded != true { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | if (self.isEncoded == true) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - if (self.isEncoded == true) { [INFO] [stdout] 61 + if self.isEncoded == true { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/huffman.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut p: Vec> = res [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/huffman.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut p: Vec> = res [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isEncoded` should have a snake case name [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | isEncoded: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_encoded` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Decode` should have a snake case name [INFO] [stdout] --> src/lib.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn Decode(&self, text: &str) -> PyResult { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Create` should have a snake case name [INFO] [stdout] --> src/lib.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn Create(&mut self, text: &str) -> PyResult { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Encode` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn Encode(&mut self) -> String { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isEncoded` should have a snake case name [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | isEncoded: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_encoded` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Decode` should have a snake case name [INFO] [stdout] --> src/lib.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn Decode(&self, text: &str) -> PyResult { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Create` should have a snake case name [INFO] [stdout] --> src/lib.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn Create(&mut self, text: &str) -> PyResult { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Encode` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn Encode(&mut self) -> String { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.66s [INFO] running `Command { std: "docker" "inspect" "f64f4338fc58e416563314096f4e4c72c6dc772cd846f300ff829c199c543f56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f64f4338fc58e416563314096f4e4c72c6dc772cd846f300ff829c199c543f56", kill_on_drop: false }` [INFO] [stdout] f64f4338fc58e416563314096f4e4c72c6dc772cd846f300ff829c199c543f56 [INFO] checking ashk123/Huffpy against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashk123%2FHuffpy" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ashk123/Huffpy on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ashk123/Huffpy [INFO] finished tweaking git repo https://github.com/ashk123/Huffpy [INFO] tweaked toml for git repo https://github.com/ashk123/Huffpy written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ashk123/Huffpy 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a95ed055d714a8c169e0622dcc6da572171035aa4f05a34c92bec19c7204e515 [INFO] running `Command { std: "docker" "start" "-a" "a95ed055d714a8c169e0622dcc6da572171035aa4f05a34c92bec19c7204e515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a95ed055d714a8c169e0622dcc6da572171035aa4f05a34c92bec19c7204e515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a95ed055d714a8c169e0622dcc6da572171035aa4f05a34c92bec19c7204e515", kill_on_drop: false }` [INFO] [stdout] a95ed055d714a8c169e0622dcc6da572171035aa4f05a34c92bec19c7204e515 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b15e94fc07779dda989ae0c381a1ca920d069b053a5a0de1c052daae8d993cc9 [INFO] running `Command { std: "docker" "start" "-a" "b15e94fc07779dda989ae0c381a1ca920d069b053a5a0de1c052daae8d993cc9", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Checking huffpy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if (self.isEncoded != true) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - if (self.isEncoded != true) { [INFO] [stdout] 36 + if self.isEncoded != true { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | if (self.isEncoded == true) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - if (self.isEncoded == true) { [INFO] [stdout] 61 + if self.isEncoded == true { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if (self.isEncoded != true) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - if (self.isEncoded != true) { [INFO] [stdout] 36 + if self.isEncoded != true { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | if (self.isEncoded == true) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - if (self.isEncoded == true) { [INFO] [stdout] 61 + if self.isEncoded == true { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/huffman.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut p: Vec> = res [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isEncoded` should have a snake case name [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | isEncoded: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_encoded` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Decode` should have a snake case name [INFO] [stdout] --> src/lib.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn Decode(&self, text: &str) -> PyResult { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Create` should have a snake case name [INFO] [stdout] --> src/lib.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn Create(&mut self, text: &str) -> PyResult { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Encode` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn Encode(&mut self) -> String { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/huffman.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut p: Vec> = res [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isEncoded` should have a snake case name [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | isEncoded: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_encoded` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Decode` should have a snake case name [INFO] [stdout] --> src/lib.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn Decode(&self, text: &str) -> PyResult { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Create` should have a snake case name [INFO] [stdout] --> src/lib.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn Create(&mut self, text: &str) -> PyResult { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Encode` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn Encode(&mut self) -> String { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.78s [INFO] running `Command { std: "docker" "inspect" "b15e94fc07779dda989ae0c381a1ca920d069b053a5a0de1c052daae8d993cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b15e94fc07779dda989ae0c381a1ca920d069b053a5a0de1c052daae8d993cc9", kill_on_drop: false }` [INFO] [stdout] b15e94fc07779dda989ae0c381a1ca920d069b053a5a0de1c052daae8d993cc9