[INFO] cloning repository https://github.com/kumojan/rnc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kumojan/rnc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkumojan%2Frnc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkumojan%2Frnc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c49956d8f8ce287060aa05db179b2db24036dfe8 [INFO] checking kumojan/rnc against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkumojan%2Frnc" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kumojan/rnc on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kumojan/rnc [INFO] finished tweaking git repo https://github.com/kumojan/rnc [INFO] tweaked toml for git repo https://github.com/kumojan/rnc written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kumojan/rnc 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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b696939b532c7f89c914b7667ddf8a3a717021e68fadb0d1cc7b710cd5be043 [INFO] running `Command { std: "docker" "start" "-a" "4b696939b532c7f89c914b7667ddf8a3a717021e68fadb0d1cc7b710cd5be043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b696939b532c7f89c914b7667ddf8a3a717021e68fadb0d1cc7b710cd5be043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b696939b532c7f89c914b7667ddf8a3a717021e68fadb0d1cc7b710cd5be043", kill_on_drop: false }` [INFO] [stdout] 4b696939b532c7f89c914b7667ddf8a3a717021e68fadb0d1cc7b710cd5be043 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f9fc893e3de022c1e64981a15179357013936aaad0885753a93b74fa78fd694 [INFO] running `Command { std: "docker" "start" "-a" "4f9fc893e3de022c1e64981a15179357013936aaad0885753a93b74fa78fd694", kill_on_drop: false }` [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking rnc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tokenize.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | for mut tk in list.iter_mut() { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tokenize.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | for mut tk in list.iter_mut() { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `msg` is never read [INFO] [stdout] --> src/ctype.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TypeError { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pub msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` 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 `is_extern` is never read [INFO] [stdout] --> src/parse/node.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Var { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub is_extern: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/parse/node.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 142 | pub ty: TypeRef, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | Err(f) => panic!(f.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 24 | Err(f) => panic!("{}", f.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `msg` is never read [INFO] [stdout] --> src/ctype.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TypeError { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pub msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` 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 `is_extern` is never read [INFO] [stdout] --> src/parse/node.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Var { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub is_extern: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/parse/node.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 142 | pub ty: TypeRef, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | Err(f) => panic!(f.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 24 | Err(f) => panic!("{}", f.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "4f9fc893e3de022c1e64981a15179357013936aaad0885753a93b74fa78fd694", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f9fc893e3de022c1e64981a15179357013936aaad0885753a93b74fa78fd694", kill_on_drop: false }` [INFO] [stdout] 4f9fc893e3de022c1e64981a15179357013936aaad0885753a93b74fa78fd694