[INFO] cloning repository https://github.com/FeelingITNoW/lab3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FeelingITNoW/lab3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeelingITNoW%2Flab3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeelingITNoW%2Flab3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a03d068672cdaece1674a8effdc8f3364182427f [INFO] checking FeelingITNoW/lab3/a03d068672cdaece1674a8effdc8f3364182427f against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeelingITNoW%2Flab3" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FeelingITNoW/lab3 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FeelingITNoW/lab3 [INFO] finished tweaking git repo https://github.com/FeelingITNoW/lab3 [INFO] tweaked toml for git repo https://github.com/FeelingITNoW/lab3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/FeelingITNoW/lab3 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5a280b4de3b0d98a99d72eeb64e07e7cfb32895c51090dad30cf92902c549b9 [INFO] running `Command { std: "docker" "start" "-a" "d5a280b4de3b0d98a99d72eeb64e07e7cfb32895c51090dad30cf92902c549b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5a280b4de3b0d98a99d72eeb64e07e7cfb32895c51090dad30cf92902c549b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5a280b4de3b0d98a99d72eeb64e07e7cfb32895c51090dad30cf92902c549b9", kill_on_drop: false }` [INFO] [stdout] d5a280b4de3b0d98a99d72eeb64e07e7cfb32895c51090dad30cf92902c549b9 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dcadaf315bb08743eef825a55ec4db408932faae1de3473e7091be06936fbdd [INFO] running `Command { std: "docker" "start" "-a" "0dcadaf315bb08743eef825a55ec4db408932faae1de3473e7091be06936fbdd", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking lab3 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/main.rs (4 fixes) [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IntValue` in this scope [INFO] [stdout] --> src/main.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!(eval(expr), IntValue(24)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::Value::IntValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BoolValue` in this scope [INFO] [stdout] --> src/main.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | assert_eq!(eval(expr), BoolValue(false)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::Value::BoolValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BoolValue` in this scope [INFO] [stdout] --> src/main.rs:135:32 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(eval(expr), BoolValue(true)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::Value::BoolValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BoolValue` in this scope [INFO] [stdout] --> src/main.rs:140:32 [INFO] [stdout] | [INFO] [stdout] 140 | assert_eq!(eval(expr), BoolValue(true)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::Value::BoolValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BoolValue` in this scope [INFO] [stdout] --> src/main.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(eval(expr), BoolValue(false)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::Value::BoolValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BoolValue` in this scope [INFO] [stdout] --> src/main.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(eval(expr), BoolValue(true)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::Value::BoolValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BoolValue` in this scope [INFO] [stdout] --> src/main.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | assert_eq!(eval(expr), BoolValue(false)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::Value::BoolValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BoolValue` in this scope [INFO] [stdout] --> src/main.rs:165:32 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(eval(expr), BoolValue(true)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::Value::BoolValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BoolValue` in this scope [INFO] [stdout] --> src/main.rs:170:32 [INFO] [stdout] | [INFO] [stdout] 170 | assert_eq!(eval(expr), BoolValue(true)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::Value::BoolValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AndOp` in this scope [INFO] [stdout] --> src/main.rs:176:114 [INFO] [stdout] | [INFO] [stdout] 176 | let expr = BoolExpr(BinBoolExpr{ left: Box::new(left_logic_expr), right:Box::new(right_logic_expr), op: (AndOp) }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::BinLogicOp::AndOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BoolValue` in this scope [INFO] [stdout] --> src/main.rs:178:32 [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq!(eval(expr), BoolValue(false)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::Value::BoolValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OrOp` in this scope [INFO] [stdout] --> src/main.rs:184:114 [INFO] [stdout] | [INFO] [stdout] 184 | let expr = BoolExpr(BinBoolExpr{ left: Box::new(left_logic_expr), right:Box::new(right_logic_expr), op: (OrOp) }); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::BinLogicOp::OrOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BoolValue` in this scope [INFO] [stdout] --> src/main.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!(eval(expr), BoolValue(true)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::Value::BoolValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OrOp` in this scope [INFO] [stdout] --> src/main.rs:191:114 [INFO] [stdout] | [INFO] [stdout] 191 | let expr = BoolExpr(BinBoolExpr{ left: Box::new(right_logic_expr), right:Box::new(left_logic_expr), op: (OrOp) }); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::BinLogicOp::OrOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BoolValue` in this scope [INFO] [stdout] --> src/main.rs:192:32 [INFO] [stdout] | [INFO] [stdout] 192 | assert_eq!(eval(expr), BoolValue(true)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::Value::BoolValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BoolEqOp` in this scope [INFO] [stdout] --> src/main.rs:198:114 [INFO] [stdout] | [INFO] [stdout] 198 | let expr = BoolExpr(BinBoolExpr{ left: Box::new(left_logic_expr), right:Box::new(right_logic_expr), op: (BoolEqOp) }); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::BinLogicOp::BoolEqOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BoolValue` in this scope [INFO] [stdout] --> src/main.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(eval(expr), BoolValue(false)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::Value::BoolValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AndOp` in this scope [INFO] [stdout] --> src/main.rs:204:115 [INFO] [stdout] | [INFO] [stdout] 204 | let right_logic_expr = BinBoolExpr { left: Box::new(BoolLit(true)), right: Box::new(BoolLit(false)), op: (AndOp) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::BinLogicOp::AndOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BoolNeqOp` in this scope [INFO] [stdout] --> src/main.rs:205:114 [INFO] [stdout] | [INFO] [stdout] 205 | let expr = BoolExpr(BinBoolExpr{ left: Box::new(left_logic_expr), right:Box::new(right_logic_expr), op: (BoolNeqOp) }); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::BinLogicOp::BoolNeqOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BoolValue` in this scope [INFO] [stdout] --> src/main.rs:207:32 [INFO] [stdout] | [INFO] [stdout] 207 | assert_eq!(eval(expr), BoolValue(true)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::Value::BoolValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AndOp` in this scope [INFO] [stdout] --> src/main.rs:212:115 [INFO] [stdout] | [INFO] [stdout] 212 | let right_logic_expr = BinBoolExpr { left: Box::new(BoolLit(true)), right: Box::new(BoolLit(false)), op: (AndOp) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::BinLogicOp::AndOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BoolNeqOp` in this scope [INFO] [stdout] --> src/main.rs:213:114 [INFO] [stdout] | [INFO] [stdout] 213 | let expr = BoolExpr(BinBoolExpr{ left: Box::new(left_logic_expr), right:Box::new(right_logic_expr), op: (BoolNeqOp) }); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 115 + use crate::BinLogicOp::BoolNeqOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:127:34 [INFO] [stdout] | [INFO] [stdout] 127 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::AddOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::AddOp) })); [INFO] [stdout] 127 + let left_expr = Box::new(BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::AddOp) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:127:101 [INFO] [stdout] | [INFO] [stdout] 127 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::AddOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::AddOp) })); [INFO] [stdout] 127 + let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit(32)), op: (BinArithOp::AddOp) })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 132 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::AddOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::AddOp) })); [INFO] [stdout] 132 + let left_expr = Box::new(BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::AddOp) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:132:101 [INFO] [stdout] | [INFO] [stdout] 132 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::AddOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::AddOp) })); [INFO] [stdout] 132 + let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit(32)), op: (BinArithOp::AddOp) })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 137 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 137 + let left_expr = Box::new(BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:137:101 [INFO] [stdout] | [INFO] [stdout] 137 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 137 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 137 + let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit(32)), op: (BinArithOp::SubOp) })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:142:34 [INFO] [stdout] | [INFO] [stdout] 142 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 142 + let left_expr = Box::new(BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:142:101 [INFO] [stdout] | [INFO] [stdout] 142 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 142 + let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit(32)), op: (BinArithOp::SubOp) })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:147:34 [INFO] [stdout] | [INFO] [stdout] 147 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 147 + let left_expr = Box::new(BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:147:101 [INFO] [stdout] | [INFO] [stdout] 147 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 147 + let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit(32)), op: (BinArithOp::SubOp) })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 152 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 152 + let left_expr = Box::new(BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:152:101 [INFO] [stdout] | [INFO] [stdout] 152 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 152 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 152 + let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit(32)), op: (BinArithOp::SubOp) })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 162 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 162 + let left_expr = Box::new(BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:162:101 [INFO] [stdout] | [INFO] [stdout] 162 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 162 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 162 + let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit(32)), op: (BinArithOp::SubOp) })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | let expr = (BoolExpr(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp })))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 164 - let expr = (BoolExpr(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp })))); [INFO] [stdout] 164 + let expr = BoolExpr(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp }))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:167:34 [INFO] [stdout] | [INFO] [stdout] 167 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 167 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 167 + let left_expr = Box::new(BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:167:101 [INFO] [stdout] | [INFO] [stdout] 167 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 167 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 167 + let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit(32)), op: (BinArithOp::SubOp) })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | let expr = (BoolExpr(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp })))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 169 - let expr = (BoolExpr(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp })))); [INFO] [stdout] 169 + let expr = BoolExpr(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp }))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 172 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 172 + let left_expr = Box::new(BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:172:101 [INFO] [stdout] | [INFO] [stdout] 172 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 172 + let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit(32)), op: (BinArithOp::SubOp) })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:174:30 [INFO] [stdout] | [INFO] [stdout] 174 | let left_logic_expr =(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp }))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 174 - let left_logic_expr =(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp }))); [INFO] [stdout] 174 + let left_logic_expr =NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:180:34 [INFO] [stdout] | [INFO] [stdout] 180 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 180 + let left_expr = Box::new(BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:180:101 [INFO] [stdout] | [INFO] [stdout] 180 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 180 + let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit(32)), op: (BinArithOp::SubOp) })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:182:30 [INFO] [stdout] | [INFO] [stdout] 182 | let left_logic_expr =(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp }))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 - let left_logic_expr =(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp }))); [INFO] [stdout] 182 + let left_logic_expr =NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 187 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 187 + let left_expr = Box::new(BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:187:101 [INFO] [stdout] | [INFO] [stdout] 187 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 187 + let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit(32)), op: (BinArithOp::SubOp) })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | let left_logic_expr =(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp }))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - let left_logic_expr =(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp }))); [INFO] [stdout] 189 + let left_logic_expr =NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lab3` (bin "lab3" test) due to 23 previous errors; 36 warnings emitted [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 194 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 194 + let left_expr = Box::new(BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:194:101 [INFO] [stdout] | [INFO] [stdout] 194 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 194 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 194 + let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit(32)), op: (BinArithOp::SubOp) })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:196:30 [INFO] [stdout] | [INFO] [stdout] 196 | let left_logic_expr =(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp }))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 196 - let left_logic_expr =(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp }))); [INFO] [stdout] 196 + let left_logic_expr =NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:201:34 [INFO] [stdout] | [INFO] [stdout] 201 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 201 + let left_expr = Box::new(BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:201:101 [INFO] [stdout] | [INFO] [stdout] 201 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 201 + let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit(32)), op: (BinArithOp::SubOp) })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | let left_logic_expr =(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp }))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 203 - let left_logic_expr =(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp }))); [INFO] [stdout] 203 + let left_logic_expr =NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:209:34 [INFO] [stdout] | [INFO] [stdout] 209 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 209 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 209 + let left_expr = Box::new(BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:209:101 [INFO] [stdout] | [INFO] [stdout] 209 | let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 209 - let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit((32))), op: (BinArithOp::SubOp) })); [INFO] [stdout] 209 + let left_expr = Box::new((BinArithExpr { left: Box::new(IntLit(24)), right: Box::new(IntLit(32)), op: (BinArithOp::SubOp) })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 211 | let left_logic_expr =(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp }))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 211 - let left_logic_expr =(NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp }))); [INFO] [stdout] 211 + let left_logic_expr =NotExpr(Box::new(ArithCmpExpr { left: left_expr, right: right_expr, op: ArithCmpOp::GteOp })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0dcadaf315bb08743eef825a55ec4db408932faae1de3473e7091be06936fbdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dcadaf315bb08743eef825a55ec4db408932faae1de3473e7091be06936fbdd", kill_on_drop: false }` [INFO] [stdout] 0dcadaf315bb08743eef825a55ec4db408932faae1de3473e7091be06936fbdd