[INFO] cloning repository https://github.com/algoshimo/Implementing-the-Lua-Interpreter-in-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/algoshimo/Implementing-the-Lua-Interpreter-in-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falgoshimo%2FImplementing-the-Lua-Interpreter-in-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falgoshimo%2FImplementing-the-Lua-Interpreter-in-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d13647b21971bf2f6bc365b325038e7f51ca3412 [INFO] checking algoshimo/Implementing-the-Lua-Interpreter-in-Rust against try#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falgoshimo%2FImplementing-the-Lua-Interpreter-in-Rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/algoshimo/Implementing-the-Lua-Interpreter-in-Rust [INFO] finished tweaking git repo https://github.com/algoshimo/Implementing-the-Lua-Interpreter-in-Rust [INFO] tweaked toml for git repo https://github.com/algoshimo/Implementing-the-Lua-Interpreter-in-Rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/algoshimo/Implementing-the-Lua-Interpreter-in-Rust on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/algoshimo/Implementing-the-Lua-Interpreter-in-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" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f17f179782f7103cbb436358bd936ad1523fb2991eef0fb04150d77489b4cc2 [INFO] running `Command { std: "docker" "start" "-a" "6f17f179782f7103cbb436358bd936ad1523fb2991eef0fb04150d77489b4cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f17f179782f7103cbb436358bd936ad1523fb2991eef0fb04150d77489b4cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f17f179782f7103cbb436358bd936ad1523fb2991eef0fb04150d77489b4cc2", kill_on_drop: false }` [INFO] [stdout] 6f17f179782f7103cbb436358bd936ad1523fb2991eef0fb04150d77489b4cc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39755bcf57341d27684f25a3cbea9d520a9841044ce98d07f1d981a36d674921 [INFO] running `Command { std: "docker" "start" "-a" "39755bcf57341d27684f25a3cbea9d520a9841044ce98d07f1d981a36d674921", kill_on_drop: false }` [INFO] [stderr] Checking lua v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `value` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod value; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `value`, create file "src/value.rs" or "src/value/mod.rs" [INFO] [stdout] = note: if there is a `mod value` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `bytecode` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod bytecode; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `bytecode`, create file "src/bytecode.rs" or "src/bytecode/mod.rs" [INFO] [stdout] = note: if there is a `mod bytecode` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `value` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod value; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `value`, create file "src/value.rs" or "src/value/mod.rs" [INFO] [stdout] = note: if there is a `mod value` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `bytecode` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod bytecode; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `bytecode`, create file "src/bytecode.rs" or "src/bytecode/mod.rs" [INFO] [stdout] = note: if there is a `mod bytecode` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lex.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(input : File) -> Self; //基于输入文件创建语法分析器 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lex.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn next(&mut self) -> Token; //返回下一个Token [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lex.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(input : File) -> Self; //基于输入文件创建语法分析器 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lex.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn next(&mut self) -> Token; //返回下一个Token [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ExeState` in `vm` [INFO] [stdout] --> src/main.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | vm::ExeState::new().execute(&proto); [INFO] [stdout] | ^^^^^^^^ could not find `ExeState` in `vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load` in module `parse` [INFO] [stdout] --> src/main.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let proto = parse::load(file); [INFO] [stdout] | ^^^^ not found in `parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | if(args.len()!=2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - if(args.len()!=2) { [INFO] [stdout] 12 + if args.len()!=2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ExeState` in `vm` [INFO] [stdout] --> src/main.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | vm::ExeState::new().execute(&proto); [INFO] [stdout] | ^^^^^^^^ could not find `ExeState` in `vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load` in module `parse` [INFO] [stdout] --> src/main.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let proto = parse::load(file); [INFO] [stdout] | ^^^^ not found in `parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | if(args.len()!=2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - if(args.len()!=2) { [INFO] [stdout] 12 + if args.len()!=2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lua` (bin "lua") due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lua` (bin "lua" test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "39755bcf57341d27684f25a3cbea9d520a9841044ce98d07f1d981a36d674921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39755bcf57341d27684f25a3cbea9d520a9841044ce98d07f1d981a36d674921", kill_on_drop: false }` [INFO] [stdout] 39755bcf57341d27684f25a3cbea9d520a9841044ce98d07f1d981a36d674921