[INFO] updating cached repository mrsekut/WritingAnInterpreterInRust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/mrsekut/WritingAnInterpreterInRust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/mrsekut/WritingAnInterpreterInRust" "work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/mrsekut/WritingAnInterpreterInRust"` [INFO] [stderr] Cloning into 'work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/mrsekut/WritingAnInterpreterInRust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mrsekut/WritingAnInterpreterInRust" "work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/mrsekut/WritingAnInterpreterInRust"` [INFO] [stderr] Cloning into 'work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/mrsekut/WritingAnInterpreterInRust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 47e33ce0c7bf8e097416023bee7b640f9dae80ea [INFO] sha for GitHub repo mrsekut/WritingAnInterpreterInRust: 47e33ce0c7bf8e097416023bee7b640f9dae80ea [INFO] validating manifest of mrsekut/WritingAnInterpreterInRust on toolchain master#39401465da4ce27aeeb2c2a26133ac35c63aa515 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of mrsekut/WritingAnInterpreterInRust on toolchain try#f45cc3094ee337acd688771b9234318046b0572d [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing mrsekut/WritingAnInterpreterInRust [INFO] finished frobbing mrsekut/WritingAnInterpreterInRust [INFO] frobbed toml for mrsekut/WritingAnInterpreterInRust written to work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/mrsekut/WritingAnInterpreterInRust/Cargo.toml [INFO] started frobbing mrsekut/WritingAnInterpreterInRust [INFO] finished frobbing mrsekut/WritingAnInterpreterInRust [INFO] frobbed toml for mrsekut/WritingAnInterpreterInRust written to work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/mrsekut/WritingAnInterpreterInRust/Cargo.toml [INFO] crate mrsekut/WritingAnInterpreterInRust already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking mrsekut/WritingAnInterpreterInRust against master#39401465da4ce27aeeb2c2a26133ac35c63aa515 for pr-60914 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60914/worker-4/master#39401465da4ce27aeeb2c2a26133ac35c63aa515:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/mrsekut/WritingAnInterpreterInRust:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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=forbid" "-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" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 6a4e23fbc66aa8f027a6674af3d05e852b9fc4109ae41433cc66661f55280e8d [INFO] running `"docker" "start" "-a" "6a4e23fbc66aa8f027a6674af3d05e852b9fc4109ae41433cc66661f55280e8d"` [INFO] [stderr] Checking monkey v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0004]: non-exhaustive patterns: `&_` not covered [INFO] [stderr] --> src/lexer/lexer.rs:44:15 [INFO] [stderr] | [INFO] [stderr] 44 | match &*self.ch { [INFO] [stderr] | ^^^^^^^^^ pattern `&_` not covered [INFO] [stderr] | [INFO] [stderr] = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms [INFO] [stderr] [INFO] [stderr] error[E0004]: non-exhaustive patterns: `&_` not covered [INFO] [stderr] --> src/lexer/lexer.rs:44:15 [INFO] [stderr] | [INFO] [stderr] 44 | match &*self.ch { [INFO] [stderr] | ^^^^^^^^^ pattern `&_` not covered [INFO] [stderr] | [INFO] [stderr] = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token_type` [INFO] [stderr] --> src/lexer/lexer.rs:91:14 [INFO] [stderr] | [INFO] [stderr] 91 | for (token_type, literal) in expects { [INFO] [stderr] | ^^^^^^^^^^ help: consider prefixing with an underscore: `_token_type` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/lexer/lexer.rs:45:49 [INFO] [stderr] | [INFO] [stderr] 45 | "=" => new_token(TokenType::ASSIGN, self.ch), [INFO] [stderr] | ^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/lexer/lexer.rs:46:52 [INFO] [stderr] | [INFO] [stderr] 46 | ";" => new_token(TokenType::SEMICOLON, self.ch), [INFO] [stderr] | ^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/lexer/lexer.rs:47:49 [INFO] [stderr] | [INFO] [stderr] 47 | "(" => new_token(TokenType::LPAREN, self.ch), [INFO] [stderr] | ^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/lexer/lexer.rs:48:49 [INFO] [stderr] | [INFO] [stderr] 48 | ")" => new_token(TokenType::RPAREN, self.ch), [INFO] [stderr] | ^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/lexer/lexer.rs:49:48 [INFO] [stderr] | [INFO] [stderr] 49 | "," => new_token(TokenType::COMMA, self.ch), [INFO] [stderr] | ^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/lexer/lexer.rs:50:47 [INFO] [stderr] | [INFO] [stderr] 50 | "+" => new_token(TokenType::PLUS, self.ch), [INFO] [stderr] | ^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/lexer/lexer.rs:51:49 [INFO] [stderr] | [INFO] [stderr] 51 | "{" => new_token(TokenType::LBRACE, self.ch), [INFO] [stderr] | ^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/lexer/lexer.rs:52:49 [INFO] [stderr] | [INFO] [stderr] 52 | "}" => new_token(TokenType::RBRACE, self.ch), [INFO] [stderr] | ^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0381]: assign to part of possibly uninitialized variable: `token` [INFO] [stderr] --> src/lexer/lexer.rs:54:17 [INFO] [stderr] | [INFO] [stderr] 54 | token.Type = TokenType::EOF; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of possibly uninitialized `token` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0004, E0381, E0507. [INFO] [stderr] For more information about an error, try `rustc --explain E0004`. [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/lexer/lexer.rs:45:49 [INFO] [stderr] | [INFO] [stderr] 45 | "=" => new_token(TokenType::ASSIGN, self.ch), [INFO] [stderr] | ^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/lexer/lexer.rs:46:52 [INFO] [stderr] | [INFO] [stderr] 46 | ";" => new_token(TokenType::SEMICOLON, self.ch), [INFO] [stderr] | ^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/lexer/lexer.rs:47:49 [INFO] [stderr] | [INFO] [stderr] 47 | "(" => new_token(TokenType::LPAREN, self.ch), [INFO] [stderr] | ^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/lexer/lexer.rs:48:49 [INFO] [stderr] | [INFO] [stderr] 48 | ")" => new_token(TokenType::RPAREN, self.ch), [INFO] [stderr] | ^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/lexer/lexer.rs:49:48 [INFO] [stderr] | [INFO] [stderr] 49 | "," => new_token(TokenType::COMMA, self.ch), [INFO] [stderr] | ^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/lexer/lexer.rs:50:47 [INFO] [stderr] | [INFO] [stderr] 50 | "+" => new_token(TokenType::PLUS, self.ch), [INFO] [stderr] | ^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/lexer/lexer.rs:51:49 [INFO] [stderr] | [INFO] [stderr] 51 | "{" => new_token(TokenType::LBRACE, self.ch), [INFO] [stderr] | ^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/lexer/lexer.rs:52:49 [INFO] [stderr] | [INFO] [stderr] 52 | "}" => new_token(TokenType::RBRACE, self.ch), [INFO] [stderr] | ^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0381]: assign to part of possibly uninitialized variable: `token` [INFO] [stderr] --> src/lexer/lexer.rs:54:17 [INFO] [stderr] | [INFO] [stderr] 54 | token.Type = TokenType::EOF; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of possibly uninitialized `token` [INFO] [stderr] [INFO] [stderr] error: Could not compile `monkey`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0004, E0381, E0507. [INFO] [stderr] For more information about an error, try `rustc --explain E0004`. [INFO] [stderr] error: Could not compile `monkey`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6a4e23fbc66aa8f027a6674af3d05e852b9fc4109ae41433cc66661f55280e8d"` [INFO] running `"docker" "rm" "-f" "6a4e23fbc66aa8f027a6674af3d05e852b9fc4109ae41433cc66661f55280e8d"` [INFO] [stdout] 6a4e23fbc66aa8f027a6674af3d05e852b9fc4109ae41433cc66661f55280e8d