[INFO] cloning repository https://github.com/jackmead515/rust_jsm_encryption [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jackmead515/rust_jsm_encryption" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackmead515%2Frust_jsm_encryption", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackmead515%2Frust_jsm_encryption'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48a32295d2df46e3ec49042d27dc4e787bb09e7b [INFO] checking jackmead515/rust_jsm_encryption against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackmead515%2Frust_jsm_encryption" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jackmead515/rust_jsm_encryption on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jackmead515/rust_jsm_encryption [INFO] finished tweaking git repo https://github.com/jackmead515/rust_jsm_encryption [INFO] tweaked toml for git repo https://github.com/jackmead515/rust_jsm_encryption written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jackmead515/rust_jsm_encryption 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" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking jackmead515/rust_jsm_encryption against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackmead515%2Frust_jsm_encryption" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jackmead515/rust_jsm_encryption on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jackmead515/rust_jsm_encryption [INFO] finished tweaking git repo https://github.com/jackmead515/rust_jsm_encryption [INFO] tweaked toml for git repo https://github.com/jackmead515/rust_jsm_encryption written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jackmead515/rust_jsm_encryption 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" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd0186b5e034f46e3e35a9710ab2f8dd513c4f71ada6be7be626b3afa0dfe169 [INFO] running `Command { std: "docker" "start" "-a" "dd0186b5e034f46e3e35a9710ab2f8dd513c4f71ada6be7be626b3afa0dfe169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd0186b5e034f46e3e35a9710ab2f8dd513c4f71ada6be7be626b3afa0dfe169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd0186b5e034f46e3e35a9710ab2f8dd513c4f71ada6be7be626b3afa0dfe169", kill_on_drop: false }` [INFO] [stdout] dd0186b5e034f46e3e35a9710ab2f8dd513c4f71ada6be7be626b3afa0dfe169 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56bcfc58bd6140742b6d00ff871d3295cb06686b22f4c690ea9fedd665b13a43 [INFO] running `Command { std: "docker" "start" "-a" "56bcfc58bd6140742b6d00ff871d3295cb06686b22f4c690ea9fedd665b13a43", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rustjsm_encryption v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/rules/add.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | for i in 0..self.options.1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W range-syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/rules/add.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | for i in 0..self.options.1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/rules/add.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | for i in 0..js.len() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/rules/arrange.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | for i in 0..amount { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/rules/arrange.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | for x in 0..message.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/rules/arrange.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | for i in 0..amount { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/rules/arrange.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | for x in (0..message.len()).rev() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/rules/replace.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | for i in 0..a1.len() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/rules/reverse.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/rules/add.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | for i in 0..self.options.1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W range-syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/rules/add.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | for i in 0..self.options.1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/rules/reverse.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/rules/add.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | for i in 0..js.len() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/rules/reverse.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/rules/arrange.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | for i in 0..amount { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/rules/arrange.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | for x in 0..message.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/main.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | for i in 0..50 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/rules/arrange.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | for i in 0..amount { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/main.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | for i in 0..50 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/rules/arrange.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | for x in (0..message.len()).rev() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/rules/replace.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | for i in 0..a1.len() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/rules/reverse.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/rules/reverse.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/rules/reverse.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/main.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | for i in 0..50 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/main.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | for i in 0..50 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rulebook.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub rules: HashMap> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub rules: HashMap> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rulebook.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub rules: HashMap> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub rules: HashMap> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rules/add.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | for i in 0..self.options.1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rules/add.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | for i in 0..self.options.1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rules/add.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | for i in 0..self.options.1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rules/add.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | for i in 0..self.options.1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rules/arrange.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | for i in 0..amount { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rules/arrange.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | for i in 0..amount { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rules/arrange.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | for i in 0..amount { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rules/arrange.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | for i in 0..amount { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut vec: Vec = message.split("") [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut vec: Vec = message.split("") [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: unused variable: `args` [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let args: Vec<_> = env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | for i in 0..50 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let args: Vec<_> = env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | for i in 0..50 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | for i in 0..50 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | for i in 0..50 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `len` are never used [INFO] [stdout] --> src/alphabet.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Alphabet { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 11 | pub fn get(&self, character: &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `id` should have an upper case name [INFO] [stdout] --> src/rules/add.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub static id: usize = 0; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `ID` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `id` should have an upper case name [INFO] [stdout] --> src/rules/arrange.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub static id: usize = 1; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `ID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `len` are never used [INFO] [stdout] --> src/alphabet.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Alphabet { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 11 | pub fn get(&self, character: &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `id` should have an upper case name [INFO] [stdout] --> src/rules/replace.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub static id: usize = 2; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `ID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `id` should have an upper case name [INFO] [stdout] --> src/rules/reverse.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub static id: usize = 3; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `ID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `id` should have an upper case name [INFO] [stdout] --> src/rules/add.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub static id: usize = 0; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `ID` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `id` should have an upper case name [INFO] [stdout] --> src/rules/arrange.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub static id: usize = 1; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `ID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `id` should have an upper case name [INFO] [stdout] --> src/rules/replace.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub static id: usize = 2; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `ID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `id` should have an upper case name [INFO] [stdout] --> src/rules/reverse.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub static id: usize = 3; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `ID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "56bcfc58bd6140742b6d00ff871d3295cb06686b22f4c690ea9fedd665b13a43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56bcfc58bd6140742b6d00ff871d3295cb06686b22f4c690ea9fedd665b13a43", kill_on_drop: false }` [INFO] [stdout] 56bcfc58bd6140742b6d00ff871d3295cb06686b22f4c690ea9fedd665b13a43