[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#44e31dee3cf6f37b4f652572897bb0eb25c477ee for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzenathark%2Fwai-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] error: failed to write new configuration file /workspace/builds/worker-5-tc2/source/.git/config.lock [INFO] [stderr] fatal: could not set 'core.filemode' to 'true' [INFO] checking zenathark/wai-rust against try#44e31dee3cf6f37b4f652572897bb0eb25c477ee for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzenathark%2Fwai-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zenathark/wai-rust on toolchain 44e31dee3cf6f37b4f652572897bb0eb25c477ee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "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-5-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" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eae245d423fc2cb16893a660608387a5f0b6264b6db023f1969caaa2fb76e7f8 [INFO] running `Command { std: "docker" "start" "-a" "eae245d423fc2cb16893a660608387a5f0b6264b6db023f1969caaa2fb76e7f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eae245d423fc2cb16893a660608387a5f0b6264b6db023f1969caaa2fb76e7f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eae245d423fc2cb16893a660608387a5f0b6264b6db023f1969caaa2fb76e7f8", kill_on_drop: false }` [INFO] [stdout] eae245d423fc2cb16893a660608387a5f0b6264b6db023f1969caaa2fb76e7f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6787d3ea1a20d110eb27d3f532c0719b23a2fd232d212181ca04dee3c48ba138 [INFO] running `Command { std: "docker" "start" "-a" "6787d3ea1a20d110eb27d3f532c0719b23a2fd232d212181ca04dee3c48ba138", 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: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: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] 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] [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") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wai-rust` (bin "wai-rust" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "6787d3ea1a20d110eb27d3f532c0719b23a2fd232d212181ca04dee3c48ba138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6787d3ea1a20d110eb27d3f532c0719b23a2fd232d212181ca04dee3c48ba138", kill_on_drop: false }` [INFO] [stdout] 6787d3ea1a20d110eb27d3f532c0719b23a2fd232d212181ca04dee3c48ba138