[INFO] cloning repository https://github.com/YeyaSwizaw/rust-reasoning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YeyaSwizaw/rust-reasoning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYeyaSwizaw%2Frust-reasoning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYeyaSwizaw%2Frust-reasoning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f98ab3aefc309a2f88ce9c5d0d08bc1a8753cbba [INFO] fixing YeyaSwizaw/rust-reasoning against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYeyaSwizaw%2Frust-reasoning" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/YeyaSwizaw/rust-reasoning [INFO] finished tweaking git repo https://github.com/YeyaSwizaw/rust-reasoning [INFO] tweaked toml for git repo https://github.com/YeyaSwizaw/rust-reasoning written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/YeyaSwizaw/rust-reasoning on toolchain 622891a4e29178280638a6b63a8908bde2c0c854 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/YeyaSwizaw/rust-reasoning 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" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `reasoning` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f991258b7c9c43640214614b2c256992781c8eaf1ea92cd35244390c4a199f2c [INFO] running `Command { std: "docker" "start" "f991258b7c9c43640214614b2c256992781c8eaf1ea92cd35244390c4a199f2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f991258b7c9c43640214614b2c256992781c8eaf1ea92cd35244390c4a199f2c" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f991258b7c9c43640214614b2c256992781c8eaf1ea92cd35244390c4a199f2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f991258b7c9c43640214614b2c256992781c8eaf1ea92cd35244390c4a199f2c" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `reasoning` (manifest) generated 1 warning [INFO] [stderr] Checking reasoning v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:69:55 [INFO] [stdout] | [INFO] [stdout] 69 | ... expr_stack.push(Expr::Not(box expr)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 69 - expr_stack.push(Expr::Not(box expr)); [INFO] [stdout] 69 + expr_stack.push(Expr::Not(Box::new(expr))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:92:55 [INFO] [stdout] | [INFO] [stdout] 92 | ... expr_stack.push(Expr::Not(box expr)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 92 - expr_stack.push(Expr::Not(box expr)) [INFO] [stdout] 92 + expr_stack.push(Expr::Not(Box::new(expr))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:98:55 [INFO] [stdout] | [INFO] [stdout] 98 | ... expr_stack.push(Expr::And(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 98 - expr_stack.push(Expr::And(box expr2, box expr1)) [INFO] [stdout] 98 + expr_stack.push(Expr::And(Box::new(expr2), box expr1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:98:66 [INFO] [stdout] | [INFO] [stdout] 98 | ... expr_stack.push(Expr::And(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 98 - expr_stack.push(Expr::And(box expr2, box expr1)) [INFO] [stdout] 98 + expr_stack.push(Expr::And(box expr2, Box::new(expr1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:104:54 [INFO] [stdout] | [INFO] [stdout] 104 | ... expr_stack.push(Expr::Or(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 104 - expr_stack.push(Expr::Or(box expr2, box expr1)) [INFO] [stdout] 104 + expr_stack.push(Expr::Or(Box::new(expr2), box expr1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:104:65 [INFO] [stdout] | [INFO] [stdout] 104 | ... expr_stack.push(Expr::Or(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 104 - expr_stack.push(Expr::Or(box expr2, box expr1)) [INFO] [stdout] 104 + expr_stack.push(Expr::Or(box expr2, Box::new(expr1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:110:58 [INFO] [stdout] | [INFO] [stdout] 110 | ... expr_stack.push(Expr::IfThen(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 110 - expr_stack.push(Expr::IfThen(box expr2, box expr1)) [INFO] [stdout] 110 + expr_stack.push(Expr::IfThen(Box::new(expr2), box expr1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:110:69 [INFO] [stdout] | [INFO] [stdout] 110 | ... expr_stack.push(Expr::IfThen(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 110 - expr_stack.push(Expr::IfThen(box expr2, box expr1)) [INFO] [stdout] 110 + expr_stack.push(Expr::IfThen(box expr2, Box::new(expr1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:69:55 [INFO] [stdout] | [INFO] [stdout] 69 | ... expr_stack.push(Expr::Not(box expr)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 69 - expr_stack.push(Expr::Not(box expr)); [INFO] [stdout] 69 + expr_stack.push(Expr::Not(Box::new(expr))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:92:55 [INFO] [stdout] | [INFO] [stdout] 92 | ... expr_stack.push(Expr::Not(box expr)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 92 - expr_stack.push(Expr::Not(box expr)) [INFO] [stdout] 92 + expr_stack.push(Expr::Not(Box::new(expr))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:98:55 [INFO] [stdout] | [INFO] [stdout] 98 | ... expr_stack.push(Expr::And(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 98 - expr_stack.push(Expr::And(box expr2, box expr1)) [INFO] [stdout] 98 + expr_stack.push(Expr::And(Box::new(expr2), box expr1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:98:66 [INFO] [stdout] | [INFO] [stdout] 98 | ... expr_stack.push(Expr::And(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 98 - expr_stack.push(Expr::And(box expr2, box expr1)) [INFO] [stdout] 98 + expr_stack.push(Expr::And(box expr2, Box::new(expr1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:104:54 [INFO] [stdout] | [INFO] [stdout] 104 | ... expr_stack.push(Expr::Or(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 104 - expr_stack.push(Expr::Or(box expr2, box expr1)) [INFO] [stdout] 104 + expr_stack.push(Expr::Or(Box::new(expr2), box expr1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:104:65 [INFO] [stdout] | [INFO] [stdout] 104 | ... expr_stack.push(Expr::Or(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 104 - expr_stack.push(Expr::Or(box expr2, box expr1)) [INFO] [stdout] 104 + expr_stack.push(Expr::Or(box expr2, Box::new(expr1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:110:58 [INFO] [stdout] | [INFO] [stdout] 110 | ... expr_stack.push(Expr::IfThen(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 110 - expr_stack.push(Expr::IfThen(box expr2, box expr1)) [INFO] [stdout] 110 + expr_stack.push(Expr::IfThen(Box::new(expr2), box expr1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:110:69 [INFO] [stdout] | [INFO] [stdout] 110 | ... expr_stack.push(Expr::IfThen(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 110 - expr_stack.push(Expr::IfThen(box expr2, box expr1)) [INFO] [stdout] 110 + expr_stack.push(Expr::IfThen(box expr2, Box::new(expr1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:116:55 [INFO] [stdout] | [INFO] [stdout] 116 | ... expr_stack.push(Expr::IFF(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 116 - expr_stack.push(Expr::IFF(box expr2, box expr1)) [INFO] [stdout] 116 + expr_stack.push(Expr::IFF(Box::new(expr2), box expr1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:116:66 [INFO] [stdout] | [INFO] [stdout] 116 | ... expr_stack.push(Expr::IFF(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 116 - expr_stack.push(Expr::IFF(box expr2, box expr1)) [INFO] [stdout] 116 + expr_stack.push(Expr::IFF(box expr2, Box::new(expr1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:133:43 [INFO] [stdout] | [INFO] [stdout] 133 | expr_stack.push(Expr::Not(box expr)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 133 - expr_stack.push(Expr::Not(box expr)) [INFO] [stdout] 133 + expr_stack.push(Expr::Not(Box::new(expr))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:116:55 [INFO] [stdout] | [INFO] [stdout] 116 | ... expr_stack.push(Expr::IFF(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 116 - expr_stack.push(Expr::IFF(box expr2, box expr1)) [INFO] [stdout] 116 + expr_stack.push(Expr::IFF(Box::new(expr2), box expr1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:116:66 [INFO] [stdout] | [INFO] [stdout] 116 | ... expr_stack.push(Expr::IFF(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 116 - expr_stack.push(Expr::IFF(box expr2, box expr1)) [INFO] [stdout] 116 + expr_stack.push(Expr::IFF(box expr2, Box::new(expr1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:133:43 [INFO] [stdout] | [INFO] [stdout] 133 | expr_stack.push(Expr::Not(box expr)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 133 - expr_stack.push(Expr::Not(box expr)) [INFO] [stdout] 133 + expr_stack.push(Expr::Not(Box::new(expr))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:139:43 [INFO] [stdout] | [INFO] [stdout] 139 | expr_stack.push(Expr::And(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 139 - expr_stack.push(Expr::And(box expr2, box expr1)) [INFO] [stdout] 139 + expr_stack.push(Expr::And(Box::new(expr2), box expr1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:139:54 [INFO] [stdout] | [INFO] [stdout] 139 | expr_stack.push(Expr::And(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 139 - expr_stack.push(Expr::And(box expr2, box expr1)) [INFO] [stdout] 139 + expr_stack.push(Expr::And(box expr2, Box::new(expr1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:145:42 [INFO] [stdout] | [INFO] [stdout] 145 | expr_stack.push(Expr::Or(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 145 - expr_stack.push(Expr::Or(box expr2, box expr1)) [INFO] [stdout] 145 + expr_stack.push(Expr::Or(Box::new(expr2), box expr1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:145:53 [INFO] [stdout] | [INFO] [stdout] 145 | expr_stack.push(Expr::Or(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 145 - expr_stack.push(Expr::Or(box expr2, box expr1)) [INFO] [stdout] 145 + expr_stack.push(Expr::Or(box expr2, Box::new(expr1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:151:46 [INFO] [stdout] | [INFO] [stdout] 151 | expr_stack.push(Expr::IfThen(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 151 - expr_stack.push(Expr::IfThen(box expr2, box expr1)) [INFO] [stdout] 151 + expr_stack.push(Expr::IfThen(Box::new(expr2), box expr1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:151:57 [INFO] [stdout] | [INFO] [stdout] 151 | expr_stack.push(Expr::IfThen(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 151 - expr_stack.push(Expr::IfThen(box expr2, box expr1)) [INFO] [stdout] 151 + expr_stack.push(Expr::IfThen(box expr2, Box::new(expr1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:139:43 [INFO] [stdout] | [INFO] [stdout] 139 | expr_stack.push(Expr::And(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 139 - expr_stack.push(Expr::And(box expr2, box expr1)) [INFO] [stdout] 139 + expr_stack.push(Expr::And(Box::new(expr2), box expr1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:139:54 [INFO] [stdout] | [INFO] [stdout] 139 | expr_stack.push(Expr::And(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 139 - expr_stack.push(Expr::And(box expr2, box expr1)) [INFO] [stdout] 139 + expr_stack.push(Expr::And(box expr2, Box::new(expr1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:145:42 [INFO] [stdout] | [INFO] [stdout] 145 | expr_stack.push(Expr::Or(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 145 - expr_stack.push(Expr::Or(box expr2, box expr1)) [INFO] [stdout] 145 + expr_stack.push(Expr::Or(Box::new(expr2), box expr1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:145:53 [INFO] [stdout] | [INFO] [stdout] 145 | expr_stack.push(Expr::Or(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 145 - expr_stack.push(Expr::Or(box expr2, box expr1)) [INFO] [stdout] 145 + expr_stack.push(Expr::Or(box expr2, Box::new(expr1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:151:46 [INFO] [stdout] | [INFO] [stdout] 151 | expr_stack.push(Expr::IfThen(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 151 - expr_stack.push(Expr::IfThen(box expr2, box expr1)) [INFO] [stdout] 151 + expr_stack.push(Expr::IfThen(Box::new(expr2), box expr1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:151:57 [INFO] [stdout] | [INFO] [stdout] 151 | expr_stack.push(Expr::IfThen(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 151 - expr_stack.push(Expr::IfThen(box expr2, box expr1)) [INFO] [stdout] 151 + expr_stack.push(Expr::IfThen(box expr2, Box::new(expr1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:157:43 [INFO] [stdout] | [INFO] [stdout] 157 | expr_stack.push(Expr::IFF(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 157 - expr_stack.push(Expr::IFF(box expr2, box expr1)) [INFO] [stdout] 157 + expr_stack.push(Expr::IFF(Box::new(expr2), box expr1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:157:54 [INFO] [stdout] | [INFO] [stdout] 157 | expr_stack.push(Expr::IFF(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 157 - expr_stack.push(Expr::IFF(box expr2, box expr1)) [INFO] [stdout] 157 + expr_stack.push(Expr::IFF(box expr2, Box::new(expr1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:157:43 [INFO] [stdout] | [INFO] [stdout] 157 | expr_stack.push(Expr::IFF(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 157 - expr_stack.push(Expr::IFF(box expr2, box expr1)) [INFO] [stdout] 157 + expr_stack.push(Expr::IFF(Box::new(expr2), box expr1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:157:54 [INFO] [stdout] | [INFO] [stdout] 157 | expr_stack.push(Expr::IFF(box expr2, box expr1)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 157 - expr_stack.push(Expr::IFF(box expr2, box expr1)) [INFO] [stdout] 157 + expr_stack.push(Expr::IFF(box expr2, Box::new(expr1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | let mut newexpr = Expr::Not(box expr); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 196 - let mut newexpr = Expr::Not(box expr); [INFO] [stdout] 196 + let mut newexpr = Expr::Not(Box::new(expr)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:230:37 [INFO] [stdout] | [INFO] [stdout] 230 | let not = Expr::Not(box atom.clone()).reduce(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 230 - let not = Expr::Not(box atom.clone()).reduce(); [INFO] [stdout] 230 + let not = Expr::Not(Box::new(atom.clone())).reduce(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:245:41 [INFO] [stdout] | [INFO] [stdout] 245 | let not = Expr::Not(box atom.clone()).reduce(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 245 - let not = Expr::Not(box atom.clone()).reduce(); [INFO] [stdout] 245 + let not = Expr::Not(Box::new(atom.clone())).reduce(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.70.0; see for more information [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:28:78 [INFO] [stdout] | [INFO] [stdout] 28 | &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 28 - &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] 28 + &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(Box::new(e1.clone())), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:28:64 [INFO] [stdout] | [INFO] [stdout] 28 | &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 28 - &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] 28 + &Expr::And(box ref e1, box ref e2) => Expr::Or(Box::new(Expr::Not(box e1.clone())), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:28:109 [INFO] [stdout] | [INFO] [stdout] 28 | &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 28 - &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] 28 + &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(Box::new(e2.clone()))).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | let mut newexpr = Expr::Not(box expr); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 196 - let mut newexpr = Expr::Not(box expr); [INFO] [stdout] 196 + let mut newexpr = Expr::Not(Box::new(expr)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:230:37 [INFO] [stdout] | [INFO] [stdout] 230 | let not = Expr::Not(box atom.clone()).reduce(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 230 - let not = Expr::Not(box atom.clone()).reduce(); [INFO] [stdout] 230 + let not = Expr::Not(Box::new(atom.clone())).reduce(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:245:41 [INFO] [stdout] | [INFO] [stdout] 245 | let not = Expr::Not(box atom.clone()).reduce(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 245 - let not = Expr::Not(box atom.clone()).reduce(); [INFO] [stdout] 245 + let not = Expr::Not(Box::new(atom.clone())).reduce(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:28:95 [INFO] [stdout] | [INFO] [stdout] 28 | &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 28 - &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] 28 + &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), Box::new(Expr::Not(box e2.clone()))).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:29:78 [INFO] [stdout] | [INFO] [stdout] 29 | &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 29 - &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] 29 + &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(Box::new(e1.clone())), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:29:64 [INFO] [stdout] | [INFO] [stdout] 29 | &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 29 - &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] 29 + &Expr::Or(box ref e1, box ref e2) => Expr::And(Box::new(Expr::Not(box e1.clone())), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:29:109 [INFO] [stdout] | [INFO] [stdout] 29 | &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 29 - &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] 29 + &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(Box::new(e2.clone()))).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:29:95 [INFO] [stdout] | [INFO] [stdout] 29 | &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 29 - &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] 29 + &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), Box::new(Expr::Not(box e2.clone()))).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | _ => Expr::Not(box expr.clone().reduce()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 31 - _ => Expr::Not(box expr.clone().reduce()) [INFO] [stdout] 31 + _ => Expr::Not(Box::new(expr.clone().reduce())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:37:92 [INFO] [stdout] | [INFO] [stdout] 37 | ... | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.c... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 37 - | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] 37 + | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(Box::new(oe.clone()), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:37:108 [INFO] [stdout] | [INFO] [stdout] 37 | ... | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.c... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 37 - | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] 37 + | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), Box::new(ae1.clone())), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:37:79 [INFO] [stdout] | [INFO] [stdout] 37 | ... | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 37 - | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] 37 + | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(Box::new(Expr::Or(box oe.clone(), box ae1.clone())), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:37:139 [INFO] [stdout] | [INFO] [stdout] 37 | ... Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 37 - | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] 37 + | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(Box::new(oe.clone()), box ae2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:37:155 [INFO] [stdout] | [INFO] [stdout] 37 | ....clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 37 - | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] 37 + | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), Box::new(ae2.clone()))).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:37:126 [INFO] [stdout] | [INFO] [stdout] 37 | ...xpr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 37 - | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] 37 + | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), Box::new(Expr::Or(box oe.clone(), box ae2.clone()))).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | _ => Expr::Or(box e1.clone().reduce(), box e2.clone().reduce()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 39 - _ => Expr::Or(box e1.clone().reduce(), box e2.clone().reduce()), [INFO] [stdout] 39 + _ => Expr::Or(Box::new(e1.clone().reduce()), box e2.clone().reduce()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | _ => Expr::Or(box e1.clone().reduce(), box e2.clone().reduce()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 39 - _ => Expr::Or(box e1.clone().reduce(), box e2.clone().reduce()), [INFO] [stdout] 39 + _ => Expr::Or(box e1.clone().reduce(), Box::new(e2.clone().reduce())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | &Expr::And(box ref e1, box ref e2) => Expr::And(box e1.clone().reduce(), box e2.clone().reduce()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 42 - &Expr::And(box ref e1, box ref e2) => Expr::And(box e1.clone().reduce(), box e2.clone().reduce()), [INFO] [stdout] 42 + &Expr::And(box ref e1, box ref e2) => Expr::And(Box::new(e1.clone().reduce()), box e2.clone().reduce()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:42:86 [INFO] [stdout] | [INFO] [stdout] 42 | &Expr::And(box ref e1, box ref e2) => Expr::And(box e1.clone().reduce(), box e2.clone().reduce()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 42 - &Expr::And(box ref e1, box ref e2) => Expr::And(box e1.clone().reduce(), box e2.clone().reduce()), [INFO] [stdout] 42 + &Expr::And(box ref e1, box ref e2) => Expr::And(box e1.clone().reduce(), Box::new(e2.clone().reduce())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:44:77 [INFO] [stdout] | [INFO] [stdout] 44 | &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box e2.clone()).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 44 - &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box e2.clone()).reduce(), [INFO] [stdout] 44 + &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(box Expr::Not(Box::new(e1.clone())), box e2.clone()).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:44:63 [INFO] [stdout] | [INFO] [stdout] 44 | &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box e2.clone()).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 44 - &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box e2.clone()).reduce(), [INFO] [stdout] 44 + &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(Box::new(Expr::Not(box e1.clone())), box e2.clone()).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:44:94 [INFO] [stdout] | [INFO] [stdout] 44 | &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box e2.clone()).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 44 - &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box e2.clone()).reduce(), [INFO] [stdout] 44 + &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), Box::new(e2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:46:78 [INFO] [stdout] | [INFO] [stdout] 46 | ... &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clon... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 46 - &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] 46 + &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(Box::new(e1.clone()), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:46:94 [INFO] [stdout] | [INFO] [stdout] 46 | ... &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clon... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 46 - &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] 46 + &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), Box::new(e2.clone())), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:46:61 [INFO] [stdout] | [INFO] [stdout] 46 | ... &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clon... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 46 - &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] 46 + &Expr::IFF(box ref e1, box ref e2) => Expr::And(Box::new(Expr::IfThen(box e1.clone(), box e2.clone())), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:46:128 [INFO] [stdout] | [INFO] [stdout] 46 | ...IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 46 - &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] 46 + &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(Box::new(e2.clone()), box e1.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:46:144 [INFO] [stdout] | [INFO] [stdout] 46 | ...one(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 46 - &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] 46 + &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), Box::new(e1.clone()))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.70.0; see for more information [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:46:111 [INFO] [stdout] | [INFO] [stdout] 46 | ...IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 46 - &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] 46 + &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), Box::new(Expr::IfThen(box e2.clone(), box e1.clone()))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:28:78 [INFO] [stdout] | [INFO] [stdout] 28 | &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 28 - &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] 28 + &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(Box::new(e1.clone())), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:28:64 [INFO] [stdout] | [INFO] [stdout] 28 | &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 28 - &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] 28 + &Expr::And(box ref e1, box ref e2) => Expr::Or(Box::new(Expr::Not(box e1.clone())), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:28:109 [INFO] [stdout] | [INFO] [stdout] 28 | &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 28 - &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] 28 + &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(Box::new(e2.clone()))).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:28:95 [INFO] [stdout] | [INFO] [stdout] 28 | &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 28 - &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] 28 + &Expr::And(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), Box::new(Expr::Not(box e2.clone()))).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:29:78 [INFO] [stdout] | [INFO] [stdout] 29 | &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 29 - &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] 29 + &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(Box::new(e1.clone())), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:29:64 [INFO] [stdout] | [INFO] [stdout] 29 | &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 29 - &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] 29 + &Expr::Or(box ref e1, box ref e2) => Expr::And(Box::new(Expr::Not(box e1.clone())), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:29:109 [INFO] [stdout] | [INFO] [stdout] 29 | &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 29 - &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] 29 + &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(Box::new(e2.clone()))).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:29:95 [INFO] [stdout] | [INFO] [stdout] 29 | &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 29 - &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), box Expr::Not(box e2.clone())).reduce(), [INFO] [stdout] 29 + &Expr::Or(box ref e1, box ref e2) => Expr::And(box Expr::Not(box e1.clone()), Box::new(Expr::Not(box e2.clone()))).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | _ => Expr::Not(box expr.clone().reduce()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 31 - _ => Expr::Not(box expr.clone().reduce()) [INFO] [stdout] 31 + _ => Expr::Not(Box::new(expr.clone().reduce())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:37:92 [INFO] [stdout] | [INFO] [stdout] 37 | ... | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.c... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 37 - | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] 37 + | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(Box::new(oe.clone()), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:37:108 [INFO] [stdout] | [INFO] [stdout] 37 | ... | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.c... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 37 - | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] 37 + | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), Box::new(ae1.clone())), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:37:79 [INFO] [stdout] | [INFO] [stdout] 37 | ... | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 37 - | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] 37 + | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(Box::new(Expr::Or(box oe.clone(), box ae1.clone())), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:37:139 [INFO] [stdout] | [INFO] [stdout] 37 | ... Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 37 - | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] 37 + | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(Box::new(oe.clone()), box ae2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:37:155 [INFO] [stdout] | [INFO] [stdout] 37 | ....clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 37 - | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] 37 + | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), Box::new(ae2.clone()))).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:37:126 [INFO] [stdout] | [INFO] [stdout] 37 | ...xpr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 37 - | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), box Expr::Or(box oe.clone(), box ae2.clone())).reduce(), [INFO] [stdout] 37 + | (oe, &Expr::And(box ref ae1, box ref ae2)) => Expr::And(box Expr::Or(box oe.clone(), box ae1.clone()), Box::new(Expr::Or(box oe.clone(), box ae2.clone()))).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | _ => Expr::Or(box e1.clone().reduce(), box e2.clone().reduce()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 39 - _ => Expr::Or(box e1.clone().reduce(), box e2.clone().reduce()), [INFO] [stdout] 39 + _ => Expr::Or(Box::new(e1.clone().reduce()), box e2.clone().reduce()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | _ => Expr::Or(box e1.clone().reduce(), box e2.clone().reduce()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 39 - _ => Expr::Or(box e1.clone().reduce(), box e2.clone().reduce()), [INFO] [stdout] 39 + _ => Expr::Or(box e1.clone().reduce(), Box::new(e2.clone().reduce())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | &Expr::And(box ref e1, box ref e2) => Expr::And(box e1.clone().reduce(), box e2.clone().reduce()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 42 - &Expr::And(box ref e1, box ref e2) => Expr::And(box e1.clone().reduce(), box e2.clone().reduce()), [INFO] [stdout] 42 + &Expr::And(box ref e1, box ref e2) => Expr::And(Box::new(e1.clone().reduce()), box e2.clone().reduce()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:42:86 [INFO] [stdout] | [INFO] [stdout] 42 | &Expr::And(box ref e1, box ref e2) => Expr::And(box e1.clone().reduce(), box e2.clone().reduce()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 42 - &Expr::And(box ref e1, box ref e2) => Expr::And(box e1.clone().reduce(), box e2.clone().reduce()), [INFO] [stdout] 42 + &Expr::And(box ref e1, box ref e2) => Expr::And(box e1.clone().reduce(), Box::new(e2.clone().reduce())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:44:77 [INFO] [stdout] | [INFO] [stdout] 44 | &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box e2.clone()).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 44 - &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box e2.clone()).reduce(), [INFO] [stdout] 44 + &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(box Expr::Not(Box::new(e1.clone())), box e2.clone()).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:44:63 [INFO] [stdout] | [INFO] [stdout] 44 | &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box e2.clone()).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 44 - &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box e2.clone()).reduce(), [INFO] [stdout] 44 + &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(Box::new(Expr::Not(box e1.clone())), box e2.clone()).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:44:94 [INFO] [stdout] | [INFO] [stdout] 44 | &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box e2.clone()).reduce(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 44 - &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), box e2.clone()).reduce(), [INFO] [stdout] 44 + &Expr::IfThen(box ref e1, box ref e2) => Expr::Or(box Expr::Not(box e1.clone()), Box::new(e2.clone())).reduce(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:46:78 [INFO] [stdout] | [INFO] [stdout] 46 | ... &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clon... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 46 - &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] 46 + &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(Box::new(e1.clone()), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:46:94 [INFO] [stdout] | [INFO] [stdout] 46 | ... &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clon... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 46 - &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] 46 + &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), Box::new(e2.clone())), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:46:61 [INFO] [stdout] | [INFO] [stdout] 46 | ... &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clon... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 46 - &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] 46 + &Expr::IFF(box ref e1, box ref e2) => Expr::And(Box::new(Expr::IfThen(box e1.clone(), box e2.clone())), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:46:128 [INFO] [stdout] | [INFO] [stdout] 46 | ...IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 46 - &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] 46 + &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(Box::new(e2.clone()), box e1.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:46:144 [INFO] [stdout] | [INFO] [stdout] 46 | ...one(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 46 - &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] 46 + &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), Box::new(e1.clone()))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/expr.rs:46:111 [INFO] [stdout] | [INFO] [stdout] 46 | ...IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 46 - &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), box Expr::IfThen(box e2.clone(), box e1.clone())), [INFO] [stdout] 46 + &Expr::IFF(box ref e1, box ref e2) => Expr::And(box Expr::IfThen(box e1.clone(), box e2.clone()), Box::new(Expr::IfThen(box e2.clone(), box e1.clone()))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | c @ 'A'...'Z' => tokens.push(Token::Atom(c.to_string())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | c @ 'A'...'Z' => tokens.push(Token::Atom(c.to_string())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate [INFO] [stdout] --> src/expr.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | impl Display for Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | `Vec` is not defined in the current crate [INFO] [stdout] | [INFO] [stdout] = note: impl doesn't have any local type before any uncovered type parameters [INFO] [stdout] = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate [INFO] [stdout] --> src/expr.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | impl Display for BTreeSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | `BTreeSet` is not defined in the current crate [INFO] [stdout] | [INFO] [stdout] = note: impl doesn't have any local type before any uncovered type parameters [INFO] [stdout] = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate [INFO] [stdout] --> src/expr.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | impl Display for BTreeSet> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `BTreeSet` is not defined in the current crate [INFO] [stdout] | [INFO] [stdout] = note: impl doesn't have any local type before any uncovered type parameters [INFO] [stdout] = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate [INFO] [stdout] --> src/token.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl Display for Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | `Vec` is not defined in the current crate [INFO] [stdout] | [INFO] [stdout] = note: impl doesn't have any local type before any uncovered type parameters [INFO] [stdout] = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate [INFO] [stdout] --> src/token.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> Display for Vec<&'a Token> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | `Vec` is not defined in the current crate [INFO] [stdout] | [INFO] [stdout] = note: impl doesn't have any local type before any uncovered type parameters [INFO] [stdout] = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acc` [INFO] [stdout] --> src/expr.rs:157:66 [INFO] [stdout] | [INFO] [stdout] 157 | write!(fmt, "{{").and_then(|_| self.iter().fold(Ok(()), |acc, set| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_acc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate [INFO] [stdout] --> src/expr.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | impl Display for Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | `Vec` is not defined in the current crate [INFO] [stdout] | [INFO] [stdout] = note: impl doesn't have any local type before any uncovered type parameters [INFO] [stdout] = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate [INFO] [stdout] --> src/expr.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | impl Display for BTreeSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | `BTreeSet` is not defined in the current crate [INFO] [stdout] | [INFO] [stdout] = note: impl doesn't have any local type before any uncovered type parameters [INFO] [stdout] = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate [INFO] [stdout] --> src/expr.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | impl Display for BTreeSet> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `BTreeSet` is not defined in the current crate [INFO] [stdout] | [INFO] [stdout] = note: impl doesn't have any local type before any uncovered type parameters [INFO] [stdout] = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate [INFO] [stdout] --> src/token.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl Display for Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | `Vec` is not defined in the current crate [INFO] [stdout] | [INFO] [stdout] = note: impl doesn't have any local type before any uncovered type parameters [INFO] [stdout] = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate [INFO] [stdout] --> src/token.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> Display for Vec<&'a Token> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | `Vec` is not defined in the current crate [INFO] [stdout] | [INFO] [stdout] = note: impl doesn't have any local type before any uncovered type parameters [INFO] [stdout] = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0117, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0117`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reasoning` (bin "reasoning" test) due to 56 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `acc` [INFO] [stdout] --> src/expr.rs:157:66 [INFO] [stdout] | [INFO] [stdout] 157 | write!(fmt, "{{").and_then(|_| self.iter().fold(Ok(()), |acc, set| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_acc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0117, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0117`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reasoning` (bin "reasoning") due to 56 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f991258b7c9c43640214614b2c256992781c8eaf1ea92cd35244390c4a199f2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f991258b7c9c43640214614b2c256992781c8eaf1ea92cd35244390c4a199f2c", kill_on_drop: false }` [INFO] [stdout] f991258b7c9c43640214614b2c256992781c8eaf1ea92cd35244390c4a199f2c