[INFO] fetching crate verugent 0.1.3... [INFO] testing verugent-0.1.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate verugent 0.1.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate verugent 0.1.3 [INFO] finished tweaking crates.io crate verugent 0.1.3 [INFO] tweaked toml for crates.io crate verugent 0.1.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate verugent 0.1.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate verugent 0.1.3 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be5399c55b77e4376f7acc449b42099c7f4d16c48b3b91e8e875761ac238f586 [INFO] running `Command { std: "docker" "start" "-a" "be5399c55b77e4376f7acc449b42099c7f4d16c48b3b91e8e875761ac238f586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be5399c55b77e4376f7acc449b42099c7f4d16c48b3b91e8e875761ac238f586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be5399c55b77e4376f7acc449b42099c7f4d16c48b3b91e8e875761ac238f586", kill_on_drop: false }` [INFO] [stdout] be5399c55b77e4376f7acc449b42099c7f4d16c48b3b91e8e875761ac238f586 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c4e0f73e87cd888c6263c754ba7b5af026d68e47ab603f03d649250c1c578a4 [INFO] running `Command { std: "docker" "start" "-a" "7c4e0f73e87cd888c6263c754ba7b5af026d68e47ab603f03d649250c1c578a4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling verugent v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/vcore.rs:2999:20 [INFO] [stdout] | [INFO] [stdout] 2999 | self.State[(self.Current_state as usize)].SetBranch(Branch.into(), F!(NState = Goto_)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2999 - self.State[(self.Current_state as usize)].SetBranch(Branch.into(), F!(NState = Goto_)); [INFO] [stdout] 2999 + self.State[self.Current_state as usize].SetBranch(Branch.into(), F!(NState = Goto_)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/vcore.rs:3011:43 [INFO] [stdout] | [INFO] [stdout] 3011 | let NameCurrentState = self.State[((self.Current_state-1) as usize)].getStateName(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3011 - let NameCurrentState = self.State[((self.Current_state-1) as usize)].getStateName(); [INFO] [stdout] 3011 + let NameCurrentState = self.State[(self.Current_state-1) as usize].getStateName(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::new` that must be used [INFO] [stdout] --> src/vcore.rs:1456:13 [INFO] [stdout] | [INFO] [stdout] 1456 | Box::new(E::Null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1456 | let _ = Box::new(E::Null); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/vcore.rs:2116:26 [INFO] [stdout] | [INFO] [stdout] 2116 | match tmp.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/vcore.rs:2126:22 [INFO] [stdout] | [INFO] [stdout] 2126 | match tmp.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/vcore.rs:2235:22 [INFO] [stdout] | [INFO] [stdout] 2235 | match tmp.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "7c4e0f73e87cd888c6263c754ba7b5af026d68e47ab603f03d649250c1c578a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c4e0f73e87cd888c6263c754ba7b5af026d68e47ab603f03d649250c1c578a4", kill_on_drop: false }` [INFO] [stdout] 7c4e0f73e87cd888c6263c754ba7b5af026d68e47ab603f03d649250c1c578a4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c44eb63165fbf8e2328d6be7fa0058a4b8cf17b0cdf763d200996bd3442f609b [INFO] running `Command { std: "docker" "start" "-a" "c44eb63165fbf8e2328d6be7fa0058a4b8cf17b0cdf763d200996bd3442f609b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/vcore.rs:2999:20 [INFO] [stdout] | [INFO] [stdout] 2999 | self.State[(self.Current_state as usize)].SetBranch(Branch.into(), F!(NState = Goto_)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2999 - self.State[(self.Current_state as usize)].SetBranch(Branch.into(), F!(NState = Goto_)); [INFO] [stdout] 2999 + self.State[self.Current_state as usize].SetBranch(Branch.into(), F!(NState = Goto_)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/vcore.rs:3011:43 [INFO] [stdout] | [INFO] [stdout] 3011 | let NameCurrentState = self.State[((self.Current_state-1) as usize)].getStateName(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3011 - let NameCurrentState = self.State[((self.Current_state-1) as usize)].getStateName(); [INFO] [stdout] 3011 + let NameCurrentState = self.State[(self.Current_state-1) as usize].getStateName(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::new` that must be used [INFO] [stdout] --> src/vcore.rs:1456:13 [INFO] [stdout] | [INFO] [stdout] 1456 | Box::new(E::Null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1456 | let _ = Box::new(E::Null); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/vcore.rs:2116:26 [INFO] [stdout] | [INFO] [stdout] 2116 | match tmp.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/vcore.rs:2126:22 [INFO] [stdout] | [INFO] [stdout] 2126 | match tmp.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/vcore.rs:2235:22 [INFO] [stdout] | [INFO] [stdout] 2235 | match tmp.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling verugent v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/vcore.rs:2999:20 [INFO] [stdout] | [INFO] [stdout] 2999 | self.State[(self.Current_state as usize)].SetBranch(Branch.into(), F!(NState = Goto_)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2999 - self.State[(self.Current_state as usize)].SetBranch(Branch.into(), F!(NState = Goto_)); [INFO] [stdout] 2999 + self.State[self.Current_state as usize].SetBranch(Branch.into(), F!(NState = Goto_)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/vcore.rs:3011:43 [INFO] [stdout] | [INFO] [stdout] 3011 | let NameCurrentState = self.State[((self.Current_state-1) as usize)].getStateName(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3011 - let NameCurrentState = self.State[((self.Current_state-1) as usize)].getStateName(); [INFO] [stdout] 3011 + let NameCurrentState = self.State[(self.Current_state-1) as usize].getStateName(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::new` that must be used [INFO] [stdout] --> src/vcore.rs:1456:13 [INFO] [stdout] | [INFO] [stdout] 1456 | Box::new(E::Null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1456 | let _ = Box::new(E::Null); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/vcore.rs:2116:26 [INFO] [stdout] | [INFO] [stdout] 2116 | match tmp.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/vcore.rs:2126:22 [INFO] [stdout] | [INFO] [stdout] 2126 | match tmp.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/vcore.rs:2235:22 [INFO] [stdout] | [INFO] [stdout] 2235 | match tmp.clone() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "c44eb63165fbf8e2328d6be7fa0058a4b8cf17b0cdf763d200996bd3442f609b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c44eb63165fbf8e2328d6be7fa0058a4b8cf17b0cdf763d200996bd3442f609b", kill_on_drop: false }` [INFO] [stdout] c44eb63165fbf8e2328d6be7fa0058a4b8cf17b0cdf763d200996bd3442f609b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a8d6143081df03ef2c593ebb819dc84877dabc5c0377dee28dd63f0fb081c52e [INFO] running `Command { std: "docker" "start" "-a" "a8d6143081df03ef2c593ebb819dc84877dabc5c0377dee28dd63f0fb081c52e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/vcore.rs:2999:20 [INFO] [stderr] | [INFO] [stderr] 2999 | self.State[(self.Current_state as usize)].SetBranch(Branch.into(), F!(NState = Goto_)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 2999 - self.State[(self.Current_state as usize)].SetBranch(Branch.into(), F!(NState = Goto_)); [INFO] [stderr] 2999 + self.State[self.Current_state as usize].SetBranch(Branch.into(), F!(NState = Goto_)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/vcore.rs:3011:43 [INFO] [stderr] | [INFO] [stderr] 3011 | let NameCurrentState = self.State[((self.Current_state-1) as usize)].getStateName(); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 3011 - let NameCurrentState = self.State[((self.Current_state-1) as usize)].getStateName(); [INFO] [stderr] 3011 + let NameCurrentState = self.State[(self.Current_state-1) as usize].getStateName(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::new` that must be used [INFO] [stderr] --> src/vcore.rs:1456:13 [INFO] [stderr] | [INFO] [stderr] 1456 | Box::new(E::Null); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 1456 | let _ = Box::new(E::Null); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/vcore.rs:2116:26 [INFO] [stderr] | [INFO] [stderr] 2116 | match tmp.clone() { [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/vcore.rs:2126:22 [INFO] [stderr] | [INFO] [stderr] 2126 | match tmp.clone() { [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/vcore.rs:2235:22 [INFO] [stderr] | [INFO] [stderr] 2235 | match tmp.clone() { [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `verugent` (lib) generated 6 warnings (run `cargo fix --lib -p verugent` to apply 5 suggestions) [INFO] [stderr] warning: `verugent` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/verugent-fe79da06f37a04b9) [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests verugent [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/vcore.rs:2999:20 [INFO] [stderr] | [INFO] [stderr] 2999 | self.State[(self.Current_state as usize)].SetBranch(Branch.into(), F!(NState = Goto_)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 2999 - self.State[(self.Current_state as usize)].SetBranch(Branch.into(), F!(NState = Goto_)); [INFO] [stderr] 2999 + self.State[self.Current_state as usize].SetBranch(Branch.into(), F!(NState = Goto_)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/vcore.rs:3011:43 [INFO] [stderr] | [INFO] [stderr] 3011 | let NameCurrentState = self.State[((self.Current_state-1) as usize)].getStateName(); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 3011 - let NameCurrentState = self.State[((self.Current_state-1) as usize)].getStateName(); [INFO] [stderr] 3011 + let NameCurrentState = self.State[(self.Current_state-1) as usize].getStateName(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a8d6143081df03ef2c593ebb819dc84877dabc5c0377dee28dd63f0fb081c52e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8d6143081df03ef2c593ebb819dc84877dabc5c0377dee28dd63f0fb081c52e", kill_on_drop: false }` [INFO] [stdout] a8d6143081df03ef2c593ebb819dc84877dabc5c0377dee28dd63f0fb081c52e