[INFO] cloning repository https://github.com/Rene-Bohm/parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rene-Bohm/parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRene-Bohm%2Fparser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRene-Bohm%2Fparser'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRene-Bohm%2Fparser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/Rene-Bohm/parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rene-Bohm/parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRene-Bohm%2Fparser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRene-Bohm%2Fparser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92e3b5c7b0986ad968d61627981862ba1b1c9bd0 [INFO] checking Rene-Bohm/parser against master#c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRene-Bohm%2Fparser" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Rene-Bohm/parser [INFO] finished tweaking git repo https://github.com/Rene-Bohm/parser [INFO] tweaked toml for git repo https://github.com/Rene-Bohm/parser written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Rene-Bohm/parser on toolchain c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Rene-Bohm/parser 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" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07614deb4edaca3e94f1d604c953ce4bea59e8530600c152dc055fde3ef0bb86 [INFO] running `Command { std: "docker" "start" "-a" "07614deb4edaca3e94f1d604c953ce4bea59e8530600c152dc055fde3ef0bb86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07614deb4edaca3e94f1d604c953ce4bea59e8530600c152dc055fde3ef0bb86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07614deb4edaca3e94f1d604c953ce4bea59e8530600c152dc055fde3ef0bb86", kill_on_drop: false }` [INFO] [stdout] 07614deb4edaca3e94f1d604c953ce4bea59e8530600c152dc055fde3ef0bb86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c88452648c5a41225208088b6b266c38d53153fcb197b8414b4c6b8de27d4e75 [INFO] running `Command { std: "docker" "start" "-a" "c88452648c5a41225208088b6b266c38d53153fcb197b8414b4c6b8de27d4e75", kill_on_drop: false }` [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `from` in this scope [INFO] [stdout] --> src/rules/grammar.rs:301:31 [INFO] [stdout] | [INFO] [stdout] 301 | input.replace(from, to) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `to` in this scope [INFO] [stdout] --> src/rules/grammar.rs:301:37 [INFO] [stdout] | [INFO] [stdout] 301 | input.replace(from, to) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grammar::*` [INFO] [stdout] --> src/rules/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use grammar::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `from` in this scope [INFO] [stdout] --> src/rules/grammar.rs:301:31 [INFO] [stdout] | [INFO] [stdout] 301 | input.replace(from, to) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `to` in this scope [INFO] [stdout] --> src/rules/grammar.rs:301:37 [INFO] [stdout] | [INFO] [stdout] 301 | input.replace(from, to) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `alphabet_from_vec` [INFO] [stdout] --> src/rules/grammar.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | macro_rules! alphabet_from_vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grammar::*` [INFO] [stdout] --> src/rules/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use grammar::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/grammar.rs:299:16 [INFO] [stdout] | [INFO] [stdout] 299 | if key.word = chara.to_string(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `()` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to compare for equality [INFO] [stdout] | [INFO] [stdout] 299 | if key.word == chara.to_string(){ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/grammar.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 299 | / if key.word = chara.to_string(){ [INFO] [stdout] 300 | | [INFO] [stdout] 301 | | input.replace(from, to) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `String` [INFO] [stdout] 302 | | [INFO] [stdout] 303 | | } [INFO] [stdout] | |_____________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 301 | input.replace(from, to); [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 303 | }; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 301 | return input.replace(from, to); [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/grammar.rs:299:16 [INFO] [stdout] | [INFO] [stdout] 299 | if key.word = chara.to_string(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `()` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to compare for equality [INFO] [stdout] | [INFO] [stdout] 299 | if key.word == chara.to_string(){ [INFO] [stdout] | + [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/grammar.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 299 | / if key.word = chara.to_string(){ [INFO] [stdout] 300 | | [INFO] [stdout] 301 | | input.replace(from, to) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `String` [INFO] [stdout] 302 | | [INFO] [stdout] 303 | | } [INFO] [stdout] | |_____________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 301 | input.replace(from, to); [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 303 | }; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 301 | return input.replace(from, to); [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parser` (lib test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `parser` (lib) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c88452648c5a41225208088b6b266c38d53153fcb197b8414b4c6b8de27d4e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c88452648c5a41225208088b6b266c38d53153fcb197b8414b4c6b8de27d4e75", kill_on_drop: false }` [INFO] [stdout] c88452648c5a41225208088b6b266c38d53153fcb197b8414b4c6b8de27d4e75