[INFO] fetching crate verugent 0.1.3... [INFO] checking verugent-0.1.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [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 c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc4d91f9f122b78995826227b4ade61d41525ed41eebb51b871d2622fab8a5a0 [INFO] running `Command { std: "docker" "start" "-a" "bc4d91f9f122b78995826227b4ade61d41525ed41eebb51b871d2622fab8a5a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc4d91f9f122b78995826227b4ade61d41525ed41eebb51b871d2622fab8a5a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc4d91f9f122b78995826227b4ade61d41525ed41eebb51b871d2622fab8a5a0", kill_on_drop: false }` [INFO] [stdout] bc4d91f9f122b78995826227b4ade61d41525ed41eebb51b871d2622fab8a5a0 [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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c1013a40dd12faa9acae823cf678a2da70b1217590052b547a2272dacd556d2 [INFO] running `Command { std: "docker" "start" "-a" "6c1013a40dd12faa9acae823cf678a2da70b1217590052b547a2272dacd556d2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] 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: 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "6c1013a40dd12faa9acae823cf678a2da70b1217590052b547a2272dacd556d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c1013a40dd12faa9acae823cf678a2da70b1217590052b547a2272dacd556d2", kill_on_drop: false }` [INFO] [stdout] 6c1013a40dd12faa9acae823cf678a2da70b1217590052b547a2272dacd556d2