[INFO] cloning repository https://github.com/DKotov29/lssscm-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DKotov29/lssscm-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDKotov29%2Flssscm-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDKotov29%2Flssscm-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5fde901e26af7ec25d2268414fb11d455186ef06 [INFO] checking DKotov29/lssscm-rs/5fde901e26af7ec25d2268414fb11d455186ef06 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDKotov29%2Flssscm-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DKotov29/lssscm-rs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DKotov29/lssscm-rs [INFO] finished tweaking git repo https://github.com/DKotov29/lssscm-rs [INFO] tweaked toml for git repo https://github.com/DKotov29/lssscm-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DKotov29/lssscm-rs 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6a79caafd1be8cf7f7a2258b8f25da9882c80fd5e8f18be7aff396168c03ada [INFO] running `Command { std: "docker" "start" "-a" "b6a79caafd1be8cf7f7a2258b8f25da9882c80fd5e8f18be7aff396168c03ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6a79caafd1be8cf7f7a2258b8f25da9882c80fd5e8f18be7aff396168c03ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a79caafd1be8cf7f7a2258b8f25da9882c80fd5e8f18be7aff396168c03ada", kill_on_drop: false }` [INFO] [stdout] b6a79caafd1be8cf7f7a2258b8f25da9882c80fd5e8f18be7aff396168c03ada [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1da8466542e5d0a761f3c5047f61ccdca4c961556d85a8f485fbd22442e513f [INFO] running `Command { std: "docker" "start" "-a" "c1da8466542e5d0a761f3c5047f61ccdca4c961556d85a8f485fbd22442e513f", kill_on_drop: false }` [INFO] [stderr] Checking lssscm-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use srom3::*; [INFO] [stdout] | ^^^^^^^^ the name `convert_to_vec` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 16 | pub use srom4::*; [INFO] [stdout] | -------- but the name `convert_to_vec` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use srom3::*; [INFO] [stdout] | ^^^^^^^^ the name `convert_to_string` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 16 | pub use srom4::*; [INFO] [stdout] | -------- but the name `convert_to_string` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use srom3::*; [INFO] [stdout] | ^^^^^^^^ the name `char_to_i` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 16 | pub use srom4::*; [INFO] [stdout] | -------- but the name `char_to_i` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Equal` and `Greater` [INFO] [stdout] --> src/srom4.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::Ordering::{Equal, Greater}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering::Less` [INFO] [stdout] --> src/srom4.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use Ordering::Less; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / fn add(first: &str, second: &str) -> String { [INFO] [stdout] 27 | | if first.eq("0") { [INFO] [stdout] 28 | | return String::from(second); [INFO] [stdout] 29 | | } [INFO] [stdout] ... | [INFO] [stdout] 57 | | from_arr_to_string(result) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the name `add` in the value namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use srom3::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / fn add(first: &str, second: &str) -> String { [INFO] [stdout] 27 | | if first.eq("0") { [INFO] [stdout] 28 | | return String::from(second); [INFO] [stdout] 29 | | } [INFO] [stdout] ... | [INFO] [stdout] 57 | | from_arr_to_string(result) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/main.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | / fn mul(a: &str, b: &str) -> String { [INFO] [stdout] 122 | | let mut result = "0".to_string(); [INFO] [stdout] 123 | | let mut bb = from_hex_string_to_arr(b); [INFO] [stdout] 124 | | bb.reverse(); [INFO] [stdout] ... | [INFO] [stdout] 131 | | result [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the name `mul` in the value namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use srom3::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/main.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | / fn mul(a: &str, b: &str) -> String { [INFO] [stdout] 122 | | let mut result = "0".to_string(); [INFO] [stdout] 123 | | let mut bb = from_hex_string_to_arr(b); [INFO] [stdout] 124 | | bb.reverse(); [INFO] [stdout] ... | [INFO] [stdout] 131 | | result [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/main.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / fn add_right_zero(a: &str, i: usize) -> String { [INFO] [stdout] 135 | | let mut a = String::from(a); [INFO] [stdout] 136 | | (0..i).for_each(|_| a.push('0')); [INFO] [stdout] 137 | | a [INFO] [stdout] 138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the name `add_right_zero` in the value namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use srom3::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/main.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / fn add_right_zero(a: &str, i: usize) -> String { [INFO] [stdout] 135 | | let mut a = String::from(a); [INFO] [stdout] 136 | | (0..i).for_each(|_| a.push('0')); [INFO] [stdout] 137 | | a [INFO] [stdout] 138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use srom3::*; [INFO] [stdout] | ^^^^^^^^ the name `convert_to_vec` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 16 | pub use srom4::*; [INFO] [stdout] | -------- but the name `convert_to_vec` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use srom3::*; [INFO] [stdout] | ^^^^^^^^ the name `convert_to_string` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 16 | pub use srom4::*; [INFO] [stdout] | -------- but the name `convert_to_string` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use srom3::*; [INFO] [stdout] | ^^^^^^^^ the name `char_to_i` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 16 | pub use srom4::*; [INFO] [stdout] | -------- but the name `char_to_i` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Equal` and `Greater` [INFO] [stdout] --> src/srom4.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::Ordering::{Equal, Greater}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering::Less` [INFO] [stdout] --> src/srom4.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use Ordering::Less; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / fn add(first: &str, second: &str) -> String { [INFO] [stdout] 27 | | if first.eq("0") { [INFO] [stdout] 28 | | return String::from(second); [INFO] [stdout] 29 | | } [INFO] [stdout] ... | [INFO] [stdout] 57 | | from_arr_to_string(result) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the name `add` in the value namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use srom3::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / fn add(first: &str, second: &str) -> String { [INFO] [stdout] 27 | | if first.eq("0") { [INFO] [stdout] 28 | | return String::from(second); [INFO] [stdout] 29 | | } [INFO] [stdout] ... | [INFO] [stdout] 57 | | from_arr_to_string(result) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/main.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | / fn mul(a: &str, b: &str) -> String { [INFO] [stdout] 122 | | let mut result = "0".to_string(); [INFO] [stdout] 123 | | let mut bb = from_hex_string_to_arr(b); [INFO] [stdout] 124 | | bb.reverse(); [INFO] [stdout] ... | [INFO] [stdout] 131 | | result [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the name `mul` in the value namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use srom3::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/main.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | / fn mul(a: &str, b: &str) -> String { [INFO] [stdout] 122 | | let mut result = "0".to_string(); [INFO] [stdout] 123 | | let mut bb = from_hex_string_to_arr(b); [INFO] [stdout] 124 | | bb.reverse(); [INFO] [stdout] ... | [INFO] [stdout] 131 | | result [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/main.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / fn add_right_zero(a: &str, i: usize) -> String { [INFO] [stdout] 135 | | let mut a = String::from(a); [INFO] [stdout] 136 | | (0..i).for_each(|_| a.push('0')); [INFO] [stdout] 137 | | a [INFO] [stdout] 138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the name `add_right_zero` in the value namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use srom3::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/main.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / fn add_right_zero(a: &str, i: usize) -> String { [INFO] [stdout] 135 | | let mut a = String::from(a); [INFO] [stdout] 136 | | (0..i).for_each(|_| a.push('0')); [INFO] [stdout] 137 | | a [INFO] [stdout] 138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/srom4.rs:21:54 [INFO] [stdout] | [INFO] [stdout] 21 | &mul_matrix(&bin_str_to_vec(a.as_str()), &Matrix), [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 21 | &mul_matrix(&bin_str_to_vec(a.as_str()), addr_of!(Matrix)), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/srom4.rs:21:54 [INFO] [stdout] | [INFO] [stdout] 21 | &mul_matrix(&bin_str_to_vec(a.as_str()), &Matrix), [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 21 | &mul_matrix(&bin_str_to_vec(a.as_str()), addr_of!(Matrix)), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `q` is never read [INFO] [stdout] --> src/srom2.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut q = String::new(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `q` is never read [INFO] [stdout] --> src/srom2.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut q = String::new(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/srom3.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn mul(mut a: &str, mut b: &str) -> String { [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/srom3.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn mul(mut a: &str, mut b: &str) -> String { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/srom3.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn mul(mut a: &str, mut b: &str) -> String { [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/srom3.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn mul(mut a: &str, mut b: &str) -> String { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/srom4.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | for i in 0..233 { [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/srom4.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | for i in 0..233 { [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: function `add_right_zero` is never used [INFO] [stdout] --> src/srom3.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn add_right_zero(a: &str, i: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul` is never used [INFO] [stdout] --> src/srom3.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn mul(mut a: &str, mut b: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GEN` is never used [INFO] [stdout] --> src/srom4.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const GEN: [usize; 5] = [233, 9, 4, 1, 0]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_right_zero` is never used [INFO] [stdout] --> src/srom4.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn add_right_zero(a: &str, i: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul` is never used [INFO] [stdout] --> src/srom4.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe fn mul(a: &str, b: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Matrix` should have an upper case name [INFO] [stdout] --> src/srom4.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | static mut Matrix: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `MATRIX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_right_zero` is never used [INFO] [stdout] --> src/srom3.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn add_right_zero(a: &str, i: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GEN` is never used [INFO] [stdout] --> src/srom4.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const GEN: [usize; 5] = [233, 9, 4, 1, 0]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_right_zero` is never used [INFO] [stdout] --> src/srom4.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn add_right_zero(a: &str, i: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul` is never used [INFO] [stdout] --> src/srom4.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe fn mul(a: &str, b: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Matrix` should have an upper case name [INFO] [stdout] --> src/srom4.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | static mut Matrix: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `MATRIX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "c1da8466542e5d0a761f3c5047f61ccdca4c961556d85a8f485fbd22442e513f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1da8466542e5d0a761f3c5047f61ccdca4c961556d85a8f485fbd22442e513f", kill_on_drop: false }` [INFO] [stdout] c1da8466542e5d0a761f3c5047f61ccdca4c961556d85a8f485fbd22442e513f