[INFO] cloning repository https://github.com/raulescobar-g/compiler-1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raulescobar-g/compiler-1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraulescobar-g%2Fcompiler-1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraulescobar-g%2Fcompiler-1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d959038f3821bb8d7bca5ff1d08a437ca78445e [INFO] building raulescobar-g/compiler-1 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraulescobar-g%2Fcompiler-1" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/raulescobar-g/compiler-1 [INFO] finished tweaking git repo https://github.com/raulescobar-g/compiler-1 [INFO] tweaked toml for git repo https://github.com/raulescobar-g/compiler-1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/raulescobar-g/compiler-1 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/raulescobar-g/compiler-1 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f263008d592a2947276332cb7cc09592067b561c7c7b88223b2c5ebc66f0f733 [INFO] running `Command { std: "docker" "start" "-a" "f263008d592a2947276332cb7cc09592067b561c7c7b88223b2c5ebc66f0f733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f263008d592a2947276332cb7cc09592067b561c7c7b88223b2c5ebc66f0f733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f263008d592a2947276332cb7cc09592067b561c7c7b88223b2c5ebc66f0f733", kill_on_drop: false }` [INFO] [stdout] f263008d592a2947276332cb7cc09592067b561c7c7b88223b2c5ebc66f0f733 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09faf4fc73dd9a5d7b0b24b27079110145f316f5d9311a092e5e24d35fe569ba [INFO] running `Command { std: "docker" "start" "-a" "09faf4fc73dd9a5d7b0b24b27079110145f316f5d9311a092e5e24d35fe569ba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling clap_builder v4.5.9 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling clap v4.5.9 [INFO] [stderr] Compiling compiler-1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:312:66 [INFO] [stdout] | [INFO] [stdout] 312 | fn parse_expression(tokens: impl IntoIterator) -> Result { [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peeked_char` [INFO] [stdout] --> src/lexer.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let peeked_char = char_iter.peek(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peeked_char` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/parser/mod.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | other => Statement::Assignment(parse_assignment(token_iter)?), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `Statement::Expression(_)` not covered [INFO] [stdout] --> src/codegen/mod.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | match statement { [INFO] [stdout] | ^^^^^^^^^ pattern `Statement::Expression(_)` not covered [INFO] [stdout] | [INFO] [stdout] note: `Statement` defined here [INFO] [stdout] --> src/parser/mod.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | pub enum Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | Expression(Expression), [INFO] [stdout] | ---------- not covered [INFO] [stdout] = note: the matched value is of type `Statement` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 71 ~ Statement::ConstDeclaration(const_decl_stmt) => codegen_const_declaration(const_decl_stmt), [INFO] [stdout] 72 ~ Statement::Expression(_) => todo!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `Expression::FnCall(_, _)` not covered [INFO] [stdout] --> src/codegen/mod.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | Ok(match expr { [INFO] [stdout] | ^^^^ pattern `Expression::FnCall(_, _)` not covered [INFO] [stdout] | [INFO] [stdout] note: `Expression` defined here [INFO] [stdout] --> src/parser/mod.rs:301:10 [INFO] [stdout] | [INFO] [stdout] 301 | pub enum Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | FnCall(String, FnArgs), [INFO] [stdout] | ------ not covered [INFO] [stdout] = note: the matched value is of type `Expression` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 123 ~ }, [INFO] [stdout] 124 + Expression::FnCall(_, _) => todo!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler-1` (lib) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "09faf4fc73dd9a5d7b0b24b27079110145f316f5d9311a092e5e24d35fe569ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09faf4fc73dd9a5d7b0b24b27079110145f316f5d9311a092e5e24d35fe569ba", kill_on_drop: false }` [INFO] [stdout] 09faf4fc73dd9a5d7b0b24b27079110145f316f5d9311a092e5e24d35fe569ba