[INFO] cloning repository https://github.com/katsuNakajima/9cc-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/katsuNakajima/9cc-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkatsuNakajima%2F9cc-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkatsuNakajima%2F9cc-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f0b963d9cbeed33f08f2eb4396067131a526d77 [INFO] checking katsuNakajima/9cc-rs against try#e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkatsuNakajima%2F9cc-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/katsuNakajima/9cc-rs [INFO] finished tweaking git repo https://github.com/katsuNakajima/9cc-rs [INFO] tweaked toml for git repo https://github.com/katsuNakajima/9cc-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/katsuNakajima/9cc-rs on toolchain e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/katsuNakajima/9cc-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3d9266842c8090e087803ef7eb2eb5f2660839761b063088ca00bfec4927452 [INFO] running `Command { std: "docker" "start" "-a" "a3d9266842c8090e087803ef7eb2eb5f2660839761b063088ca00bfec4927452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3d9266842c8090e087803ef7eb2eb5f2660839761b063088ca00bfec4927452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3d9266842c8090e087803ef7eb2eb5f2660839761b063088ca00bfec4927452", kill_on_drop: false }` [INFO] [stdout] a3d9266842c8090e087803ef7eb2eb5f2660839761b063088ca00bfec4927452 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d616592c866109c6f50d81a9872724f126d7291b35c07880b0f82607ff23bb40 [INFO] running `Command { std: "docker" "start" "-a" "d616592c866109c6f50d81a9872724f126d7291b35c07880b0f82607ff23bb40", kill_on_drop: false }` [INFO] [stderr] Checking cc-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | if consume('+', token) { [INFO] [stdout] | ------- ^^^ expected `&str`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn consume>(op: &str, token: &mut Peekable) -> bool { [INFO] [stdout] | ^^^^^^^ -------- [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 190 - if consume('+', token) { [INFO] [stdout] 190 + if consume("+", token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 192 | } else if consume('-', token) { [INFO] [stdout] | ------- ^^^ expected `&str`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn consume>(op: &str, token: &mut Peekable) -> bool { [INFO] [stdout] | ^^^^^^^ -------- [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 192 - } else if consume('-', token) { [INFO] [stdout] 192 + } else if consume("-", token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | if consume('*', token) { [INFO] [stdout] | ------- ^^^ expected `&str`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn consume>(op: &str, token: &mut Peekable) -> bool { [INFO] [stdout] | ^^^^^^^ -------- [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 204 - if consume('*', token) { [INFO] [stdout] 204 + if consume("*", token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:206:27 [INFO] [stdout] | [INFO] [stdout] 206 | } else if consume('/', token) { [INFO] [stdout] | ------- ^^^ expected `&str`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn consume>(op: &str, token: &mut Peekable) -> bool { [INFO] [stdout] | ^^^^^^^ -------- [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 206 - } else if consume('/', token) { [INFO] [stdout] 206 + } else if consume("/", token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | if consume('+', token) { [INFO] [stdout] | ------- ^^^ expected `&str`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn consume>(op: &str, token: &mut Peekable) -> bool { [INFO] [stdout] | ^^^^^^^ -------- [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 215 - if consume('+', token) { [INFO] [stdout] 215 + if consume("+", token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | if consume('-', token) { [INFO] [stdout] | ------- ^^^ expected `&str`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn consume>(op: &str, token: &mut Peekable) -> bool { [INFO] [stdout] | ^^^^^^^ -------- [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 218 - if consume('-', token) { [INFO] [stdout] 218 + if consume("-", token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:226:16 [INFO] [stdout] | [INFO] [stdout] 226 | if consume('(', token) { [INFO] [stdout] | ------- ^^^ expected `&str`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn consume>(op: &str, token: &mut Peekable) -> bool { [INFO] [stdout] | ^^^^^^^ -------- [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 226 - if consume('(', token) { [INFO] [stdout] 226 + if consume("(", token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | expect(')', token); [INFO] [stdout] | ------ ^^^ expected `&str`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn expect>(op: &str, token: &mut Peekable) { [INFO] [stdout] | ^^^^^^ -------- [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 228 - expect(')', token); [INFO] [stdout] 228 + expect(")", token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | if consume('+', token) { [INFO] [stdout] | ------- ^^^ expected `&str`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn consume>(op: &str, token: &mut Peekable) -> bool { [INFO] [stdout] | ^^^^^^^ -------- [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 190 - if consume('+', token) { [INFO] [stdout] 190 + if consume("+", token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 192 | } else if consume('-', token) { [INFO] [stdout] | ------- ^^^ expected `&str`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn consume>(op: &str, token: &mut Peekable) -> bool { [INFO] [stdout] | ^^^^^^^ -------- [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 192 - } else if consume('-', token) { [INFO] [stdout] 192 + } else if consume("-", token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | if consume('*', token) { [INFO] [stdout] | ------- ^^^ expected `&str`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn consume>(op: &str, token: &mut Peekable) -> bool { [INFO] [stdout] | ^^^^^^^ -------- [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 204 - if consume('*', token) { [INFO] [stdout] 204 + if consume("*", token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:206:27 [INFO] [stdout] | [INFO] [stdout] 206 | } else if consume('/', token) { [INFO] [stdout] | ------- ^^^ expected `&str`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn consume>(op: &str, token: &mut Peekable) -> bool { [INFO] [stdout] | ^^^^^^^ -------- [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 206 - } else if consume('/', token) { [INFO] [stdout] 206 + } else if consume("/", token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | if consume('+', token) { [INFO] [stdout] | ------- ^^^ expected `&str`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn consume>(op: &str, token: &mut Peekable) -> bool { [INFO] [stdout] | ^^^^^^^ -------- [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 215 - if consume('+', token) { [INFO] [stdout] 215 + if consume("+", token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | if consume('-', token) { [INFO] [stdout] | ------- ^^^ expected `&str`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn consume>(op: &str, token: &mut Peekable) -> bool { [INFO] [stdout] | ^^^^^^^ -------- [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 218 - if consume('-', token) { [INFO] [stdout] 218 + if consume("-", token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:226:16 [INFO] [stdout] | [INFO] [stdout] 226 | if consume('(', token) { [INFO] [stdout] | ------- ^^^ expected `&str`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn consume>(op: &str, token: &mut Peekable) -> bool { [INFO] [stdout] | ^^^^^^^ -------- [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 226 - if consume('(', token) { [INFO] [stdout] 226 + if consume("(", token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | expect(')', token); [INFO] [stdout] | ------ ^^^ expected `&str`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn expect>(op: &str, token: &mut Peekable) { [INFO] [stdout] | ^^^^^^ -------- [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 228 - expect(')', token); [INFO] [stdout] 228 + expect(")", token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cc-rs` (bin "cc-rs") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cc-rs` (bin "cc-rs" test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "d616592c866109c6f50d81a9872724f126d7291b35c07880b0f82607ff23bb40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d616592c866109c6f50d81a9872724f126d7291b35c07880b0f82607ff23bb40", kill_on_drop: false }` [INFO] [stdout] d616592c866109c6f50d81a9872724f126d7291b35c07880b0f82607ff23bb40