[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] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/description' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FwilliamEKim%2Fcs152-rustcompiler-w25-wkim107-apham184/description': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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 try#099e089ab723e6ee96175f3496051098c60a4cd4 for pr-140208 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FwilliamEKim%2Fcs152-rustcompiler-w25-wkim107-apham184" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/post-update.sample' to '/workspace/builds/worker-3-tc2/source/.git/hooks/post-update.sample': No space left on device [INFO] checking williamEKim/cs152-rustcompiler-w25-wkim107-apham184 against try#099e089ab723e6ee96175f3496051098c60a4cd4 for pr-140208 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FwilliamEKim%2Fcs152-rustcompiler-w25-wkim107-apham184" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/post-update.sample' to '/workspace/builds/worker-3-tc2/source/.git/hooks/post-update.sample': No space left on device [INFO] checking williamEKim/cs152-rustcompiler-w25-wkim107-apham184 against try#099e089ab723e6ee96175f3496051098c60a4cd4 for pr-140208 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FwilliamEKim%2Fcs152-rustcompiler-w25-wkim107-apham184" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/williamEKim/cs152-rustcompiler-w25-wkim107-apham184 on toolchain 099e089ab723e6ee96175f3496051098c60a4cd4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+099e089ab723e6ee96175f3496051098c60a4cd4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+099e089ab723e6ee96175f3496051098c60a4cd4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+099e089ab723e6ee96175f3496051098c60a4cd4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0cffb9e61ed758e74ce9d5c1da15616b63e31b2f8e26bd97387484e6a54eb20 [INFO] running `Command { std: "docker" "start" "-a" "c0cffb9e61ed758e74ce9d5c1da15616b63e31b2f8e26bd97387484e6a54eb20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0cffb9e61ed758e74ce9d5c1da15616b63e31b2f8e26bd97387484e6a54eb20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0cffb9e61ed758e74ce9d5c1da15616b63e31b2f8e26bd97387484e6a54eb20", kill_on_drop: false }` [INFO] [stdout] c0cffb9e61ed758e74ce9d5c1da15616b63e31b2f8e26bd97387484e6a54eb20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+099e089ab723e6ee96175f3496051098c60a4cd4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed9a75eb42a2606079a62435e34b93c7def83c1339168775997748b32a8553d8 [INFO] running `Command { std: "docker" "start" "-a" "ed9a75eb42a2606079a62435e34b93c7def83c1339168775997748b32a8553d8", kill_on_drop: false }` [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] [stderr] Checking phase2 v0.1.0 (/opt/rustwide/workdir/phase2) [INFO] [stderr] Checking phase0 v0.1.0 (/opt/rustwide/workdir/phase0) [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] 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)]` 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] For more information about this error, try `rustc --explain E0425`. [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)]` 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] 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] [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] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [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[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] --> 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[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] --> 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[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] --> 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] --> 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] --> 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[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 is discouraged [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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)]` 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] [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] [stderr] error: could not compile `phase3` (bin "phase3" test) due to 29 previous errors [INFO] running `Command { std: "docker" "inspect" "ed9a75eb42a2606079a62435e34b93c7def83c1339168775997748b32a8553d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed9a75eb42a2606079a62435e34b93c7def83c1339168775997748b32a8553d8", kill_on_drop: false }` [INFO] [stdout] ed9a75eb42a2606079a62435e34b93c7def83c1339168775997748b32a8553d8