[INFO] fetching crate verugent 0.1.3... [INFO] testing verugent-0.1.3 against 1.86.0 for beta-1.87-1 [INFO] extracting crate verugent 0.1.3 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate verugent 0.1.3 on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [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" "+1.86.0" "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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e98f6cdc62511d0fb32a150308b241bec5acc353853d3c40638b68667fb30806 [INFO] running `Command { std: "docker" "start" "-a" "e98f6cdc62511d0fb32a150308b241bec5acc353853d3c40638b68667fb30806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e98f6cdc62511d0fb32a150308b241bec5acc353853d3c40638b68667fb30806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e98f6cdc62511d0fb32a150308b241bec5acc353853d3c40638b68667fb30806", kill_on_drop: false }` [INFO] [stdout] e98f6cdc62511d0fb32a150308b241bec5acc353853d3c40638b68667fb30806 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ce9ceb19e5577b87064ef39b8d73ceaff13407bc648cd2f18197b8081858ec0 [INFO] running `Command { std: "docker" "start" "-a" "8ce9ceb19e5577b87064ef39b8d73ceaff13407bc648cd2f18197b8081858ec0", 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)]` 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)]` 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.27s [INFO] running `Command { std: "docker" "inspect" "8ce9ceb19e5577b87064ef39b8d73ceaff13407bc648cd2f18197b8081858ec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce9ceb19e5577b87064ef39b8d73ceaff13407bc648cd2f18197b8081858ec0", kill_on_drop: false }` [INFO] [stdout] 8ce9ceb19e5577b87064ef39b8d73ceaff13407bc648cd2f18197b8081858ec0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcfb4976d8fc829317f780c7270b88ec52414e59d5209f5a3092a157160c70ca [INFO] running `Command { std: "docker" "start" "-a" "dcfb4976d8fc829317f780c7270b88ec52414e59d5209f5a3092a157160c70ca", 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)]` 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)]` 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] [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)]` 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)]` 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 2.12s [INFO] running `Command { std: "docker" "inspect" "dcfb4976d8fc829317f780c7270b88ec52414e59d5209f5a3092a157160c70ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcfb4976d8fc829317f780c7270b88ec52414e59d5209f5a3092a157160c70ca", kill_on_drop: false }` [INFO] [stdout] dcfb4976d8fc829317f780c7270b88ec52414e59d5209f5a3092a157160c70ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9b12c808658726fdefe04d2e2acc587ed831118047cea71076f2b96f83630bdd [INFO] running `Command { std: "docker" "start" "-a" "9b12c808658726fdefe04d2e2acc587ed831118047cea71076f2b96f83630bdd", 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)]` 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)]` 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.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/verugent-3cea46417004d1d9) [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)]` 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" "9b12c808658726fdefe04d2e2acc587ed831118047cea71076f2b96f83630bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b12c808658726fdefe04d2e2acc587ed831118047cea71076f2b96f83630bdd", kill_on_drop: false }` [INFO] [stdout] 9b12c808658726fdefe04d2e2acc587ed831118047cea71076f2b96f83630bdd