[INFO] cloning repository https://github.com/mrsekut/WritingAnInterpreterInRust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrsekut/WritingAnInterpreterInRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrsekut%2FWritingAnInterpreterInRust"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrsekut%2FWritingAnInterpreterInRust'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 47e33ce0c7bf8e097416023bee7b640f9dae80ea [INFO] testing mrsekut/WritingAnInterpreterInRust against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrsekut%2FWritingAnInterpreterInRust" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mrsekut/WritingAnInterpreterInRust on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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 /workspace/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] 16b61436928271763f917001c1f3b9bb101d95aef9a8f4eb0791fb96174d2877 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "16b61436928271763f917001c1f3b9bb101d95aef9a8f4eb0791fb96174d2877"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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] = note: the matched value is of type `&str` [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" "16b61436928271763f917001c1f3b9bb101d95aef9a8f4eb0791fb96174d2877"` [INFO] running `"docker" "rm" "-f" "16b61436928271763f917001c1f3b9bb101d95aef9a8f4eb0791fb96174d2877"` [INFO] [stdout] 16b61436928271763f917001c1f3b9bb101d95aef9a8f4eb0791fb96174d2877