[INFO] fetching crate flav-md-engine 0.1.0... [INFO] checking flav-md-engine-0.1.0 against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] extracting crate flav-md-engine 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate flav-md-engine 0.1.0 on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate flav-md-engine 0.1.0 [INFO] finished tweaking crates.io crate flav-md-engine 0.1.0 [INFO] tweaked toml for crates.io crate flav-md-engine 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 52 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding yansi v0.5.1 (latest: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e426669969ac693a5777253a8f34e2f04808eab63784232cf2e762031258fa8 [INFO] running `Command { std: "docker" "start" "-a" "6e426669969ac693a5777253a8f34e2f04808eab63784232cf2e762031258fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e426669969ac693a5777253a8f34e2f04808eab63784232cf2e762031258fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e426669969ac693a5777253a8f34e2f04808eab63784232cf2e762031258fa8", kill_on_drop: false }` [INFO] [stdout] 6e426669969ac693a5777253a8f34e2f04808eab63784232cf2e762031258fa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7085eb9fa6fe8a6bfebe13b107d2ab13f78ba96eb1d940d7e577cb4856e5cf23 [INFO] running `Command { std: "docker" "start" "-a" "7085eb9fa6fe8a6bfebe13b107d2ab13f78ba96eb1d940d7e577cb4856e5cf23", kill_on_drop: false }` [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking flav-md-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::lexer::pattern::list::list::ListPattern::SimpleList` [INFO] [stdout] --> src/lexer/lexer.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lexer::pattern::list::list::ListPattern::SimpleList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ElementNodes` and `PlainText` [INFO] [stdout] --> src/lexer/pattern/list.rs:126:51 [INFO] [stdout] | [INFO] [stdout] 126 | use crate::lexer::lexer::lexer::Content::{ElementNodes, PlainText}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::pattern::list::list::ListPattern::NumberList` [INFO] [stdout] --> src/lexer/pattern/list.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | use crate::lexer::pattern::list::list::ListPattern::NumberList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::pattern::list::list::ListPattern::SimpleList` [INFO] [stdout] --> src/lexer/lexer.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lexer::pattern::list::list::ListPattern::SimpleList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer/pattern/list.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let mut start_index = at; [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: method `is_head` is never used [INFO] [stdout] --> src/lexer/lexer.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 29 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_head(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ElementNode` is never constructed [INFO] [stdout] --> src/lexer/lexer.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Content { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 117 | PlainText { value: String }, [INFO] [stdout] 118 | ElementNode { value: ElementNode }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Content` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_string` is never used [INFO] [stdout] --> src/util/string.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn split_string(content: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer/pattern/list.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let mut start_index = at; [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: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/lexer/builder.rs:118:65 [INFO] [stdout] | [INFO] [stdout] 118 | ... let content = parse_nested_tag(value.borrow(), indent + 2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Vec` does not implement `Borrow`, so calling `borrow` on `&Vec` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 118 - let content = parse_nested_tag(value.borrow(), indent + 2); [INFO] [stdout] 118 + let content = parse_nested_tag(value, indent + 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_head` is never used [INFO] [stdout] --> src/lexer/lexer.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 29 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_head(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ElementNode` is never constructed [INFO] [stdout] --> src/lexer/lexer.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Content { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 117 | PlainText { value: String }, [INFO] [stdout] 118 | ElementNode { value: ElementNode }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Content` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/lexer/builder.rs:118:65 [INFO] [stdout] | [INFO] [stdout] 118 | ... let content = parse_nested_tag(value.borrow(), indent + 2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Vec` does not implement `Borrow`, so calling `borrow` on `&Vec` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 118 - let content = parse_nested_tag(value.borrow(), indent + 2); [INFO] [stdout] 118 + let content = parse_nested_tag(value, indent + 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "7085eb9fa6fe8a6bfebe13b107d2ab13f78ba96eb1d940d7e577cb4856e5cf23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7085eb9fa6fe8a6bfebe13b107d2ab13f78ba96eb1d940d7e577cb4856e5cf23", kill_on_drop: false }` [INFO] [stdout] 7085eb9fa6fe8a6bfebe13b107d2ab13f78ba96eb1d940d7e577cb4856e5cf23