[INFO] cloning repository https://github.com/RaoulLuque/rustclox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RaoulLuque/rustclox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaoulLuque%2Frustclox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaoulLuque%2Frustclox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82907600cab048aece8df99c50b830f1460bfd99 [INFO] checking RaoulLuque/rustclox against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaoulLuque%2Frustclox" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RaoulLuque/rustclox [INFO] finished tweaking git repo https://github.com/RaoulLuque/rustclox [INFO] tweaked toml for git repo https://github.com/RaoulLuque/rustclox written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RaoulLuque/rustclox on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RaoulLuque/rustclox 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c455dd107ae41fec91fdd4a888f0b4c58ee74318e3d0efb2cec95511974175ae [INFO] running `Command { std: "docker" "start" "-a" "c455dd107ae41fec91fdd4a888f0b4c58ee74318e3d0efb2cec95511974175ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c455dd107ae41fec91fdd4a888f0b4c58ee74318e3d0efb2cec95511974175ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c455dd107ae41fec91fdd4a888f0b4c58ee74318e3d0efb2cec95511974175ae", kill_on_drop: false }` [INFO] [stdout] c455dd107ae41fec91fdd4a888f0b4c58ee74318e3d0efb2cec95511974175ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d66788280182e8bafafbc34289debcf224757908d5009359e0990131a6399452 [INFO] running `Command { std: "docker" "start" "-a" "d66788280182e8bafafbc34289debcf224757908d5009359e0990131a6399452", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Checking rustclox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | expr.accept(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:23:83 [INFO] [stdout] | [INFO] [stdout] 23 | fn visit_literal(&self, expr: &Expression) -> Result { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 24 | | if let Expression::Literal(literal) = expr { [INFO] [stdout] 25 | | Ok(format!("{:?}", literal)) [INFO] [stdout] 26 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustclox` (lib) due to 25 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / if let Expression::Literal(literal) = expr { [INFO] [stdout] 25 | | Ok(format!("{:?}", literal)) [INFO] [stdout] 26 | | } else { [INFO] [stdout] 27 | | panic!("Expected Literal expression"); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:24:52 [INFO] [stdout] | [INFO] [stdout] 24 | if let Expression::Literal(literal) = expr { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 25 | | Ok(format!("{:?}", literal)) [INFO] [stdout] 26 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(format!("{:?}", literal)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:31:84 [INFO] [stdout] | [INFO] [stdout] 31 | fn visit_grouping(&self, expr: &Expression) -> Result { [INFO] [stdout] | ____________________________________________________________________________________^ [INFO] [stdout] 32 | | if let Expression::Grouping(inner) = expr { [INFO] [stdout] 33 | | Ok(format!("(group {})", inner.accept(self).unwrap())) [INFO] [stdout] 34 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / if let Expression::Grouping(inner) = expr { [INFO] [stdout] 33 | | Ok(format!("(group {})", inner.accept(self).unwrap())) [INFO] [stdout] 34 | | } else { [INFO] [stdout] 35 | | panic!("Expected Grouping expression"); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | if let Expression::Grouping(inner) = expr { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 33 | | Ok(format!("(group {})", inner.accept(self).unwrap())) [INFO] [stdout] 34 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(format!("(group {})", inner.accept(self).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(format!("(group {})", inner.accept(self).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:39:81 [INFO] [stdout] | [INFO] [stdout] 39 | fn visit_unary(&self, expr: &Expression) -> Result { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 40 | | if let Expression::Unary { operator, right } = expr { [INFO] [stdout] 41 | | Ok(format!( [INFO] [stdout] 42 | | "({:?} {})", [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / if let Expression::Unary { operator, right } = expr { [INFO] [stdout] 41 | | Ok(format!( [INFO] [stdout] 42 | | "({:?} {})", [INFO] [stdout] 43 | | operator.token_type, [INFO] [stdout] ... | [INFO] [stdout] 47 | | panic!("Expected Unary expression"); [INFO] [stdout] 48 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:40:61 [INFO] [stdout] | [INFO] [stdout] 40 | if let Expression::Unary { operator, right } = expr { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 41 | | Ok(format!( [INFO] [stdout] 42 | | "({:?} {})", [INFO] [stdout] 43 | | operator.token_type, [INFO] [stdout] 44 | | right.accept(self).unwrap() [INFO] [stdout] 45 | | )) [INFO] [stdout] 46 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | / Ok(format!( [INFO] [stdout] 42 | | "({:?} {})", [INFO] [stdout] 43 | | operator.token_type, [INFO] [stdout] 44 | | right.accept(self).unwrap() [INFO] [stdout] 45 | | )) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | right.accept(self).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:51:82 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_binary(&self, expr: &Expression) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 52 | | if let Expression::Binary { [INFO] [stdout] 53 | | left, [INFO] [stdout] 54 | | operator, [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / if let Expression::Binary { [INFO] [stdout] 53 | | left, [INFO] [stdout] 54 | | operator, [INFO] [stdout] 55 | | right, [INFO] [stdout] ... | [INFO] [stdout] 65 | | panic!("Expected Binary expression"); [INFO] [stdout] 66 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | / { [INFO] [stdout] 58 | | Ok(format!( [INFO] [stdout] 59 | | "({:?} {} {})", [INFO] [stdout] 60 | | operator.token_type, [INFO] [stdout] ... | [INFO] [stdout] 63 | | )) [INFO] [stdout] 64 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | / Ok(format!( [INFO] [stdout] 59 | | "({:?} {} {})", [INFO] [stdout] 60 | | operator.token_type, [INFO] [stdout] 61 | | left.accept(self).unwrap(), [INFO] [stdout] 62 | | right.accept(self).unwrap() [INFO] [stdout] 63 | | )) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | left.accept(self).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | right.accept(self).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:69:96 [INFO] [stdout] | [INFO] [stdout] 69 | fn visit_identifier(&self, expr: &Expression<'_>) -> Result { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 70 | | if let Expression::Identifier(ident) = expr { [INFO] [stdout] 71 | | Ok(ident.name.to_string()) [INFO] [stdout] 72 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 75 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / if let Expression::Identifier(ident) = expr { [INFO] [stdout] 71 | | Ok(ident.name.to_string()) [INFO] [stdout] 72 | | } else { [INFO] [stdout] 73 | | panic!("Expected Identifier expression"); [INFO] [stdout] 74 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:70:53 [INFO] [stdout] | [INFO] [stdout] 70 | if let Expression::Identifier(ident) = expr { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 71 | | Ok(ident.name.to_string()) [INFO] [stdout] 72 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | Ok(ident.name.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | expr.accept(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:23:83 [INFO] [stdout] | [INFO] [stdout] 23 | fn visit_literal(&self, expr: &Expression) -> Result { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 24 | | if let Expression::Literal(literal) = expr { [INFO] [stdout] 25 | | Ok(format!("{:?}", literal)) [INFO] [stdout] 26 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / if let Expression::Literal(literal) = expr { [INFO] [stdout] 25 | | Ok(format!("{:?}", literal)) [INFO] [stdout] 26 | | } else { [INFO] [stdout] 27 | | panic!("Expected Literal expression"); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:24:52 [INFO] [stdout] | [INFO] [stdout] 24 | if let Expression::Literal(literal) = expr { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 25 | | Ok(format!("{:?}", literal)) [INFO] [stdout] 26 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(format!("{:?}", literal)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:31:84 [INFO] [stdout] | [INFO] [stdout] 31 | fn visit_grouping(&self, expr: &Expression) -> Result { [INFO] [stdout] | ____________________________________________________________________________________^ [INFO] [stdout] 32 | | if let Expression::Grouping(inner) = expr { [INFO] [stdout] 33 | | Ok(format!("(group {})", inner.accept(self).unwrap())) [INFO] [stdout] 34 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / if let Expression::Grouping(inner) = expr { [INFO] [stdout] 33 | | Ok(format!("(group {})", inner.accept(self).unwrap())) [INFO] [stdout] 34 | | } else { [INFO] [stdout] 35 | | panic!("Expected Grouping expression"); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | if let Expression::Grouping(inner) = expr { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 33 | | Ok(format!("(group {})", inner.accept(self).unwrap())) [INFO] [stdout] 34 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(format!("(group {})", inner.accept(self).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(format!("(group {})", inner.accept(self).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:39:81 [INFO] [stdout] | [INFO] [stdout] 39 | fn visit_unary(&self, expr: &Expression) -> Result { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 40 | | if let Expression::Unary { operator, right } = expr { [INFO] [stdout] 41 | | Ok(format!( [INFO] [stdout] 42 | | "({:?} {})", [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / if let Expression::Unary { operator, right } = expr { [INFO] [stdout] 41 | | Ok(format!( [INFO] [stdout] 42 | | "({:?} {})", [INFO] [stdout] 43 | | operator.token_type, [INFO] [stdout] ... | [INFO] [stdout] 47 | | panic!("Expected Unary expression"); [INFO] [stdout] 48 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:40:61 [INFO] [stdout] | [INFO] [stdout] 40 | if let Expression::Unary { operator, right } = expr { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 41 | | Ok(format!( [INFO] [stdout] 42 | | "({:?} {})", [INFO] [stdout] 43 | | operator.token_type, [INFO] [stdout] 44 | | right.accept(self).unwrap() [INFO] [stdout] 45 | | )) [INFO] [stdout] 46 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | / Ok(format!( [INFO] [stdout] 42 | | "({:?} {})", [INFO] [stdout] 43 | | operator.token_type, [INFO] [stdout] 44 | | right.accept(self).unwrap() [INFO] [stdout] 45 | | )) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | right.accept(self).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:51:82 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_binary(&self, expr: &Expression) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 52 | | if let Expression::Binary { [INFO] [stdout] 53 | | left, [INFO] [stdout] 54 | | operator, [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / if let Expression::Binary { [INFO] [stdout] 53 | | left, [INFO] [stdout] 54 | | operator, [INFO] [stdout] 55 | | right, [INFO] [stdout] ... | [INFO] [stdout] 65 | | panic!("Expected Binary expression"); [INFO] [stdout] 66 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | / { [INFO] [stdout] 58 | | Ok(format!( [INFO] [stdout] 59 | | "({:?} {} {})", [INFO] [stdout] 60 | | operator.token_type, [INFO] [stdout] ... | [INFO] [stdout] 63 | | )) [INFO] [stdout] 64 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | / Ok(format!( [INFO] [stdout] 59 | | "({:?} {} {})", [INFO] [stdout] 60 | | operator.token_type, [INFO] [stdout] 61 | | left.accept(self).unwrap(), [INFO] [stdout] 62 | | right.accept(self).unwrap() [INFO] [stdout] 63 | | )) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | left.accept(self).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | right.accept(self).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:69:96 [INFO] [stdout] | [INFO] [stdout] 69 | fn visit_identifier(&self, expr: &Expression<'_>) -> Result { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 70 | | if let Expression::Identifier(ident) = expr { [INFO] [stdout] 71 | | Ok(ident.name.to_string()) [INFO] [stdout] 72 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 75 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / if let Expression::Identifier(ident) = expr { [INFO] [stdout] 71 | | Ok(ident.name.to_string()) [INFO] [stdout] 72 | | } else { [INFO] [stdout] 73 | | panic!("Expected Identifier expression"); [INFO] [stdout] 74 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:70:53 [INFO] [stdout] | [INFO] [stdout] 70 | if let Expression::Identifier(ident) = expr { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 71 | | Ok(ident.name.to_string()) [INFO] [stdout] 72 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ast/ast_printer.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | Ok(ident.name.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustclox` (lib test) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "d66788280182e8bafafbc34289debcf224757908d5009359e0990131a6399452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d66788280182e8bafafbc34289debcf224757908d5009359e0990131a6399452", kill_on_drop: false }` [INFO] [stdout] d66788280182e8bafafbc34289debcf224757908d5009359e0990131a6399452