[INFO] cloning repository https://github.com/jakob753951/bnf_parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jakob753951/bnf_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakob753951%2Fbnf_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakob753951%2Fbnf_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9ca6f703bb20006735f71898785ffa015f33c9f [INFO] checking jakob753951/bnf_parser against try#2b43d8e161cfe46fae25518efb124c3c1d0fa392 for pr-145604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakob753951%2Fbnf_parser" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jakob753951/bnf_parser [INFO] finished tweaking git repo https://github.com/jakob753951/bnf_parser [INFO] tweaked toml for git repo https://github.com/jakob753951/bnf_parser written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jakob753951/bnf_parser on toolchain 2b43d8e161cfe46fae25518efb124c3c1d0fa392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jakob753951/bnf_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" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 806798a4c65fc3669b3053826fc4bb6cf2867520fd999013c372e8bfd051cd55 [INFO] running `Command { std: "docker" "start" "-a" "806798a4c65fc3669b3053826fc4bb6cf2867520fd999013c372e8bfd051cd55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "806798a4c65fc3669b3053826fc4bb6cf2867520fd999013c372e8bfd051cd55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "806798a4c65fc3669b3053826fc4bb6cf2867520fd999013c372e8bfd051cd55", kill_on_drop: false }` [INFO] [stdout] 806798a4c65fc3669b3053826fc4bb6cf2867520fd999013c372e8bfd051cd55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f84da0e44ab952173a794adaf7fc0cd5e4ae5005bdfd379a04895b7237567687 [INFO] running `Command { std: "docker" "start" "-a" "f84da0e44ab952173a794adaf7fc0cd5e4ae5005bdfd379a04895b7237567687", kill_on_drop: false }` [INFO] [stderr] Checking bnf_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `rule_names` [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let rule_names = rules_strings [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rule_names` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rules` is never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct BNF { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 26 | rules: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BNF` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expressions` is never read [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct Rule { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 59 | name: String, [INFO] [stdout] 60 | expressions: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | ChainedExpression(Vec), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 96 - ChainedExpression(Vec), [INFO] [stdout] 96 + ChainedExpression(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | Rule(Rule), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 97 - Rule(Rule), [INFO] [stdout] 97 + Rule(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 98 - String(String), [INFO] [stdout] 98 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:87:52 [INFO] [stdout] | [INFO] [stdout] 87 | .ok_or(ParseError::NoPatternMatch)? [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 88 | | .clone() [INFO] [stdout] | |________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | .trim() [INFO] [stdout] | ____________________^ [INFO] [stdout] 118 | | .clone() [INFO] [stdout] | |____________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rule_names` [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let rule_names = rules_strings [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rule_names` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not parse/generate dep info at: /opt/rustwide/target/debug/deps/bnf_parser-366041abb3a7cdd7.d [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to write `/opt/rustwide/target/debug/.fingerprint/bnf_parser-366041abb3a7cdd7/dep-test-bin-bnf_parser` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bnf_parser` (bin "bnf_parser"); 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/2b43d8e161cfe46fae25518efb124c3c1d0fa392/bin/rustc --crate-name bnf_parser --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=c007a29bedc77be2 -C extra-filename=-5b38a396b39d11c6 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 0) [INFO] running `Command { std: "docker" "inspect" "f84da0e44ab952173a794adaf7fc0cd5e4ae5005bdfd379a04895b7237567687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f84da0e44ab952173a794adaf7fc0cd5e4ae5005bdfd379a04895b7237567687", kill_on_drop: false }` [INFO] [stdout] f84da0e44ab952173a794adaf7fc0cd5e4ae5005bdfd379a04895b7237567687