[INFO] fetching crate ban 0.60.1... [INFO] checking ban-0.60.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate ban 0.60.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate ban 0.60.1 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 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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [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] Downloading crates ... [INFO] [stderr] Downloaded morel v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f9aa563f3241559e632cde8f4a1c8e6f41d4beb9185e41c65bef3b29a324ccb1 [INFO] running `Command { std: "docker" "start" "-a" "f9aa563f3241559e632cde8f4a1c8e6f41d4beb9185e41c65bef3b29a324ccb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9aa563f3241559e632cde8f4a1c8e6f41d4beb9185e41c65bef3b29a324ccb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9aa563f3241559e632cde8f4a1c8e6f41d4beb9185e41c65bef3b29a324ccb1", kill_on_drop: false }` [INFO] [stdout] f9aa563f3241559e632cde8f4a1c8e6f41d4beb9185e41c65bef3b29a324ccb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5baff71c355b64f3458d7681c9eda57ae742fb0d39ac0e14f039f84884d51a3f [INFO] running `Command { std: "docker" "start" "-a" "5baff71c355b64f3458d7681c9eda57ae742fb0d39ac0e14f039f84884d51a3f", kill_on_drop: false }` [INFO] [stderr] Checking morel v0.3.0 [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 0.91s [INFO] running `Command { std: "docker" "inspect" "5baff71c355b64f3458d7681c9eda57ae742fb0d39ac0e14f039f84884d51a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5baff71c355b64f3458d7681c9eda57ae742fb0d39ac0e14f039f84884d51a3f", kill_on_drop: false }` [INFO] [stdout] 5baff71c355b64f3458d7681c9eda57ae742fb0d39ac0e14f039f84884d51a3f