[INFO] cloning repository https://github.com/zenathark/wai-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zenathark/wai-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzenathark%2Fwai-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzenathark%2Fwai-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a04e3ee7805983116c86ac621f443b6dc111f48 [INFO] checking zenathark/wai-rust against try#b32fc44666c052e7cf07ab471bfb6f9ec571902f for pr-138676 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzenathark%2Fwai-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zenathark/wai-rust on toolchain b32fc44666c052e7cf07ab471bfb6f9ec571902f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zenathark/wai-rust [INFO] finished tweaking git repo https://github.com/zenathark/wai-rust [INFO] tweaked toml for git repo https://github.com/zenathark/wai-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zenathark/wai-rust 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" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe4828ff668d394598b79eb27a24e62a1c967ae0c2ea429f41d38b472bb0c339 [INFO] running `Command { std: "docker" "start" "-a" "fe4828ff668d394598b79eb27a24e62a1c967ae0c2ea429f41d38b472bb0c339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe4828ff668d394598b79eb27a24e62a1c967ae0c2ea429f41d38b472bb0c339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe4828ff668d394598b79eb27a24e62a1c967ae0c2ea429f41d38b472bb0c339", kill_on_drop: false }` [INFO] [stdout] fe4828ff668d394598b79eb27a24e62a1c967ae0c2ea429f41d38b472bb0c339 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a7a5a381ca425cf15a3af7bdbb0b3e605fb76653201efb0ae54da90a1b68c4f [INFO] running `Command { std: "docker" "start" "-a" "2a7a5a381ca425cf15a3af7bdbb0b3e605fb76653201efb0ae54da90a1b68c4f", kill_on_drop: false }` [INFO] [stderr] Checking wai-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexer.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | fn new(input: &str) -> Lexer { [INFO] [stdout] | --- ^^^^^ expected `Lexer`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexer.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | fn new(input: &str) -> Lexer { [INFO] [stdout] | --- ^^^^^ expected `Lexer`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexer.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | fn next_token(&self) -> Token { [INFO] [stdout] | ---------- ^^^^^ expected `Token`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexer.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | fn next_token(&self) -> Token { [INFO] [stdout] | ---------- ^^^^^ expected `Token`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `String` with `&&str` [INFO] [stdout] --> src/lexer.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(tok.kind, expected_kind, "test[{}] - token kind wrong. expected={} got={}", i, expected_kind, tok.kind); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `String == &&str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&&str>` is not implemented for `String` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `String` with `&&str` [INFO] [stdout] --> src/lexer.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(tok.literal, expected_literal, "test[{}] - literal wrong. expected={} got={}", i, expected_literal, tok.literal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `String == &&str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&&str>` is not implemented for `String` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wai-rust` (bin "wai-rust") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wai-rust` (bin "wai-rust" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "2a7a5a381ca425cf15a3af7bdbb0b3e605fb76653201efb0ae54da90a1b68c4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a7a5a381ca425cf15a3af7bdbb0b3e605fb76653201efb0ae54da90a1b68c4f", kill_on_drop: false }` [INFO] [stdout] 2a7a5a381ca425cf15a3af7bdbb0b3e605fb76653201efb0ae54da90a1b68c4f