[INFO] cloning repository https://github.com/kingwingfly/Network-Diagram
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kingwingfly/Network-Diagram" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingwingfly%2FNetwork-Diagram", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingwingfly%2FNetwork-Diagram'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5c3e8aae61312249fade8a5bc81ed2fe6bcb7352
[INFO] checking kingwingfly/Network-Diagram against master#4b9792692fbb675174d4d2082e7c37b2bc930e71 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingwingfly%2FNetwork-Diagram" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kingwingfly/Network-Diagram
[INFO] finished tweaking git repo https://github.com/kingwingfly/Network-Diagram
[INFO] tweaked toml for git repo https://github.com/kingwingfly/Network-Diagram written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kingwingfly/Network-Diagram on toolchain 4b9792692fbb675174d4d2082e7c37b2bc930e71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kingwingfly/Network-Diagram 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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e74f37a4b6bf7cd0e2633664de3ff24a557744c50b4183ba290bb14a99e4de06
[INFO] running `Command { std: "docker" "start" "-a" "e74f37a4b6bf7cd0e2633664de3ff24a557744c50b4183ba290bb14a99e4de06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e74f37a4b6bf7cd0e2633664de3ff24a557744c50b4183ba290bb14a99e4de06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e74f37a4b6bf7cd0e2633664de3ff24a557744c50b4183ba290bb14a99e4de06", kill_on_drop: false }`
[INFO] [stdout] e74f37a4b6bf7cd0e2633664de3ff24a557744c50b4183ba290bb14a99e4de06
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e8464249a87b0cdb3d75a9e32b0480013c15fc84957e8856b300defe869e1dfa
[INFO] running `Command { std: "docker" "start" "-a" "e8464249a87b0cdb3d75a9e32b0480013c15fc84957e8856b300defe869e1dfa", kill_on_drop: false }`
[INFO] [stderr]     Checking network_diagram v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: static `ID` is never used
[INFO] [stdout]  --> src/activity_on_node.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | static mut ID: usize = 0;
[INFO] [stdout]   |            ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Edge` is never used
[INFO] [stdout]  --> src/activity_on_node.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | type Edge = Option<NonNull<Vec<NonNull<Node>>>>;
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/activity_on_node.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Node {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Moment` is never used
[INFO] [stdout]   --> src/activity_on_node.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 | enum Moment {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Cost` is never used
[INFO] [stdout]   --> src/activity_on_node.rs:31:6
[INFO] [stdout]    |
[INFO] [stdout] 31 | enum Cost {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_es`, `set_lf`, `add_next`, and `add_prev` are never used
[INFO] [stdout]   --> src/activity_on_node.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Node {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 37 |     fn new(cost: usize) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn set_es(&mut self, num: usize) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     fn set_lf(&mut self, num: usize) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     fn add_next(&mut self, next: &mut Node) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     fn add_prev(&mut self, prev: &mut Node) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Node` is never used
[INFO] [stdout]  --> src/double_code_arrow_diagram.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | type Node = Option<NonNull<Vec<NonNull<Edge>>>>;
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Edge` is never constructed
[INFO] [stdout]  --> src/double_code_arrow_diagram.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Edge {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Moment` is never used
[INFO] [stdout]   --> src/double_code_arrow_diagram.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum Moment {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Cost` is never used
[INFO] [stdout]   --> src/double_code_arrow_diagram.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 | enum Cost {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_es`, `set_lf`, `add_next`, and `add_prev` are never used
[INFO] [stdout]   --> src/double_code_arrow_diagram.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl Edge {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 34 |     fn new(cost: usize) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn set_es(&mut self, num: usize) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn set_lf(&mut self, num: usize) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn add_next(&mut self, next: &mut Edge) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn add_prev(&mut self, prev: &mut Edge) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/activity_on_node.rs:42:37
[INFO] [stdout]    |
[INFO] [stdout] 42 |             serial_number: unsafe { ID.to_string() },
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/activity_on_node.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Node {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     cost: Cost,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     es: Moment,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 17 |     ef: Moment,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 18 |     ls: Moment,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 19 |     lf: Moment,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 20 |     tf: Moment,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 21 |     ff: Moment,
[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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Moment` is never constructed
[INFO] [stdout]   --> src/activity_on_node.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | enum Moment {
[INFO] [stdout]    |      ------ variant in this enum
[INFO] [stdout] 26 |     Moment(usize),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Moment` 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 `0` is never read
[INFO] [stdout]   --> src/activity_on_node.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |     Duration(usize),
[INFO] [stdout]    |     -------- ^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Cost` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 32 -     Duration(usize),
[INFO] [stdout] 32 +     Duration(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Unknown` is never constructed
[INFO] [stdout]   --> src/activity_on_node.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | enum Cost {
[INFO] [stdout]    |      ---- variant in this enum
[INFO] [stdout] 32 |     Duration(usize),
[INFO] [stdout] 33 |     Unknown,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Cost` 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_es` and `set_lf` are never used
[INFO] [stdout]   --> src/activity_on_node.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Node {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn set_es(&mut self, num: usize) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     fn set_lf(&mut self, num: usize) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/double_code_arrow_diagram.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | struct Edge {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     cost: Cost,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 13 |     es: Moment,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 14 |     ef: Moment,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 15 |     ls: Moment,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 16 |     lf: Moment,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 17 |     tf: Moment,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 18 |     ff: Moment,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Edge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Moment` is never constructed
[INFO] [stdout]   --> src/double_code_arrow_diagram.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum Moment {
[INFO] [stdout]    |      ------ variant in this enum
[INFO] [stdout] 23 |     Moment(usize),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Moment` 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 `0` is never read
[INFO] [stdout]   --> src/double_code_arrow_diagram.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Duration(usize),
[INFO] [stdout]    |     -------- ^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Cost` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 29 -     Duration(usize),
[INFO] [stdout] 29 +     Duration(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Unknown` is never constructed
[INFO] [stdout]   --> src/double_code_arrow_diagram.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | enum Cost {
[INFO] [stdout]    |      ---- variant in this enum
[INFO] [stdout] 29 |     Duration(usize),
[INFO] [stdout] 30 |     Unknown,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Cost` 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_es` and `set_lf` are never used
[INFO] [stdout]   --> src/double_code_arrow_diagram.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl Edge {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn set_es(&mut self, num: usize) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn set_lf(&mut self, num: usize) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/activity_on_node.rs:42:37
[INFO] [stdout]    |
[INFO] [stdout] 42 |             serial_number: unsafe { ID.to_string() },
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] running `Command { std: "docker" "inspect" "e8464249a87b0cdb3d75a9e32b0480013c15fc84957e8856b300defe869e1dfa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8464249a87b0cdb3d75a9e32b0480013c15fc84957e8856b300defe869e1dfa", kill_on_drop: false }`
[INFO] [stdout] e8464249a87b0cdb3d75a9e32b0480013c15fc84957e8856b300defe869e1dfa
