[INFO] fetching crate verugent 0.1.3... [INFO] testing verugent-0.1.3 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate verugent 0.1.3 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate verugent 0.1.3 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e511d8bb03467b4f4adea69bc77b64e7ec51f7b2bf120c4a48cf19c309eff7e8 [INFO] running `Command { std: "docker" "start" "-a" "e511d8bb03467b4f4adea69bc77b64e7ec51f7b2bf120c4a48cf19c309eff7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e511d8bb03467b4f4adea69bc77b64e7ec51f7b2bf120c4a48cf19c309eff7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e511d8bb03467b4f4adea69bc77b64e7ec51f7b2bf120c4a48cf19c309eff7e8", kill_on_drop: false }` [INFO] [stdout] e511d8bb03467b4f4adea69bc77b64e7ec51f7b2bf120c4a48cf19c309eff7e8 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 031cea5f8d1df883ca66e86c3106b6bd688f2920e511d1d1cd446a2ec4567ed1 [INFO] running `Command { std: "docker" "start" "-a" "031cea5f8d1df883ca66e86c3106b6bd688f2920e511d1d1cd446a2ec4567ed1", 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 0.81s [INFO] running `Command { std: "docker" "inspect" "031cea5f8d1df883ca66e86c3106b6bd688f2920e511d1d1cd446a2ec4567ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "031cea5f8d1df883ca66e86c3106b6bd688f2920e511d1d1cd446a2ec4567ed1", kill_on_drop: false }` [INFO] [stdout] 031cea5f8d1df883ca66e86c3106b6bd688f2920e511d1d1cd446a2ec4567ed1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca5487d05185605b40f0f587cad5875580d7a2d7b86a2e738df60c1ad9a73b13 [INFO] running `Command { std: "docker" "start" "-a" "ca5487d05185605b40f0f587cad5875580d7a2d7b86a2e738df60c1ad9a73b13", 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] [stderr] Compiling verugent v0.1.3 (/opt/rustwide/workdir) [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] [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 0.71s [INFO] running `Command { std: "docker" "inspect" "ca5487d05185605b40f0f587cad5875580d7a2d7b86a2e738df60c1ad9a73b13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca5487d05185605b40f0f587cad5875580d7a2d7b86a2e738df60c1ad9a73b13", kill_on_drop: false }` [INFO] [stdout] ca5487d05185605b40f0f587cad5875580d7a2d7b86a2e738df60c1ad9a73b13 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 93bb88ce84423818b45103f3d0f0ff75ddf860b4db379962b8aea76dd261bca7 [INFO] running `Command { std: "docker" "start" "-a" "93bb88ce84423818b45103f3d0f0ff75ddf860b4db379962b8aea76dd261bca7", 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.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/verugent-fe79da06f37a04b9) [INFO] [stdout] [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" "93bb88ce84423818b45103f3d0f0ff75ddf860b4db379962b8aea76dd261bca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93bb88ce84423818b45103f3d0f0ff75ddf860b4db379962b8aea76dd261bca7", kill_on_drop: false }` [INFO] [stdout] 93bb88ce84423818b45103f3d0f0ff75ddf860b4db379962b8aea76dd261bca7