[INFO] cloning repository https://github.com/EspressoForged/codecrafters-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EspressoForged/codecrafters-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEspressoForged%2Fcodecrafters-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEspressoForged%2Fcodecrafters-interpreter-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c089760d9400317aa4d9f98e7e05830d72ed538 [INFO] checking EspressoForged/codecrafters-interpreter-rust 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%2FEspressoForged%2Fcodecrafters-interpreter-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/EspressoForged/codecrafters-interpreter-rust [INFO] finished tweaking git repo https://github.com/EspressoForged/codecrafters-interpreter-rust [INFO] tweaked toml for git repo https://github.com/EspressoForged/codecrafters-interpreter-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EspressoForged/codecrafters-interpreter-rust 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/EspressoForged/codecrafters-interpreter-rust 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 33445cb3a2ff5949727bf4bf9cc41e8d281a146e0fd2caa35d794c1e0cf777d3 [INFO] running `Command { std: "docker" "start" "-a" "33445cb3a2ff5949727bf4bf9cc41e8d281a146e0fd2caa35d794c1e0cf777d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33445cb3a2ff5949727bf4bf9cc41e8d281a146e0fd2caa35d794c1e0cf777d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33445cb3a2ff5949727bf4bf9cc41e8d281a146e0fd2caa35d794c1e0cf777d3", kill_on_drop: false }` [INFO] [stdout] 33445cb3a2ff5949727bf4bf9cc41e8d281a146e0fd2caa35d794c1e0cf777d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 34111ade57b4ac064362098b0c146135561e123e23ee4c30856e3db6bfb9b113 [INFO] running `Command { std: "docker" "start" "-a" "34111ade57b4ac064362098b0c146135561e123e23ee4c30856e3db6bfb9b113", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking clap_builder v4.5.42 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking clap v4.5.42 [INFO] [stderr] Checking codecrafters-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 39 | | Ok(format!("(= {} {})", name.lexeme, self.evaluate(value))) [INFO] [stdout] 40 | | } [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/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(format!("(= {} {})", name.lexeme, self.evaluate(value))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 48 | | Ok(format!( [INFO] [stdout] 49 | | "({} {} {})", [INFO] [stdout] 50 | | operator.lexeme, [INFO] [stdout] ... | [INFO] [stdout] 53 | | )) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / Ok(format!( [INFO] [stdout] 49 | | "({} {} {})", [INFO] [stdout] 50 | | operator.lexeme, [INFO] [stdout] 51 | | self.evaluate(left), [INFO] [stdout] 52 | | self.evaluate(right) [INFO] [stdout] 53 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 62 | | let mut builder = format!("(call {}", self.evaluate(callee)); [INFO] [stdout] 63 | | for arg in arguments { [INFO] [stdout] 64 | | builder.push_str(&format!(" {}", self.evaluate(arg))); [INFO] [stdout] ... | [INFO] [stdout] 67 | | Ok(builder) [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(builder) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 75 | | Ok(format!("(. {} {})", self.evaluate(object), name.lexeme)) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | Ok(format!("(. {} {})", self.evaluate(object), name.lexeme)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 82 | | Ok(format!("(group {})", self.evaluate(expression))) [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(format!("(group {})", self.evaluate(expression))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 88 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 89 | | Ok(match value { [INFO] [stdout] 90 | | LiteralValue::Null => "nil".to_string(), [INFO] [stdout] 91 | | LiteralValue::String(s) => s.clone(), [INFO] [stdout] 92 | | _ => value.to_string(), [INFO] [stdout] 93 | | }) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / Ok(match value { [INFO] [stdout] 90 | | LiteralValue::Null => "nil".to_string(), [INFO] [stdout] 91 | | LiteralValue::String(s) => s.clone(), [INFO] [stdout] 92 | | _ => value.to_string(), [INFO] [stdout] 93 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 102 | | Ok(format!( [INFO] [stdout] 103 | | "({} {} {})", [INFO] [stdout] 104 | | operator.lexeme, [INFO] [stdout] ... | [INFO] [stdout] 107 | | )) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | / Ok(format!( [INFO] [stdout] 103 | | "({} {} {})", [INFO] [stdout] 104 | | operator.lexeme, [INFO] [stdout] 105 | | self.evaluate(left), [INFO] [stdout] 106 | | self.evaluate(right) [INFO] [stdout] 107 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 116 | | Ok(format!( [INFO] [stdout] 117 | | "(= (. {} {}) {})", [INFO] [stdout] 118 | | self.evaluate(object), [INFO] [stdout] ... | [INFO] [stdout] 121 | | )) [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | / Ok(format!( [INFO] [stdout] 117 | | "(= (. {} {}) {})", [INFO] [stdout] 118 | | self.evaluate(object), [INFO] [stdout] 119 | | name.lexeme, [INFO] [stdout] 120 | | self.evaluate(value) [INFO] [stdout] 121 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 129 | | Ok(format!("(super {})", method.lexeme)) [INFO] [stdout] 130 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | Ok(format!("(super {})", method.lexeme)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:131:97 [INFO] [stdout] | [INFO] [stdout] 131 | fn visit_this_expr(&mut self, _expr: &Expr, _keyword: &Token) -> Result { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 132 | | Ok("this".to_string()) [INFO] [stdout] 133 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | Ok("this".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 140 | | Ok(format!("({} {})", operator.lexeme, self.evaluate(right))) [INFO] [stdout] 141 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | Ok(format!("({} {})", operator.lexeme, self.evaluate(right))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:142:97 [INFO] [stdout] | [INFO] [stdout] 142 | fn visit_variable_expr(&mut self, _expr: &Expr, name: &Token) -> Result { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 143 | | Ok(name.lexeme.clone()) [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | Ok(name.lexeme.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | expr.accept(self).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:204:15 [INFO] [stdout] | [INFO] [stdout] 204 | match expression.accept(&mut printer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `codecrafters-interpreter` (lib test) due to 26 previous errors [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/lib.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 39 | | Ok(format!("(= {} {})", name.lexeme, self.evaluate(value))) [INFO] [stdout] 40 | | } [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/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(format!("(= {} {})", name.lexeme, self.evaluate(value))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 48 | | Ok(format!( [INFO] [stdout] 49 | | "({} {} {})", [INFO] [stdout] 50 | | operator.lexeme, [INFO] [stdout] ... | [INFO] [stdout] 53 | | )) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / Ok(format!( [INFO] [stdout] 49 | | "({} {} {})", [INFO] [stdout] 50 | | operator.lexeme, [INFO] [stdout] 51 | | self.evaluate(left), [INFO] [stdout] 52 | | self.evaluate(right) [INFO] [stdout] 53 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 62 | | let mut builder = format!("(call {}", self.evaluate(callee)); [INFO] [stdout] 63 | | for arg in arguments { [INFO] [stdout] 64 | | builder.push_str(&format!(" {}", self.evaluate(arg))); [INFO] [stdout] ... | [INFO] [stdout] 67 | | Ok(builder) [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(builder) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 75 | | Ok(format!("(. {} {})", self.evaluate(object), name.lexeme)) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | Ok(format!("(. {} {})", self.evaluate(object), name.lexeme)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 82 | | Ok(format!("(group {})", self.evaluate(expression))) [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(format!("(group {})", self.evaluate(expression))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 88 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 89 | | Ok(match value { [INFO] [stdout] 90 | | LiteralValue::Null => "nil".to_string(), [INFO] [stdout] 91 | | LiteralValue::String(s) => s.clone(), [INFO] [stdout] 92 | | _ => value.to_string(), [INFO] [stdout] 93 | | }) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / Ok(match value { [INFO] [stdout] 90 | | LiteralValue::Null => "nil".to_string(), [INFO] [stdout] 91 | | LiteralValue::String(s) => s.clone(), [INFO] [stdout] 92 | | _ => value.to_string(), [INFO] [stdout] 93 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 102 | | Ok(format!( [INFO] [stdout] 103 | | "({} {} {})", [INFO] [stdout] 104 | | operator.lexeme, [INFO] [stdout] ... | [INFO] [stdout] 107 | | )) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | / Ok(format!( [INFO] [stdout] 103 | | "({} {} {})", [INFO] [stdout] 104 | | operator.lexeme, [INFO] [stdout] 105 | | self.evaluate(left), [INFO] [stdout] 106 | | self.evaluate(right) [INFO] [stdout] 107 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 116 | | Ok(format!( [INFO] [stdout] 117 | | "(= (. {} {}) {})", [INFO] [stdout] 118 | | self.evaluate(object), [INFO] [stdout] ... | [INFO] [stdout] 121 | | )) [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | / Ok(format!( [INFO] [stdout] 117 | | "(= (. {} {}) {})", [INFO] [stdout] 118 | | self.evaluate(object), [INFO] [stdout] 119 | | name.lexeme, [INFO] [stdout] 120 | | self.evaluate(value) [INFO] [stdout] 121 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 129 | | Ok(format!("(super {})", method.lexeme)) [INFO] [stdout] 130 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | Ok(format!("(super {})", method.lexeme)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:131:97 [INFO] [stdout] | [INFO] [stdout] 131 | fn visit_this_expr(&mut self, _expr: &Expr, _keyword: &Token) -> Result { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 132 | | Ok("this".to_string()) [INFO] [stdout] 133 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | Ok("this".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | ) -> Result { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 140 | | Ok(format!("({} {})", operator.lexeme, self.evaluate(right))) [INFO] [stdout] 141 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | Ok(format!("({} {})", operator.lexeme, self.evaluate(right))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:142:97 [INFO] [stdout] | [INFO] [stdout] 142 | fn visit_variable_expr(&mut self, _expr: &Expr, name: &Token) -> Result { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 143 | | Ok(name.lexeme.clone()) [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | Ok(name.lexeme.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | expr.accept(self).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:204:15 [INFO] [stdout] | [INFO] [stdout] 204 | match expression.accept(&mut printer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `codecrafters-interpreter` (lib) due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "34111ade57b4ac064362098b0c146135561e123e23ee4c30856e3db6bfb9b113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34111ade57b4ac064362098b0c146135561e123e23ee4c30856e3db6bfb9b113", kill_on_drop: false }` [INFO] [stdout] 34111ade57b4ac064362098b0c146135561e123e23ee4c30856e3db6bfb9b113