[INFO] updating cached repository https://github.com/mrsekut/WritingAnInterpreterInRust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 47e33ce0c7bf8e097416023bee7b640f9dae80ea [INFO] testing mrsekut/WritingAnInterpreterInRust against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrsekut%2FWritingAnInterpreterInRust" "work/builds/worker-2/source"` [INFO] [stderr] Cloning into 'work/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mrsekut/WritingAnInterpreterInRust on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/mrsekut/WritingAnInterpreterInRust [INFO] finished tweaking git repo https://github.com/mrsekut/WritingAnInterpreterInRust [INFO] tweaked toml for git repo https://github.com/mrsekut/WritingAnInterpreterInRust written to work/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/mrsekut/WritingAnInterpreterInRust already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 425d1106a5c6eb3630ae727aedfd17539e93644b47f263485d25c16331100b6e [INFO] running `"docker" "start" "-a" "425d1106a5c6eb3630ae727aedfd17539e93644b47f263485d25c16331100b6e"` [INFO] [stderr] Compiling monkey v0.1.0 (/opt/rustwide/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" "425d1106a5c6eb3630ae727aedfd17539e93644b47f263485d25c16331100b6e"` [INFO] running `"docker" "rm" "-f" "425d1106a5c6eb3630ae727aedfd17539e93644b47f263485d25c16331100b6e"` [INFO] [stdout] 425d1106a5c6eb3630ae727aedfd17539e93644b47f263485d25c16331100b6e