[INFO] cloning repository https://github.com/GildedHonour/lexer_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GildedHonour/lexer_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGildedHonour%2Flexer_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGildedHonour%2Flexer_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a4355560f5e0cecaa989f7533c0e1267a31d385 [INFO] testing GildedHonour/lexer_rs against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGildedHonour%2Flexer_rs" "/workspace/builds/worker-43/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-43/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GildedHonour/lexer_rs on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GildedHonour/lexer_rs [INFO] finished tweaking git repo https://github.com/GildedHonour/lexer_rs [INFO] tweaked toml for git repo https://github.com/GildedHonour/lexer_rs written to /workspace/builds/worker-43/source/Cargo.toml [INFO] crate git repo https://github.com/GildedHonour/lexer_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acd0d5f917c4aab72fba0166226ed6844a8bb5d292763bb93c5b1f2e7e49216c [INFO] running `Command { std: "docker" "start" "-a" "acd0d5f917c4aab72fba0166226ed6844a8bb5d292763bb93c5b1f2e7e49216c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acd0d5f917c4aab72fba0166226ed6844a8bb5d292763bb93c5b1f2e7e49216c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acd0d5f917c4aab72fba0166226ed6844a8bb5d292763bb93c5b1f2e7e49216c", kill_on_drop: false }` [INFO] [stdout] acd0d5f917c4aab72fba0166226ed6844a8bb5d292763bb93c5b1f2e7e49216c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d8b81c3f86fe8bdf62c3769dded50c487627588ddca56906035977f201196cd [INFO] running `Command { std: "docker" "start" "-a" "6d8b81c3f86fe8bdf62c3769dded50c487627588ddca56906035977f201196cd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling lexer_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `{` [INFO] [stdout] --> src/main.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 43 | 'd' => [INFO] [stdout] | -- while parsing the `match` arm starting here [INFO] [stdout] 44 | switch (*(pos - 1)) { [INFO] [stdout] | ^ expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `match` arm body without braces [INFO] [stdout] --> src/main.rs:147:7 [INFO] [stdout] | [INFO] [stdout] 146 | '>' => [INFO] [stdout] | -- while parsing the `match` arm starting here [INFO] [stdout] 147 | return *(curPos - 1) == '='; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: use a comma to end a `match` arm expression: `,` [INFO] [stdout] | | [INFO] [stdout] | this statement is not surrounded by a body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `=>` [INFO] [stdout] --> src/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 148 | ';' => [INFO] [stdout] | -- while parsing the `match` arm starting here [INFO] [stdout] 149 | ')' => [INFO] [stdout] | ^^ expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `readPrecedingKeyword5` in this scope [INFO] [stdout] --> src/main.rs:114:3 [INFO] [stdout] | [INFO] [stdout] 114 | readPrecedingKeyword5(curPos, 'w', 'h', 'i', 'l', 'e') || [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `curPos` in this scope [INFO] [stdout] --> src/main.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | readPrecedingKeyword5(curPos, 'w', 'h', 'i', 'l', 'e') || [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `readPrecedingKeyword3` in this scope [INFO] [stdout] --> src/main.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | readPrecedingKeyword3(curPos, 'f', 'o', 'r') || [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `curPos` in this scope [INFO] [stdout] --> src/main.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | readPrecedingKeyword3(curPos, 'f', 'o', 'r') || [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `readPrecedingKeyword2` in this scope [INFO] [stdout] --> src/main.rs:116:3 [INFO] [stdout] | [INFO] [stdout] 116 | readPrecedingKeyword2(curPos, 'i', 'f') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `curPos` in this scope [INFO] [stdout] --> src/main.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | readPrecedingKeyword2(curPos, 'i', 'f') [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 42 | / match ch { [INFO] [stdout] 43 | | 'd' => [INFO] [stdout] 44 | | switch (*(pos - 1)) { [INFO] [stdout] 45 | | case 'i': [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] 110 | return false; [INFO] [stdout] | ^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | (ch > 39 && ch < 48) || [INFO] [stdout] | ^^ expected `char`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | (ch > 39 && ch < 48) || [INFO] [stdout] | ^^ expected `char`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | (ch > 57 && ch < 64) || [INFO] [stdout] | ^^ expected `char`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | (ch > 57 && ch < 64) || [INFO] [stdout] | ^^ expected `char`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | ch > 122 && ch < 127 [INFO] [stdout] | ^^^ expected `char`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | ch > 122 && ch < 127 [INFO] [stdout] | ^^^ expected `char`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | ch > 39 && ch < 47 && ch != 41 || ch > 57 && ch < 64 || [INFO] [stdout] | ^^ expected `char`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | ch > 39 && ch < 47 && ch != 41 || ch > 57 && ch < 64 || [INFO] [stdout] | ^^ expected `char`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | ch > 39 && ch < 47 && ch != 41 || ch > 57 && ch < 64 || [INFO] [stdout] | ^^ expected `char`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:134:44 [INFO] [stdout] | [INFO] [stdout] 134 | ch > 39 && ch < 47 && ch != 41 || ch > 57 && ch < 64 || [INFO] [stdout] | ^^ expected `char`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:134:55 [INFO] [stdout] | [INFO] [stdout] 134 | ch > 39 && ch < 47 && ch != 41 || ch > 57 && ch < 64 || [INFO] [stdout] | ^^ expected `char`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:135:36 [INFO] [stdout] | [INFO] [stdout] 135 | ch == '[' || ch == '^' || ch > 122 && ch < 127 && ch != '}'; [INFO] [stdout] | ^^^ expected `char`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:135:48 [INFO] [stdout] | [INFO] [stdout] 135 | ch == '[' || ch == '^' || ch > 122 && ch < 127 && ch != '}'; [INFO] [stdout] | ^^^ expected `char`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexer_rs` due to 23 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6d8b81c3f86fe8bdf62c3769dded50c487627588ddca56906035977f201196cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d8b81c3f86fe8bdf62c3769dded50c487627588ddca56906035977f201196cd", kill_on_drop: false }` [INFO] [stdout] 6d8b81c3f86fe8bdf62c3769dded50c487627588ddca56906035977f201196cd