[INFO] updating cached repository https://github.com/gaultier/kotlin-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/gaultier/kotlin-rs [INFO] [stderr] cd33244..04e5282 fix-eof -> fix-eof [INFO] [stderr] 561949a..6d94fc6 master -> master [INFO] [stderr] * [new branch] revamp-lex -> revamp-lex [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 6d94fc6cc00c5e548cfdc42fa6d2e8584bbe9a0b [INFO] checking gaultier/kotlin-rs against try#13f916f63bc6575d5ff1f989237dfabe88981368 for pr-69880 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaultier%2Fkotlin-rs" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gaultier/kotlin-rs on toolchain 13f916f63bc6575d5ff1f989237dfabe88981368 [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/gaultier/kotlin-rs [INFO] finished tweaking git repo https://github.com/gaultier/kotlin-rs [INFO] tweaked toml for git repo https://github.com/gaultier/kotlin-rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/gaultier/kotlin-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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" "+13f916f63bc6575d5ff1f989237dfabe88981368" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0edda8d65e930c6dd9ecf278244f5ecfe857f575d4657d17b25f592645bea52a [INFO] running `"docker" "start" "-a" "0edda8d65e930c6dd9ecf278244f5ecfe857f575d4657d17b25f592645bea52a"` [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking kotlin v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Char` in this scope [INFO] [stderr] --> src/lex.rs:554:24 [INFO] [stderr] | [INFO] [stderr] 554 | let kind = Char { terminated }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::parse::Type::Char; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Literal` in this scope [INFO] [stderr] --> src/lex.rs:555:20 [INFO] [stderr] | [INFO] [stderr] 555 | return Literal { kind, suffix_start }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::parse::AstNodeExpr::Literal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Char` in this scope [INFO] [stderr] --> src/lex.rs:565:24 [INFO] [stderr] | [INFO] [stderr] 565 | let kind = Char { terminated: true }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::parse::Type::Char; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Literal` in this scope [INFO] [stderr] --> src/lex.rs:566:20 [INFO] [stderr] | [INFO] [stderr] 566 | return Literal { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::parse::AstNodeExpr::Literal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Char` in this scope [INFO] [stderr] --> src/lex.rs:554:24 [INFO] [stderr] | [INFO] [stderr] 554 | let kind = Char { terminated }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::parse::Type::Char; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Literal` in this scope [INFO] [stderr] --> src/lex.rs:555:20 [INFO] [stderr] | [INFO] [stderr] 555 | return Literal { kind, suffix_start }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::parse::AstNodeExpr::Literal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Char` in this scope [INFO] [stderr] --> src/lex.rs:565:24 [INFO] [stderr] | [INFO] [stderr] 565 | let kind = Char { terminated: true }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::parse::Type::Char; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Literal` in this scope [INFO] [stderr] --> src/lex.rs:566:20 [INFO] [stderr] | [INFO] [stderr] 566 | return Literal { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::parse::AstNodeExpr::Literal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: `match` arms have incompatible types [INFO] [stderr] --> src/lex.rs:365:21 [INFO] [stderr] | [INFO] [stderr] 294 | let token_kind = match first_char { [INFO] [stderr] | __________________________- [INFO] [stderr] 295 | | // Slash, comment or block comment. [INFO] [stderr] 296 | | '/' => match self.first() { [INFO] [stderr] 297 | | '/' => self.line_comment(), [INFO] [stderr] ... | [INFO] [stderr] 362 | | '%' => CursorTokenKind::Percent, [INFO] [stderr] | | ------------------------ this and all prior arms are found to be of type `lex::CursorTokenKind` [INFO] [stderr] ... | [INFO] [stderr] 365 | | '\'' => self.char_literal(), [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^ expected enum `lex::CursorTokenKind`, found enum `lex::TokenKind` [INFO] [stderr] ... | [INFO] [stderr] 377 | | _ => CursorTokenKind::Unknown, [INFO] [stderr] 378 | | }; [INFO] [stderr] | |_________- `match` arms have incompatible types [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `eat_literal_suffix` found for mutable reference `&mut cursor::Cursor<'_>` in the current scope [INFO] [stderr] --> src/lex.rs:552:22 [INFO] [stderr] | [INFO] [stderr] 552 | self.eat_literal_suffix(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `eat_number_suffix` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lex.rs:563:9 [INFO] [stderr] | [INFO] [stderr] 563 | / if self.first() == '\'' { [INFO] [stderr] 564 | | self.bump(); [INFO] [stderr] 565 | | let kind = Char { terminated: true }; [INFO] [stderr] 566 | | return Literal { [INFO] [stderr] ... | [INFO] [stderr] 569 | | }; [INFO] [stderr] 570 | | } [INFO] [stderr] | |_________^ expected enum `lex::TokenKind`, found `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0422, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `kotlin`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: `match` arms have incompatible types [INFO] [stderr] --> src/lex.rs:365:21 [INFO] [stderr] | [INFO] [stderr] 294 | let token_kind = match first_char { [INFO] [stderr] | __________________________- [INFO] [stderr] 295 | | // Slash, comment or block comment. [INFO] [stderr] 296 | | '/' => match self.first() { [INFO] [stderr] 297 | | '/' => self.line_comment(), [INFO] [stderr] ... | [INFO] [stderr] 362 | | '%' => CursorTokenKind::Percent, [INFO] [stderr] | | ------------------------ this and all prior arms are found to be of type `lex::CursorTokenKind` [INFO] [stderr] ... | [INFO] [stderr] 365 | | '\'' => self.char_literal(), [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^ expected enum `lex::CursorTokenKind`, found enum `lex::TokenKind` [INFO] [stderr] ... | [INFO] [stderr] 377 | | _ => CursorTokenKind::Unknown, [INFO] [stderr] 378 | | }; [INFO] [stderr] | |_________- `match` arms have incompatible types [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `eat_literal_suffix` found for mutable reference `&mut cursor::Cursor<'_>` in the current scope [INFO] [stderr] --> src/lex.rs:552:22 [INFO] [stderr] | [INFO] [stderr] 552 | self.eat_literal_suffix(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `eat_number_suffix` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lex.rs:563:9 [INFO] [stderr] | [INFO] [stderr] 563 | / if self.first() == '\'' { [INFO] [stderr] 564 | | self.bump(); [INFO] [stderr] 565 | | let kind = Char { terminated: true }; [INFO] [stderr] 566 | | return Literal { [INFO] [stderr] ... | [INFO] [stderr] 569 | | }; [INFO] [stderr] 570 | | } [INFO] [stderr] | |_________^ expected enum `lex::TokenKind`, found `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0422, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `kotlin`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0edda8d65e930c6dd9ecf278244f5ecfe857f575d4657d17b25f592645bea52a"` [INFO] running `"docker" "rm" "-f" "0edda8d65e930c6dd9ecf278244f5ecfe857f575d4657d17b25f592645bea52a"` [INFO] [stdout] 0edda8d65e930c6dd9ecf278244f5ecfe857f575d4657d17b25f592645bea52a