[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGildedHonour%2Flexer_rs" "/workspace/builds/worker-63/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-63/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GildedHonour/lexer_rs on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-63/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" "+722e1797249a965b6335aebd65d777f917e498f1" "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-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9488f020eee260d4f65838b39646c125deb79e8b4869243c5bca06b154799d01 [INFO] running `Command { std: "docker" "start" "-a" "9488f020eee260d4f65838b39646c125deb79e8b4869243c5bca06b154799d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9488f020eee260d4f65838b39646c125deb79e8b4869243c5bca06b154799d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9488f020eee260d4f65838b39646c125deb79e8b4869243c5bca06b154799d01", kill_on_drop: false }` [INFO] [stdout] 9488f020eee260d4f65838b39646c125deb79e8b4869243c5bca06b154799d01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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=forbid" "-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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7627585da022bde6881138cd6c09f128b6cd228478fe96fca08442080b64c256 [INFO] running `Command { std: "docker" "start" "-a" "7627585da022bde6881138cd6c09f128b6cd228478fe96fca08442080b64c256", 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" "7627585da022bde6881138cd6c09f128b6cd228478fe96fca08442080b64c256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7627585da022bde6881138cd6c09f128b6cd228478fe96fca08442080b64c256", kill_on_drop: false }` [INFO] [stdout] 7627585da022bde6881138cd6c09f128b6cd228478fe96fca08442080b64c256