[INFO] fetching crate ban 0.60.1... [INFO] checking ban-0.60.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate ban 0.60.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate ban 0.60.1 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ban 0.60.1 [INFO] finished tweaking crates.io crate ban 0.60.1 [INFO] tweaked toml for crates.io crate ban 0.60.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd1d687ae40771385045ab405f235bc24be65a734b4338c0505cf226d76cb0de [INFO] running `Command { std: "docker" "start" "-a" "dd1d687ae40771385045ab405f235bc24be65a734b4338c0505cf226d76cb0de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd1d687ae40771385045ab405f235bc24be65a734b4338c0505cf226d76cb0de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd1d687ae40771385045ab405f235bc24be65a734b4338c0505cf226d76cb0de", kill_on_drop: false }` [INFO] [stdout] dd1d687ae40771385045ab405f235bc24be65a734b4338c0505cf226d76cb0de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cdc25b6d96c31002ba93f856bb2c9c76741d5a52da41f4c23edb1f7729e2695 [INFO] running `Command { std: "docker" "start" "-a" "7cdc25b6d96c31002ba93f856bb2c9c76741d5a52da41f4c23edb1f7729e2695", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking morel v0.3.0 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking ban v0.60.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `fmt::Write`, and `fs::File` [INFO] [stdout] --> src/compile/lex.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | fmt::Write, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 405 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 406 | io::{BufRead, BufReader}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Operator` [INFO] [stdout] --> src/compile/lex.rs:412:22 [INFO] [stdout] | [INFO] [stdout] 412 | Keyword, Operator, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/render.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | _ => unreachable!("parser must catch invalid top level tree"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/render.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 116 | Tree::Raw(ra) => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 120 | Tree::Output(ou) => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 124 | Tree::If(i) => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 127 | Tree::For(fo) => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 139 | _ => unreachable!("parser must catch invalid top level tree"), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `region` is never read [INFO] [stdout] --> src/compile/parse/tree.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub region: Region, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Clone` and `Debug`, 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 `region` is never read [INFO] [stdout] --> src/compile/parse/tree.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Extends { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub region: Region, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Extends` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `region` is never read [INFO] [stdout] --> src/compile/parse/tree.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct Output { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 159 | pub expression: Expression, [INFO] [stdout] 160 | pub region: Region, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Output` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `region` is never read [INFO] [stdout] --> src/compile/parse/tree.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct Mount { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 303 | pub region: Region, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mount` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `region` is never read [INFO] [stdout] --> src/compile/parse/tree.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 329 | pub struct If { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 339 | pub region: Region, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `If` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `region` is never read [INFO] [stdout] --> src/compile/parse/tree.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 344 | pub struct For { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 352 | pub region: Region, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `For` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `region` is never read [INFO] [stdout] --> src/compile/parse/tree.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 366 | pub struct KeyValue { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 373 | pub region: Region, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/render.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | _ => unreachable!("parser must catch invalid top level tree"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/render.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 116 | Tree::Raw(ra) => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 120 | Tree::Output(ou) => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 124 | Tree::If(i) => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 127 | Tree::For(fo) => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 139 | _ => unreachable!("parser must catch invalid top level tree"), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `region` is never read [INFO] [stdout] --> src/compile/parse/tree.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub region: Region, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Clone` and `Debug`, 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 `region` is never read [INFO] [stdout] --> src/compile/parse/tree.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Extends { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub region: Region, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Extends` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `region` is never read [INFO] [stdout] --> src/compile/parse/tree.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct Output { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 159 | pub expression: Expression, [INFO] [stdout] 160 | pub region: Region, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Output` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `region` is never read [INFO] [stdout] --> src/compile/parse/tree.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct Mount { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 303 | pub region: Region, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mount` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `region` is never read [INFO] [stdout] --> src/compile/parse/tree.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 329 | pub struct If { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 339 | pub region: Region, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `If` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `region` is never read [INFO] [stdout] --> src/compile/parse/tree.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 344 | pub struct For { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 352 | pub region: Region, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `For` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.93s [INFO] running `Command { std: "docker" "inspect" "7cdc25b6d96c31002ba93f856bb2c9c76741d5a52da41f4c23edb1f7729e2695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cdc25b6d96c31002ba93f856bb2c9c76741d5a52da41f4c23edb1f7729e2695", kill_on_drop: false }` [INFO] [stdout] 7cdc25b6d96c31002ba93f856bb2c9c76741d5a52da41f4c23edb1f7729e2695