[INFO] fetching crate ban 0.60.1... [INFO] testing ban-0.60.1 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate ban 0.60.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate ban 0.60.1 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "generate-lockfile" "--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] 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90a2ea4a96b2158dbe7ca6456f04f1c80ec1f19ecc72acb31cf6c0995108130a [INFO] running `Command { std: "docker" "start" "-a" "90a2ea4a96b2158dbe7ca6456f04f1c80ec1f19ecc72acb31cf6c0995108130a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90a2ea4a96b2158dbe7ca6456f04f1c80ec1f19ecc72acb31cf6c0995108130a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90a2ea4a96b2158dbe7ca6456f04f1c80ec1f19ecc72acb31cf6c0995108130a", kill_on_drop: false }` [INFO] [stdout] 90a2ea4a96b2158dbe7ca6456f04f1c80ec1f19ecc72acb31cf6c0995108130a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71ee0576b95d9afda80750bb53eca5aacc66f58c156955c31cc111790d84ff23 [INFO] running `Command { std: "docker" "start" "-a" "71ee0576b95d9afda80750bb53eca5aacc66f58c156955c31cc111790d84ff23", kill_on_drop: false }` [INFO] [stderr] Compiling morel v0.3.0 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling ban v0.60.1 (/opt/rustwide/workdir) [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "71ee0576b95d9afda80750bb53eca5aacc66f58c156955c31cc111790d84ff23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71ee0576b95d9afda80750bb53eca5aacc66f58c156955c31cc111790d84ff23", kill_on_drop: false }` [INFO] [stdout] 71ee0576b95d9afda80750bb53eca5aacc66f58c156955c31cc111790d84ff23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5dee06235847d0a2e7704b399405e900cf34bc4b332daffae61f8cea9dcb43f5 [INFO] running `Command { std: "docker" "start" "-a" "5dee06235847d0a2e7704b399405e900cf34bc4b332daffae61f8cea9dcb43f5", kill_on_drop: false }` [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] [stderr] Compiling ban v0.60.1 (/opt/rustwide/workdir) [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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "5dee06235847d0a2e7704b399405e900cf34bc4b332daffae61f8cea9dcb43f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dee06235847d0a2e7704b399405e900cf34bc4b332daffae61f8cea9dcb43f5", kill_on_drop: false }` [INFO] [stdout] 5dee06235847d0a2e7704b399405e900cf34bc4b332daffae61f8cea9dcb43f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 88ba34a70f52e99b0fec4cc0848c3dda3286ca9f2da398acc6e8a12a048a8486 [INFO] running `Command { std: "docker" "start" "-a" "88ba34a70f52e99b0fec4cc0848c3dda3286ca9f2da398acc6e8a12a048a8486", kill_on_drop: false }` [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/render.rs:139:17 [INFO] [stderr] | [INFO] [stderr] 139 | _ => unreachable!("parser must catch invalid top level tree"), [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/render.rs:139:17 [INFO] [stderr] | [INFO] [stderr] 116 | Tree::Raw(ra) => { [INFO] [stderr] | ------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 120 | Tree::Output(ou) => { [INFO] [stderr] | ---------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 124 | Tree::If(i) => { [INFO] [stderr] | ----------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 127 | Tree::For(fo) => { [INFO] [stderr] | ------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 139 | _ => unreachable!("parser must catch invalid top level tree"), [INFO] [stderr] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `region` is never read [INFO] [stderr] --> src/compile/parse/tree.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct Block { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 35 | pub region: Region, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `region` is never read [INFO] [stderr] --> src/compile/parse/tree.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct Extends { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 45 | pub region: Region, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Extends` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `region` is never read [INFO] [stderr] --> src/compile/parse/tree.rs:160:9 [INFO] [stderr] | [INFO] [stderr] 158 | pub struct Output { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 159 | pub expression: Expression, [INFO] [stderr] 160 | pub region: Region, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Output` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `region` is never read [INFO] [stderr] --> src/compile/parse/tree.rs:303:9 [INFO] [stderr] | [INFO] [stderr] 298 | pub struct Mount { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 303 | pub region: Region, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Mount` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `region` is never read [INFO] [stderr] --> src/compile/parse/tree.rs:339:9 [INFO] [stderr] | [INFO] [stderr] 329 | pub struct If { [INFO] [stderr] | -- field in this struct [INFO] [stderr] ... [INFO] [stderr] 339 | pub region: Region, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `If` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `region` is never read [INFO] [stderr] --> src/compile/parse/tree.rs:352:9 [INFO] [stderr] | [INFO] [stderr] 344 | pub struct For { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 352 | pub region: Region, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `For` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `region` is never read [INFO] [stderr] --> src/compile/parse/tree.rs:373:9 [INFO] [stderr] | [INFO] [stderr] 366 | pub struct KeyValue { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 373 | pub region: Region, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `KeyValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `ban` (lib) generated 8 warnings [INFO] [stderr] warning: unused imports: `BufRead`, `BufReader`, `fmt::Write`, and `fs::File` [INFO] [stderr] --> src/compile/lex.rs:404:9 [INFO] [stderr] | [INFO] [stderr] 404 | fmt::Write, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 405 | fs::File, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 406 | io::{BufRead, BufReader}, [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Operator` [INFO] [stdout] [INFO] [stderr] --> src/compile/lex.rs:412:22 [INFO] [stdout] running 60 tests [INFO] [stderr] | [INFO] [stderr] 412 | Keyword, Operator, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ban` (lib test) generated 9 warnings (7 duplicates) (run `cargo fix --lib -p ban --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ban-c4c05a0f62adcf3a) [INFO] [stdout] test compile::lex::tests::test_lex_default_match_trim ... ok [INFO] [stdout] test compile::lex::tests::test_lex_digit ... ok [INFO] [stdout] test compile::parse::tests::test_parse_negative_num_err ... ok [INFO] [stdout] test compile::parse::tests::test_parse_set_pair ... ok [INFO] [stdout] test compile::lex::tests::test_lex_ident ... ok [INFO] [stdout] test compile::lex::tests::test_lex_default_match_no_trim ... ok [INFO] [stdout] test compile::lex::tests::test_lex_string ... ok [INFO] [stdout] test compile::parse::tests::test_parser_lexer_integration ... ok [INFO] [stdout] test compile::lex::tests::test_error_multiple_opening_tags ... ok [INFO] [stdout] test compile::lex::tests::test_lex_state_change ... ok [INFO] [stdout] test engine::tests::test_add_fluent ... ok [INFO] [stdout] test compile::parse::tests::test_parse_tree_missing_base ... ok [INFO] [stdout] test compile::lex::tests::test_lex_keyword ... ok [INFO] [stdout] test compile::parse::tests::test_parse_expression_with_call ... ok [INFO] [stdout] test compile::parse::tests::test_peek_multiple ... ok [INFO] [stdout] test engine::tests::test_add_overwrite ... ok [INFO] [stdout] test compile::lex::tests::test_lex_default_no_match ... ok [INFO] [stdout] test region::tests::test_combine ... ok [INFO] [stdout] test region::tests::test_literal ... ok [INFO] [stdout] test compile::parse::tests::test_parse_block ... ok [INFO] [stdout] test engine::tests::test_add ... ok [INFO] [stdout] test engine::tests::test_add_duplicate ... ok [INFO] [stdout] test engine::tests::test_add_existing ... ok [INFO] [stdout] test region::tests::test_is_neighbor ... ok [INFO] [stdout] test compile::parse::tests::test_parse_tree_bad_operator ... ok [INFO] [stdout] test render::compare::tests::incompatible_operator ... ok [INFO] [stdout] test compile::parse::tests::test_parse_mount ... ok [INFO] [stdout] test compile::parse::tests::test_parse_tree_valid ... ok [INFO] [stdout] test compile::lex::tests::test_lex_string_escape ... ok [INFO] [stdout] test render::compare::tests::test_truthy_divide ... ok [INFO] [stdout] test render::compare::tests::test_truthy_greater ... ok [INFO] [stdout] test render::compare::tests::incompatible_types ... ok [INFO] [stdout] test render::compare::tests::test_truthy_boolean ... ok [INFO] [stdout] test render::compare::tests::test_truthy_equal ... ok [INFO] [stdout] test render::compare::tests::test_truthy_add ... ok [INFO] [stdout] test render::compare::tests::test_truthy_greater_equal ... ok [INFO] [stdout] test render::pipe::tests::test_write_value_object ... ok [INFO] [stdout] test render::compare::tests::test_truthy_lesser ... ok [INFO] [stdout] test render::store::tests::test_store_insert_fluent ... ok [INFO] [stdout] test render::compare::tests::test_truthy_subtract ... ok [INFO] [stdout] test render::tests::test_evaluate_arguments_increment ... ok [INFO] [stdout] test render::compare::tests::test_truthy_lesser_equal ... ok [INFO] [stdout] test render::compare::tests::test_truthy_multiply ... ok [INFO] [stdout] test render::tests::test_let_global_scope_if ... ok [INFO] [stdout] test render::store::tests::test_store_insert ... ok [INFO] [stdout] test render::tests::test_collect_blocks ... ok [INFO] [stdout] test render::compare::tests::test_truthy_not_equal ... ok [INFO] [stdout] test render::store::tests::test_shadow_insert_and_get ... ok [INFO] [stdout] test render::pipe::tests::test_write_value_array ... ok [INFO] [stdout] test render::pipe::tests::test_write_value_string ... ok [INFO] [stdout] test render::tests::test_render_for_array ... ok [INFO] [stdout] test render::tests::test_render_for_object_set ... ok [INFO] [stdout] test render::tests::test_render_output_whitespace ... ok [INFO] [stdout] test render::tests::test_render_if ... ok [INFO] [stdout] test render::tests::test_let_pop_scoped ... ok [INFO] [stdout] test render::tests::test_render_nested_for ... ok [INFO] [stdout] test render::tests::test_render_raw ... ok [INFO] [stdout] test render::tests::test_render_output ... ok [INFO] [stdout] test region::tests::test_out_of_bounds_literal - should panic ... ok [INFO] [stdout] test render::store::tests::test_shadow_pop_empty - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 60 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests ban [INFO] [stderr] error: DefId(0:0 ~ ban[356b]) has more than five doctests [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name ban --test src/lib.rs --test-run-directory /opt/rustwide/workdir -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern ban=/opt/rustwide/target/debug/deps/libban-2a14f3cbf59e0a21.rlib --extern morel=/opt/rustwide/target/debug/deps/libmorel-6623233f280ca75d.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-6971e85c7fd949fe.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-9c490609138a514f.rlib --extern unicode_ident=/opt/rustwide/target/debug/deps/libunicode_ident-b604478e48b59488.rlib --extern unicode_width=/opt/rustwide/target/debug/deps/libunicode_width-08b963676a6677c5.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' --cap-lints=forbid --error-format human` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "88ba34a70f52e99b0fec4cc0848c3dda3286ca9f2da398acc6e8a12a048a8486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88ba34a70f52e99b0fec4cc0848c3dda3286ca9f2da398acc6e8a12a048a8486", kill_on_drop: false }` [INFO] [stdout] 88ba34a70f52e99b0fec4cc0848c3dda3286ca9f2da398acc6e8a12a048a8486