[INFO] cloning repository https://github.com/williamEKim/cs152-rustcompiler-w25-wkim107-apham184 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/williamEKim/cs152-rustcompiler-w25-wkim107-apham184" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FwilliamEKim%2Fcs152-rustcompiler-w25-wkim107-apham184", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FwilliamEKim%2Fcs152-rustcompiler-w25-wkim107-apham184'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27d5906cb9c6f12f134faec00be9d970d7727308 [INFO] checking williamEKim/cs152-rustcompiler-w25-wkim107-apham184 against master#fe55364329579d361b1ab565728bc033a7dba07e for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FwilliamEKim%2Fcs152-rustcompiler-w25-wkim107-apham184" "/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/williamEKim/cs152-rustcompiler-w25-wkim107-apham184 [INFO] finished tweaking git repo https://github.com/williamEKim/cs152-rustcompiler-w25-wkim107-apham184 [INFO] tweaked toml for git repo https://github.com/williamEKim/cs152-rustcompiler-w25-wkim107-apham184 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/williamEKim/cs152-rustcompiler-w25-wkim107-apham184 on toolchain fe55364329579d361b1ab565728bc033a7dba07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/williamEKim/cs152-rustcompiler-w25-wkim107-apham184 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" "+fe55364329579d361b1ab565728bc033a7dba07e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82cf996b662416cf8646545d0641a860faf9ab2e68425f684a7dd71d237ef611 [INFO] running `Command { std: "docker" "start" "-a" "82cf996b662416cf8646545d0641a860faf9ab2e68425f684a7dd71d237ef611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82cf996b662416cf8646545d0641a860faf9ab2e68425f684a7dd71d237ef611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82cf996b662416cf8646545d0641a860faf9ab2e68425f684a7dd71d237ef611", kill_on_drop: false }` [INFO] [stdout] 82cf996b662416cf8646545d0641a860faf9ab2e68425f684a7dd71d237ef611 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62678c26f498173190fe0b16c910513f4ee2499abe49a3cdde4de5a56a93279b [INFO] running `Command { std: "docker" "start" "-a" "62678c26f498173190fe0b16c910513f4ee2499abe49a3cdde4de5a56a93279b", kill_on_drop: false }` [INFO] [stderr] Checking phase2 v0.1.0 (/opt/rustwide/workdir/phase2) [INFO] [stderr] Checking phase0 v0.1.0 (/opt/rustwide/workdir/phase0) [INFO] [stderr] Checking phase3 v0.1.0 (/opt/rustwide/workdir/phase3) [INFO] [stderr] Checking phase1 v0.1.0 (/opt/rustwide/workdir/phase1) [INFO] [stderr] Checking phase4 v0.1.0 (/opt/rustwide/workdir/phase4) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> phase2/src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Ident(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 92 - Ident(String), [INFO] [stdout] 92 + Ident(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> phase2/src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Ident(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 92 - Ident(String), [INFO] [stdout] 92 + Ident(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> phase2/src/main.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | Num(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 93 - Num(i32), [INFO] [stdout] 93 + Num(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> phase2/src/main.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | Num(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 93 - Num(i32), [INFO] [stdout] 93 + Num(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `returnKeyword` in this scope [INFO] [stdout] --> phase1/src/main.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | let token = returnKeyword(identifier_token); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `returnKeyword` in this scope [INFO] [stdout] --> phase1/src/main.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | let token = returnKeyword(identifier_token); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `phase1` (bin "phase1") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `phase1` (bin "phase1" test) due to 1 previous error [INFO] [stdout] error[E0599]: no method named `len` found for enum `Result` in the current scope [INFO] [stdout] --> phase4/src/interpreter.rs:1291:26 [INFO] [stdout] | [INFO] [stdout] 1291 | assert!(toks.len() == 6); [INFO] [stdout] | ^^^ method not found in `Result, String>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1292:34 [INFO] [stdout] | [INFO] [stdout] 1292 | assert!(matches!(toks[0], IRTok::Add)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1293:34 [INFO] [stdout] | [INFO] [stdout] 1293 | assert!(matches!(toks[1], IRTok::Var(_))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1294:34 [INFO] [stdout] | [INFO] [stdout] 1294 | assert!(matches!(toks[2], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1295:34 [INFO] [stdout] | [INFO] [stdout] 1295 | assert!(matches!(toks[3], IRTok::Var(_))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1296:34 [INFO] [stdout] | [INFO] [stdout] 1296 | assert!(matches!(toks[4], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1297:34 [INFO] [stdout] | [INFO] [stdout] 1297 | assert!(matches!(toks[5], IRTok::Var(_))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `Result` in the current scope [INFO] [stdout] --> phase4/src/interpreter.rs:1302:26 [INFO] [stdout] | [INFO] [stdout] 1302 | assert!(toks.len() == 5); [INFO] [stdout] | ^^^ method not found in `Result, String>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1303:34 [INFO] [stdout] | [INFO] [stdout] 1303 | assert!(matches!(toks[0], IRTok::Func)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1304:34 [INFO] [stdout] | [INFO] [stdout] 1304 | assert!(matches!(toks[1], IRTok::Var(_))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1305:34 [INFO] [stdout] | [INFO] [stdout] 1305 | assert!(matches!(toks[2], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1306:34 [INFO] [stdout] | [INFO] [stdout] 1306 | assert!(matches!(toks[3], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1307:34 [INFO] [stdout] | [INFO] [stdout] 1307 | assert!(matches!(toks[4], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `Result` in the current scope [INFO] [stdout] --> phase4/src/interpreter.rs:1312:26 [INFO] [stdout] | [INFO] [stdout] 1312 | assert!(toks.len() == 6); [INFO] [stdout] | ^^^ method not found in `Result, String>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1313:34 [INFO] [stdout] | [INFO] [stdout] 1313 | assert!(matches!(toks[0], IRTok::Func)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1314:34 [INFO] [stdout] | [INFO] [stdout] 1314 | assert!(matches!(toks[1], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1315:34 [INFO] [stdout] | [INFO] [stdout] 1315 | assert!(matches!(toks[2], IRTok::Var(_))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1316:34 [INFO] [stdout] | [INFO] [stdout] 1316 | assert!(matches!(toks[3], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1317:34 [INFO] [stdout] | [INFO] [stdout] 1317 | assert!(matches!(toks[4], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1318:34 [INFO] [stdout] | [INFO] [stdout] 1318 | assert!(matches!(toks[5], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `Result` in the current scope [INFO] [stdout] --> phase4/src/interpreter.rs:1323:26 [INFO] [stdout] | [INFO] [stdout] 1323 | assert!(toks.len() == 8); [INFO] [stdout] | ^^^ method not found in `Result, String>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1324:34 [INFO] [stdout] | [INFO] [stdout] 1324 | assert!(matches!(toks[0], IRTok::Mov)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1325:34 [INFO] [stdout] | [INFO] [stdout] 1325 | assert!(matches!(toks[1], IRTok::LBrace)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1326:34 [INFO] [stdout] | [INFO] [stdout] 1326 | assert!(matches!(toks[2], IRTok::Var(_))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1327:34 [INFO] [stdout] | [INFO] [stdout] 1327 | assert!(matches!(toks[3], IRTok::Plus)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1328:34 [INFO] [stdout] | [INFO] [stdout] 1328 | assert!(matches!(toks[4], IRTok::Num(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1329:34 [INFO] [stdout] | [INFO] [stdout] 1329 | assert!(matches!(toks[5], IRTok::RBrace)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1330:34 [INFO] [stdout] | [INFO] [stdout] 1330 | assert!(matches!(toks[6], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase4/src/interpreter.rs:1331:34 [INFO] [stdout] | [INFO] [stdout] 1331 | assert!(matches!(toks[7], IRTok::Num(100))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `Result` in the current scope [INFO] [stdout] --> phase3/src/interpreter.rs:1291:26 [INFO] [stdout] | [INFO] [stdout] 1291 | assert!(toks.len() == 6); [INFO] [stdout] | ^^^ method not found in `Result, String>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1292:34 [INFO] [stdout] | [INFO] [stdout] 1292 | assert!(matches!(toks[0], IRTok::Add)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1293:34 [INFO] [stdout] | [INFO] [stdout] 1293 | assert!(matches!(toks[1], IRTok::Var(_))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1294:34 [INFO] [stdout] | [INFO] [stdout] 1294 | assert!(matches!(toks[2], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1295:34 [INFO] [stdout] | [INFO] [stdout] 1295 | assert!(matches!(toks[3], IRTok::Var(_))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1296:34 [INFO] [stdout] | [INFO] [stdout] 1296 | assert!(matches!(toks[4], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1297:34 [INFO] [stdout] | [INFO] [stdout] 1297 | assert!(matches!(toks[5], IRTok::Var(_))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `Result` in the current scope [INFO] [stdout] --> phase3/src/interpreter.rs:1302:26 [INFO] [stdout] | [INFO] [stdout] 1302 | assert!(toks.len() == 5); [INFO] [stdout] | ^^^ method not found in `Result, String>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1303:34 [INFO] [stdout] | [INFO] [stdout] 1303 | assert!(matches!(toks[0], IRTok::Func)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1304:34 [INFO] [stdout] | [INFO] [stdout] 1304 | assert!(matches!(toks[1], IRTok::Var(_))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1305:34 [INFO] [stdout] | [INFO] [stdout] 1305 | assert!(matches!(toks[2], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1306:34 [INFO] [stdout] | [INFO] [stdout] 1306 | assert!(matches!(toks[3], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1307:34 [INFO] [stdout] | [INFO] [stdout] 1307 | assert!(matches!(toks[4], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `Result` in the current scope [INFO] [stdout] --> phase3/src/interpreter.rs:1312:26 [INFO] [stdout] | [INFO] [stdout] 1312 | assert!(toks.len() == 6); [INFO] [stdout] | ^^^ method not found in `Result, String>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1313:34 [INFO] [stdout] | [INFO] [stdout] 1313 | assert!(matches!(toks[0], IRTok::Func)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1314:34 [INFO] [stdout] | [INFO] [stdout] 1314 | assert!(matches!(toks[1], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1315:34 [INFO] [stdout] | [INFO] [stdout] 1315 | assert!(matches!(toks[2], IRTok::Var(_))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1316:34 [INFO] [stdout] | [INFO] [stdout] 1316 | assert!(matches!(toks[3], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1317:34 [INFO] [stdout] | [INFO] [stdout] 1317 | assert!(matches!(toks[4], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1318:34 [INFO] [stdout] | [INFO] [stdout] 1318 | assert!(matches!(toks[5], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `Result` in the current scope [INFO] [stdout] --> phase3/src/interpreter.rs:1323:26 [INFO] [stdout] | [INFO] [stdout] 1323 | assert!(toks.len() == 8); [INFO] [stdout] | ^^^ method not found in `Result, String>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1324:34 [INFO] [stdout] | [INFO] [stdout] 1324 | assert!(matches!(toks[0], IRTok::Mov)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1325:34 [INFO] [stdout] | [INFO] [stdout] 1325 | assert!(matches!(toks[1], IRTok::LBrace)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1326:34 [INFO] [stdout] | [INFO] [stdout] 1326 | assert!(matches!(toks[2], IRTok::Var(_))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1327:34 [INFO] [stdout] | [INFO] [stdout] 1327 | assert!(matches!(toks[3], IRTok::Plus)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1328:34 [INFO] [stdout] | [INFO] [stdout] 1328 | assert!(matches!(toks[4], IRTok::Num(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1329:34 [INFO] [stdout] | [INFO] [stdout] 1329 | assert!(matches!(toks[5], IRTok::RBrace)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1330:34 [INFO] [stdout] | [INFO] [stdout] 1330 | assert!(matches!(toks[6], IRTok::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, String>` [INFO] [stdout] --> phase3/src/interpreter.rs:1331:34 [INFO] [stdout] | [INFO] [stdout] 1331 | assert!(matches!(toks[7], IRTok::Num(100))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> phase3/src/main.rs:283:28 [INFO] [stdout] | [INFO] [stdout] 283 | format!("_temp{}", VAR_NUM) [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> phase4/src/main.rs:291:28 [INFO] [stdout] | [INFO] [stdout] 291 | format!("_temp{}", VAR_NUM) [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `phase4` (bin "phase4" test) due to 29 previous errors [INFO] [stdout] Some errors have detailed explanations: E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `phase3` (bin "phase3" test) due to 29 previous errors [INFO] running `Command { std: "docker" "inspect" "62678c26f498173190fe0b16c910513f4ee2499abe49a3cdde4de5a56a93279b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62678c26f498173190fe0b16c910513f4ee2499abe49a3cdde4de5a56a93279b", kill_on_drop: false }` [INFO] [stdout] 62678c26f498173190fe0b16c910513f4ee2499abe49a3cdde4de5a56a93279b