[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/beta-1.38-1/sources/1.37.0/gh/mrsekut/WritingAnInterpreterInRust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/mrsekut/WritingAnInterpreterInRust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mrsekut/WritingAnInterpreterInRust" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/mrsekut/WritingAnInterpreterInRust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of mrsekut/WritingAnInterpreterInRust on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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/beta-1.38-1/sources/1.37.0/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/beta-1.38-1/sources/beta-2019-08-13/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" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing mrsekut/WritingAnInterpreterInRust against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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=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.37.0" "build" "--frozen"` [INFO] [stdout] 7a6e5d3fc929c98763947d1b99cb77b86877aa8ae08fb875576d243c0bd43301 [INFO] running `"docker" "start" "-a" "7a6e5d3fc929c98763947d1b99cb77b86877aa8ae08fb875576d243c0bd43301"` [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" "7a6e5d3fc929c98763947d1b99cb77b86877aa8ae08fb875576d243c0bd43301"` [INFO] running `"docker" "rm" "-f" "7a6e5d3fc929c98763947d1b99cb77b86877aa8ae08fb875576d243c0bd43301"` [INFO] [stdout] 7a6e5d3fc929c98763947d1b99cb77b86877aa8ae08fb875576d243c0bd43301