[INFO] cloning repository https://github.com/Waqar144/cc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Waqar144/cc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWaqar144%2Fcc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWaqar144%2Fcc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e054065666023a048b57e6a0ecab2b8a5161458a [INFO] checking Waqar144/cc against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWaqar144%2Fcc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Waqar144/cc [INFO] finished tweaking git repo https://github.com/Waqar144/cc [INFO] tweaked toml for git repo https://github.com/Waqar144/cc written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Waqar144/cc on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Waqar144/cc 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 485cef1d10f24b2111ba848b339faa85d9158071625e4fe4df9e7af96287aaa2 [INFO] running `Command { std: "docker" "start" "-a" "485cef1d10f24b2111ba848b339faa85d9158071625e4fe4df9e7af96287aaa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "485cef1d10f24b2111ba848b339faa85d9158071625e4fe4df9e7af96287aaa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "485cef1d10f24b2111ba848b339faa85d9158071625e4fe4df9e7af96287aaa2", kill_on_drop: false }` [INFO] [stdout] 485cef1d10f24b2111ba848b339faa85d9158071625e4fe4df9e7af96287aaa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28d0d80d439091622129fdd363e3423660dbf5b72e06eab9e3f90abf4470e212 [INFO] running `Command { std: "docker" "start" "-a" "28d0d80d439091622129fdd363e3423660dbf5b72e06eab9e3f90abf4470e212", kill_on_drop: false }` [INFO] [stderr] Checking cc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/node.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` 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 `array_len` is never read [INFO] [stdout] --> src/ty.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 52 | Array { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] ... [INFO] [stdout] 55 | array_len: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:1936:18 [INFO] [stdout] | [INFO] [stdout] 1936 | fn text<'a>(&'a self, token: &'a Token) -> &str { [INFO] [stdout] | ^^ ^^ ---- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1936 | fn text<'a>(&'a self, token: &'a Token) -> &'a str { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/token.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn text<'a>(&'a self, source: &'a str) -> &str { [INFO] [stdout] | ^^ ^^ ---- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 92 | pub fn text<'a>(&'a self, source: &'a str) -> &'a str { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/node.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` 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 `array_len` is never read [INFO] [stdout] --> src/ty.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 52 | Array { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] ... [INFO] [stdout] 55 | array_len: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:1936:18 [INFO] [stdout] | [INFO] [stdout] 1936 | fn text<'a>(&'a self, token: &'a Token) -> &str { [INFO] [stdout] | ^^ ^^ ---- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1936 | fn text<'a>(&'a self, token: &'a Token) -> &'a str { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/token.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn text<'a>(&'a self, source: &'a str) -> &str { [INFO] [stdout] | ^^ ^^ ---- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 92 | pub fn text<'a>(&'a self, source: &'a str) -> &'a str { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "28d0d80d439091622129fdd363e3423660dbf5b72e06eab9e3f90abf4470e212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28d0d80d439091622129fdd363e3423660dbf5b72e06eab9e3f90abf4470e212", kill_on_drop: false }` [INFO] [stdout] 28d0d80d439091622129fdd363e3423660dbf5b72e06eab9e3f90abf4470e212