[INFO] updating cached repository 2over12/rlox [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/2over12/rlox [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/2over12/rlox" "work/ex/beta-1.37-6/sources/1.36.0/gh/2over12/rlox"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/2over12/rlox'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/2over12/rlox" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/2over12/rlox"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/2over12/rlox'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4f66e5c38db3cd55a649eb5105bf3d66a395366c [INFO] sha for GitHub repo 2over12/rlox: 4f66e5c38db3cd55a649eb5105bf3d66a395366c [INFO] validating manifest of 2over12/rlox on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of 2over12/rlox on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing 2over12/rlox [INFO] finished frobbing 2over12/rlox [INFO] frobbed toml for 2over12/rlox written to work/ex/beta-1.37-6/sources/1.36.0/gh/2over12/rlox/Cargo.toml [INFO] started frobbing 2over12/rlox [INFO] finished frobbing 2over12/rlox [INFO] frobbed toml for 2over12/rlox written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/2over12/rlox/Cargo.toml [INFO] crate 2over12/rlox already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing 2over12/rlox against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-2/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/2over12/rlox:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "build" "--frozen"` [INFO] [stdout] d76b7e2cfb269bd689be58c5599aee7473a0ffeeb4f06bfc3ae8ab448bb869a5 [INFO] running `"docker" "start" "-a" "d76b7e2cfb269bd689be58c5599aee7473a0ffeeb4f06bfc3ae8ab448bb869a5"` [INFO] [stderr] Compiling jlox v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/parser.rs:314:41 [INFO] [stderr] | [INFO] [stderr] 314 | expr = self.finish_call(expr); [INFO] [stderr] | ^^^^ expected enum `syntax::Expr`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected type `syntax::Expr` [INFO] [stderr] found type `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/interpreter.rs:145:29 [INFO] [stderr] | [INFO] [stderr] 145 | let func = Callable::from(callee)?; [INFO] [stderr] | ^^^^^^ expected reference, found enum `tokens::Literal` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&syntax::Expr` [INFO] [stderr] found type `tokens::Literal` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/interpreter.rs:146:19 [INFO] [stderr] | [INFO] [stderr] 146 | func.call(self, args) [INFO] [stderr] | ^^^^ expected struct `std::vec::Vec`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::vec::Vec<_>` [INFO] [stderr] found type `std::result::Result, interpreter::RuntimeError>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/functions.rs:11:30 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn from(expr: &Expr) -> Result { [INFO] [stderr] | ---- ^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found () [INFO] [stderr] | | [INFO] [stderr] | this function's body doesn't return [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::result::Result` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/functions.rs:18:70 [INFO] [stderr] | [INFO] [stderr] 18 | fn call(&self, intepreter: &mut Interpreter, args: Vec) -> Result { [INFO] [stderr] | ---- this function's body doesn't return ^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::result::Result` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `jlox`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d76b7e2cfb269bd689be58c5599aee7473a0ffeeb4f06bfc3ae8ab448bb869a5"` [INFO] running `"docker" "rm" "-f" "d76b7e2cfb269bd689be58c5599aee7473a0ffeeb4f06bfc3ae8ab448bb869a5"` [INFO] [stdout] d76b7e2cfb269bd689be58c5599aee7473a0ffeeb4f06bfc3ae8ab448bb869a5