[INFO] fetching crate verugent 0.1.3... [INFO] checking verugent-0.1.3 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate verugent 0.1.3 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate verugent 0.1.3 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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-2-tc2/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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 538b56b4a2c8623f6e75da3801e51f89d4f37fed29d5004631e33244b060f96e [INFO] running `Command { std: "docker" "start" "-a" "538b56b4a2c8623f6e75da3801e51f89d4f37fed29d5004631e33244b060f96e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "538b56b4a2c8623f6e75da3801e51f89d4f37fed29d5004631e33244b060f96e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "538b56b4a2c8623f6e75da3801e51f89d4f37fed29d5004631e33244b060f96e", kill_on_drop: false }` [INFO] [stdout] 538b56b4a2c8623f6e75da3801e51f89d4f37fed29d5004631e33244b060f96e [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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8971974792b01a7b64c36fc0405a67179c888401ba39742fe83fa78d10b8bb2e [INFO] running `Command { std: "docker" "start" "-a" "8971974792b01a7b64c36fc0405a67179c888401ba39742fe83fa78d10b8bb2e", kill_on_drop: false }` [INFO] [stderr] Checking 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: 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] error: 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] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `verugent` (lib) due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: 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] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `verugent` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8971974792b01a7b64c36fc0405a67179c888401ba39742fe83fa78d10b8bb2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8971974792b01a7b64c36fc0405a67179c888401ba39742fe83fa78d10b8bb2e", kill_on_drop: false }` [INFO] [stdout] 8971974792b01a7b64c36fc0405a67179c888401ba39742fe83fa78d10b8bb2e