[INFO] cloning repository https://github.com/danzhu/rust-fin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danzhu/rust-fin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanzhu%2Frust-fin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanzhu%2Frust-fin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 523dcb02f1cc5196560acaa714cde4f281a37fed [INFO] checking danzhu/rust-fin/523dcb02f1cc5196560acaa714cde4f281a37fed against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanzhu%2Frust-fin" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danzhu/rust-fin on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danzhu/rust-fin [INFO] finished tweaking git repo https://github.com/danzhu/rust-fin [INFO] tweaked toml for git repo https://github.com/danzhu/rust-fin written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/danzhu/rust-fin 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74c410361267af8a5cc5655bbd7b750ca40753aaf1c0efd8acc95ced836cfbc4 [INFO] running `Command { std: "docker" "start" "-a" "74c410361267af8a5cc5655bbd7b750ca40753aaf1c0efd8acc95ced836cfbc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74c410361267af8a5cc5655bbd7b750ca40753aaf1c0efd8acc95ced836cfbc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c410361267af8a5cc5655bbd7b750ca40753aaf1c0efd8acc95ced836cfbc4", kill_on_drop: false }` [INFO] [stdout] 74c410361267af8a5cc5655bbd7b750ca40753aaf1c0efd8acc95ced836cfbc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f9ca79485f26a8900ef82fc3400b337b526e09671c897c87b5bd32037e35780 [INFO] running `Command { std: "docker" "start" "-a" "7f9ca79485f26a8900ef82fc3400b337b526e09671c897c87b5bd32037e35780", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking fin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast_gen.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut def = match ctx.sym_table[&tp.name] { [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/ast_gen.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let mut res = Resolver { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast_gen.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut def = match ctx.sym_table[&func.sig.name] { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast_gen.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut def = match ctx.sym_table[&tp.name] { [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/ast_gen.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let mut res = Resolver { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast_gen.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut def = match ctx.sym_table[&func.sig.name] { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/code_gen.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let mut bb = self.def.add_block(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/code_gen.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let mut bb = self.def.add_block(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct BindDef { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindDef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ptree.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct FuncNode { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ItemRef` is never constructed [INFO] [stdout] --> src/ptree.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct ItemRef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemRef` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ptree.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct MemberRef { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 143 | pub name: Name, [INFO] [stdout] 144 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemberRef` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ptree.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct BindRef { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 149 | pub path: Path, [INFO] [stdout] 150 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindRef` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast_gen.rs:562:13 [INFO] [stdout] | [INFO] [stdout] 562 | Context(&'a Context), [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 562 | Context(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct BindDef { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindDef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ptree.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct FuncNode { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ItemRef` is never constructed [INFO] [stdout] --> src/ptree.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct ItemRef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemRef` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ptree.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct MemberRef { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 143 | pub name: Name, [INFO] [stdout] 144 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemberRef` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ptree.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct BindRef { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 149 | pub path: Path, [INFO] [stdout] 150 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindRef` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast_gen.rs:562:13 [INFO] [stdout] | [INFO] [stdout] 562 | Context(&'a Context), [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 562 | Context(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "7f9ca79485f26a8900ef82fc3400b337b526e09671c897c87b5bd32037e35780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f9ca79485f26a8900ef82fc3400b337b526e09671c897c87b5bd32037e35780", kill_on_drop: false }` [INFO] [stdout] 7f9ca79485f26a8900ef82fc3400b337b526e09671c897c87b5bd32037e35780