[INFO] fetching crate Relclis 0.1.1... [INFO] checking Relclis-0.1.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate Relclis 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate Relclis 0.1.1 [INFO] finished tweaking crates.io crate Relclis 0.1.1 [INFO] tweaked toml for crates.io crate Relclis 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate Relclis 0.1.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c0d4c661fdb45cbb6e02128d09083d0fdd0787c61f24284647d27c14a33c30f [INFO] running `Command { std: "docker" "start" "-a" "1c0d4c661fdb45cbb6e02128d09083d0fdd0787c61f24284647d27c14a33c30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c0d4c661fdb45cbb6e02128d09083d0fdd0787c61f24284647d27c14a33c30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c0d4c661fdb45cbb6e02128d09083d0fdd0787c61f24284647d27c14a33c30f", kill_on_drop: false }` [INFO] [stdout] 1c0d4c661fdb45cbb6e02128d09083d0fdd0787c61f24284647d27c14a33c30f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3aa46a1cb5380c2d6652bccb1e7f5779a0f0a2b7f34cca86db8af1e8e67d3eea [INFO] running `Command { std: "docker" "start" "-a" "3aa46a1cb5380c2d6652bccb1e7f5779a0f0a2b7f34cca86db8af1e8e67d3eea", kill_on_drop: false }` [INFO] [stderr] Checking Relclis v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | if (self.commandMap.get(&*key).is_some()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 - if (self.commandMap.get(&*key).is_some()) { [INFO] [stdout] 49 + if self.commandMap.get(&*key).is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | if (substr == *delimiter) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - if (substr == *delimiter) { [INFO] [stdout] 104 + if substr == *delimiter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | if (substr == *delimiter) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - if (substr == *delimiter) { [INFO] [stdout] 120 + if substr == *delimiter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | if (self.commandMap.get(&*key).is_some()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 - if (self.commandMap.get(&*key).is_some()) { [INFO] [stdout] 49 + if self.commandMap.get(&*key).is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | if (substr == *delimiter) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - if (substr == *delimiter) { [INFO] [stdout] 104 + if substr == *delimiter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | if (substr == *delimiter) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - if (substr == *delimiter) { [INFO] [stdout] 120 + if substr == *delimiter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `String` [INFO] [stdout] --> src/lib.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | Err(String) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `String` [INFO] [stdout] --> src/lib.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | Err(String) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `commandMap` should have a snake case name [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub commandMap: HashMap)>, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `command_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Relclis` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `relclis` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `commandMap` should have a snake case name [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub commandMap: HashMap)>, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `command_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addCommand` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn addCommand(&mut self, commandName: String, commandAction: fn(Vec)) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `add_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandName` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn addCommand(&mut self, commandName: String, commandAction: fn(Vec)) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `command_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandAction` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn addCommand(&mut self, commandName: String, commandAction: fn(Vec)) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `command_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addCommands` should have a snake case name [INFO] [stdout] --> src/lib.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn addCommands( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `add_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandNames` should have a snake case name [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | commandNames: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `command_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandAction` should have a snake case name [INFO] [stdout] --> src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | commandAction: fn(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `command_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandName` should have a snake case name [INFO] [stdout] --> src/lib.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | for commandName in commandNames { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `command_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hasCommand` should have a snake case name [INFO] [stdout] --> src/lib.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn hasCommand(&self, commandName: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `has_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandName` should have a snake case name [INFO] [stdout] --> src/lib.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn hasCommand(&self, commandName: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `command_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `executeCommand` should have a snake case name [INFO] [stdout] --> src/lib.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn executeCommand(&self, commandName: String, args: Vec) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `execute_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandName` should have a snake case name [INFO] [stdout] --> src/lib.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn executeCommand(&self, commandName: String, args: Vec) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `command_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `executeCommands` should have a snake case name [INFO] [stdout] --> src/lib.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn executeCommands( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `execute_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandNames` should have a snake case name [INFO] [stdout] --> src/lib.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | commandNames: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `command_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandName` should have a snake case name [INFO] [stdout] --> src/lib.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | for commandName in commandNames { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `command_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputLoopQuestion` should have a snake case name [INFO] [stdout] --> src/lib.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn run(&self, inputLoopQuestion: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_loop_question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addCommand` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn addCommand(&mut self, commandName: String, commandAction: fn(Vec)) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `add_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandName` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn addCommand(&mut self, commandName: String, commandAction: fn(Vec)) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `command_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandAction` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn addCommand(&mut self, commandName: String, commandAction: fn(Vec)) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `command_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addCommands` should have a snake case name [INFO] [stdout] --> src/lib.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn addCommands( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `add_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandNames` should have a snake case name [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | commandNames: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `command_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandAction` should have a snake case name [INFO] [stdout] --> src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | commandAction: fn(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `command_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandName` should have a snake case name [INFO] [stdout] --> src/lib.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | for commandName in commandNames { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `command_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hasCommand` should have a snake case name [INFO] [stdout] --> src/lib.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn hasCommand(&self, commandName: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `has_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandName` should have a snake case name [INFO] [stdout] --> src/lib.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn hasCommand(&self, commandName: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `command_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `executeCommand` should have a snake case name [INFO] [stdout] --> src/lib.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn executeCommand(&self, commandName: String, args: Vec) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `execute_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandName` should have a snake case name [INFO] [stdout] --> src/lib.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn executeCommand(&self, commandName: String, args: Vec) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `command_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `executeCommands` should have a snake case name [INFO] [stdout] --> src/lib.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn executeCommands( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `execute_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandNames` should have a snake case name [INFO] [stdout] --> src/lib.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | commandNames: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `command_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `commandName` should have a snake case name [INFO] [stdout] --> src/lib.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | for commandName in commandNames { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `command_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputLoopQuestion` should have a snake case name [INFO] [stdout] --> src/lib.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn run(&self, inputLoopQuestion: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_loop_question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::str::::trim` that must be used [INFO] [stdout] --> src/lib.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | input.trim(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the trimmed string as a slice, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 142 | let _ = input.trim(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `String` should have a snake case name [INFO] [stdout] --> src/lib.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | Err(String) => { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::str::::trim` that must be used [INFO] [stdout] --> src/lib.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | input.trim(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the trimmed string as a slice, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 142 | let _ = input.trim(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `String` should have a snake case name [INFO] [stdout] --> src/lib.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | Err(String) => { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `validCommands` should have a snake case name [INFO] [stdout] --> src/lib.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let validCommands: Vec = vec!["test1".to_string(), "test2".to_string()]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invalidCommands` should have a snake case name [INFO] [stdout] --> src/lib.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let invalidCommands: Vec = vec!["test500".to_string(), "joe biden".to_string()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `invalid_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "3aa46a1cb5380c2d6652bccb1e7f5779a0f0a2b7f34cca86db8af1e8e67d3eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aa46a1cb5380c2d6652bccb1e7f5779a0f0a2b7f34cca86db8af1e8e67d3eea", kill_on_drop: false }` [INFO] [stdout] 3aa46a1cb5380c2d6652bccb1e7f5779a0f0a2b7f34cca86db8af1e8e67d3eea