[INFO] cloning repository https://github.com/aisamanra/sard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aisamanra/sard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faisamanra%2Fsard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faisamanra%2Fsard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 505c04472a05f94b55ba1f3a343f25872bd85942 [INFO] checking aisamanra/sard against try#e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faisamanra%2Fsard" "/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/aisamanra/sard [INFO] finished tweaking git repo https://github.com/aisamanra/sard [INFO] tweaked toml for git repo https://github.com/aisamanra/sard written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aisamanra/sard on toolchain e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aisamanra/sard 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" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lib-ruby-parser v3.0.4 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6c567aa66c2a3fd9dea61c886133eadcc29077cd9c389bc7378ae8e3b91badc [INFO] running `Command { std: "docker" "start" "-a" "d6c567aa66c2a3fd9dea61c886133eadcc29077cd9c389bc7378ae8e3b91badc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6c567aa66c2a3fd9dea61c886133eadcc29077cd9c389bc7378ae8e3b91badc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c567aa66c2a3fd9dea61c886133eadcc29077cd9c389bc7378ae8e3b91badc", kill_on_drop: false }` [INFO] [stdout] d6c567aa66c2a3fd9dea61c886133eadcc29077cd9c389bc7378ae8e3b91badc [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bcd46e8a31167ed816b3b0978b34ad3a93f168838c90d9a27650bfe14a21722 [INFO] running `Command { std: "docker" "start" "-a" "1bcd46e8a31167ed816b3b0978b34ad3a93f168838c90d9a27650bfe14a21722", kill_on_drop: false }` [INFO] [stderr] Checking lib-ruby-parser v3.0.4 [INFO] [stderr] Checking sard v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/types.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | Def(&'a p::nodes::Def, Option>), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NamedItem` 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] 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] 13 - Def(&'a p::nodes::Def, Option>), [INFO] [stdout] 13 + Def(&'a p::nodes::Def, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/types.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | Defs(&'a p::nodes::Defs, Option>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NamedItem` has a derived impl for the trait `Debug`, but this is 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] 15 - Defs(&'a p::nodes::Defs, Option>), [INFO] [stdout] 15 + Defs(&'a p::nodes::Defs, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `3` are never read [INFO] [stdout] --> src/types.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | Attr( [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 19 | AttrType, [INFO] [stdout] 20 | &'a p::nodes::Send, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | &'a p::nodes::Sym, [INFO] [stdout] 22 | Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NamedItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 20 ~ (), [INFO] [stdout] 21 | &'a p::nodes::Sym, [INFO] [stdout] 22 ~ (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `3` are never read [INFO] [stdout] --> src/types.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | Prop(PropType, &'a p::nodes::Send, &'a p::nodes::Sym, &'a p::Node), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NamedItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 26 - Prop(PropType, &'a p::nodes::Send, &'a p::nodes::Sym, &'a p::Node), [INFO] [stdout] 26 + Prop(PropType, (), &'a p::nodes::Sym, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/types.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | Casgn(&'a p::nodes::Casgn, Option>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NamedItem` has a derived impl for the trait `Debug`, but this is 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] 28 - Casgn(&'a p::nodes::Casgn, Option>), [INFO] [stdout] 28 + Casgn(&'a p::nodes::Casgn, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node` is never read [INFO] [stdout] --> src/types.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct Type<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 163 | node: &'a p::Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/types.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | Def(&'a p::nodes::Def, Option>), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NamedItem` 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] 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] 13 - Def(&'a p::nodes::Def, Option>), [INFO] [stdout] 13 + Def(&'a p::nodes::Def, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/types.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | Defs(&'a p::nodes::Defs, Option>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NamedItem` has a derived impl for the trait `Debug`, but this is 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] 15 - Defs(&'a p::nodes::Defs, Option>), [INFO] [stdout] 15 + Defs(&'a p::nodes::Defs, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `3` are never read [INFO] [stdout] --> src/types.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | Attr( [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 19 | AttrType, [INFO] [stdout] 20 | &'a p::nodes::Send, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | &'a p::nodes::Sym, [INFO] [stdout] 22 | Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NamedItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 20 ~ (), [INFO] [stdout] 21 | &'a p::nodes::Sym, [INFO] [stdout] 22 ~ (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `3` are never read [INFO] [stdout] --> src/types.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | Prop(PropType, &'a p::nodes::Send, &'a p::nodes::Sym, &'a p::Node), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NamedItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 26 - Prop(PropType, &'a p::nodes::Send, &'a p::nodes::Sym, &'a p::Node), [INFO] [stdout] 26 + Prop(PropType, (), &'a p::nodes::Sym, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/types.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | Casgn(&'a p::nodes::Casgn, Option>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NamedItem` has a derived impl for the trait `Debug`, but this is 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] 28 - Casgn(&'a p::nodes::Casgn, Option>), [INFO] [stdout] 28 + Casgn(&'a p::nodes::Casgn, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node` is never read [INFO] [stdout] --> src/types.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct Type<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 163 | node: &'a p::Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.46s [INFO] running `Command { std: "docker" "inspect" "1bcd46e8a31167ed816b3b0978b34ad3a93f168838c90d9a27650bfe14a21722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bcd46e8a31167ed816b3b0978b34ad3a93f168838c90d9a27650bfe14a21722", kill_on_drop: false }` [INFO] [stdout] 1bcd46e8a31167ed816b3b0978b34ad3a93f168838c90d9a27650bfe14a21722