[INFO] cloning repository mrsekut/WritingAnInterpreterInRust [INFO] running `"git" "clone" "--bare" "git://github.com/mrsekut/WritingAnInterpreterInRust.git" "work/cache/sources/gh/mrsekut/WritingAnInterpreterInRust"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/mrsekut/WritingAnInterpreterInRust'... [INFO] running `"git" "clone" "work/cache/sources/gh/mrsekut/WritingAnInterpreterInRust" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/mrsekut/WritingAnInterpreterInRust"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/mrsekut/WritingAnInterpreterInRust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mrsekut/WritingAnInterpreterInRust" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/mrsekut/WritingAnInterpreterInRust"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of mrsekut/WritingAnInterpreterInRust on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-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-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/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-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/mrsekut/WritingAnInterpreterInRust/Cargo.toml [INFO] crate mrsekut/WritingAnInterpreterInRust already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing mrsekut/WritingAnInterpreterInRust against try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-4/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/mrsekut/WritingAnInterpreterInRust:/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=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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] c3baa1d97003a1bd2717a11c18f82e536788bc351def94aef067df1b2a32cbd1 [INFO] running `"docker" "start" "-a" "c3baa1d97003a1bd2717a11c18f82e536788bc351def94aef067df1b2a32cbd1"` [INFO] [stderr] Compiling 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[E0507]: cannot move out of `self.ch` which is behind a shared reference [INFO] [stderr] --> src/lexer/lexer.rs:45:49 [INFO] [stderr] | [INFO] [stderr] 45 | "=" => new_token(TokenType::ASSIGN, self.ch), [INFO] [stderr] | ^^^^^^^ move occurs because `self.ch` has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of `self.ch` which is behind a shared reference [INFO] [stderr] --> src/lexer/lexer.rs:46:52 [INFO] [stderr] | [INFO] [stderr] 46 | ";" => new_token(TokenType::SEMICOLON, self.ch), [INFO] [stderr] | ^^^^^^^ move occurs because `self.ch` has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of `self.ch` which is behind a shared reference [INFO] [stderr] --> src/lexer/lexer.rs:47:49 [INFO] [stderr] | [INFO] [stderr] 47 | "(" => new_token(TokenType::LPAREN, self.ch), [INFO] [stderr] | ^^^^^^^ move occurs because `self.ch` has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of `self.ch` which is behind a shared reference [INFO] [stderr] --> src/lexer/lexer.rs:48:49 [INFO] [stderr] | [INFO] [stderr] 48 | ")" => new_token(TokenType::RPAREN, self.ch), [INFO] [stderr] | ^^^^^^^ move occurs because `self.ch` has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of `self.ch` which is behind a shared reference [INFO] [stderr] --> src/lexer/lexer.rs:49:48 [INFO] [stderr] | [INFO] [stderr] 49 | "," => new_token(TokenType::COMMA, self.ch), [INFO] [stderr] | ^^^^^^^ move occurs because `self.ch` has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of `self.ch` which is behind a shared reference [INFO] [stderr] --> src/lexer/lexer.rs:50:47 [INFO] [stderr] | [INFO] [stderr] 50 | "+" => new_token(TokenType::PLUS, self.ch), [INFO] [stderr] | ^^^^^^^ move occurs because `self.ch` has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of `self.ch` which is behind a shared reference [INFO] [stderr] --> src/lexer/lexer.rs:51:49 [INFO] [stderr] | [INFO] [stderr] 51 | "{" => new_token(TokenType::LBRACE, self.ch), [INFO] [stderr] | ^^^^^^^ move occurs because `self.ch` has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of `self.ch` which is behind a shared reference [INFO] [stderr] --> src/lexer/lexer.rs:52:49 [INFO] [stderr] | [INFO] [stderr] 52 | "}" => new_token(TokenType::RBRACE, self.ch), [INFO] [stderr] | ^^^^^^^ move occurs because `self.ch` has type `std::string::String`, which does not implement the `Copy` trait [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: Could not compile `monkey`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c3baa1d97003a1bd2717a11c18f82e536788bc351def94aef067df1b2a32cbd1"` [INFO] running `"docker" "rm" "-f" "c3baa1d97003a1bd2717a11c18f82e536788bc351def94aef067df1b2a32cbd1"` [INFO] [stdout] c3baa1d97003a1bd2717a11c18f82e536788bc351def94aef067df1b2a32cbd1