[INFO] cloning repository https://github.com/LucDeCaf/markdown-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LucDeCaf/markdown-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucDeCaf%2Fmarkdown-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucDeCaf%2Fmarkdown-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c387f5623d65cbc32aef255df38eb45ba0a60ec [INFO] checking LucDeCaf/markdown-rs against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucDeCaf%2Fmarkdown-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LucDeCaf/markdown-rs [INFO] finished tweaking git repo https://github.com/LucDeCaf/markdown-rs [INFO] tweaked toml for git repo https://github.com/LucDeCaf/markdown-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LucDeCaf/markdown-rs on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LucDeCaf/markdown-rs 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" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ba97b571ddb9e65d6179b6a045e83dba333cd6a1ea823e0d66502d571504222 [INFO] running `Command { std: "docker" "start" "-a" "5ba97b571ddb9e65d6179b6a045e83dba333cd6a1ea823e0d66502d571504222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ba97b571ddb9e65d6179b6a045e83dba333cd6a1ea823e0d66502d571504222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ba97b571ddb9e65d6179b6a045e83dba333cd6a1ea823e0d66502d571504222", kill_on_drop: false }` [INFO] [stdout] 5ba97b571ddb9e65d6179b6a045e83dba333cd6a1ea823e0d66502d571504222 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5ead9973360dec26b34ab71173997cbfff29658b621d58b0e63cb893359d114 [INFO] running `Command { std: "docker" "start" "-a" "d5ead9973360dec26b34ab71173997cbfff29658b621d58b0e63cb893359d114", kill_on_drop: false }` [INFO] [stderr] Checking markdown v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let mut graph = Graph::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/main.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | for token in tokens {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | enum HTMLElement { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 14 | Document, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | Heading { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | OrderedList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | UnorderedList { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | ListItem, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | Paragraph, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | BlockQuote, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | Emphasis, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | Strong, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | CodeBlock { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | Text(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HTMLElement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `element`, `children`, and `open` are never read [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 40 | element: HTMLElement, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 41 | children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | open: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stack` and `root` are never read [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct Graph { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 47 | stack: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | root: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Graph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_root`, `add_node`, `get_node`, `get_node_mut`, and `last_open_index` are never used [INFO] [stdout] --> src/main.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Graph { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn set_root(&mut self, root: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn add_node(&mut self, node: Node) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn get_node(&self, index: Option) -> Option<&Node> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn get_node_mut(&mut self, index: Option) -> Option<&mut Node> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn last_open_index(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let mut graph = Graph::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/main.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | for token in tokens {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | enum HTMLElement { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 14 | Document, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | Heading { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | OrderedList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | UnorderedList { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | ListItem, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | Paragraph, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | BlockQuote, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | Emphasis, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | Strong, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | CodeBlock { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | Text(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HTMLElement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `element`, `children`, and `open` are never read [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 40 | element: HTMLElement, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 41 | children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | open: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stack` and `root` are never read [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct Graph { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 47 | stack: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | root: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Graph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_root`, `add_node`, `get_node`, `get_node_mut`, and `last_open_index` are never used [INFO] [stdout] --> src/main.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Graph { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn set_root(&mut self, root: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn add_node(&mut self, node: Node) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn get_node(&self, index: Option) -> Option<&Node> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn get_node_mut(&mut self, index: Option) -> Option<&mut Node> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn last_open_index(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "d5ead9973360dec26b34ab71173997cbfff29658b621d58b0e63cb893359d114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5ead9973360dec26b34ab71173997cbfff29658b621d58b0e63cb893359d114", kill_on_drop: false }` [INFO] [stdout] d5ead9973360dec26b34ab71173997cbfff29658b621d58b0e63cb893359d114