[INFO] cloning repository https://github.com/sunadase/graph_db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sunadase/graph_db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunadase%2Fgraph_db", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunadase%2Fgraph_db'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b62e008680490d5b5f2841f204cc4ec0a7e9b8e [INFO] building sunadase/graph_db against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunadase%2Fgraph_db" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sunadase/graph_db on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sunadase/graph_db [INFO] finished tweaking git repo https://github.com/sunadase/graph_db [INFO] tweaked toml for git repo https://github.com/sunadase/graph_db written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sunadase/graph_db 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a516a7cbcb178c59ffce4175e65532b1523d13e5a982bc56c19fe10f3196782b [INFO] running `Command { std: "docker" "start" "-a" "a516a7cbcb178c59ffce4175e65532b1523d13e5a982bc56c19fe10f3196782b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a516a7cbcb178c59ffce4175e65532b1523d13e5a982bc56c19fe10f3196782b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a516a7cbcb178c59ffce4175e65532b1523d13e5a982bc56c19fe10f3196782b", kill_on_drop: false }` [INFO] [stdout] a516a7cbcb178c59ffce4175e65532b1523d13e5a982bc56c19fe10f3196782b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4565ca98e3db2d4d1fcfc7b20e0f229e78c0c71d63702b43182090391dcd2aba [INFO] running `Command { std: "docker" "start" "-a" "4565ca98e3db2d4d1fcfc7b20e0f229e78c0c71d63702b43182090391dcd2aba", kill_on_drop: false }` [INFO] [stderr] Compiling graph_db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BorrowMut` and `iter::zip` [INFO] [stdout] --> src/vec_graph.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | borrow::{Borrow, BorrowMut}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | collections::HashMap, [INFO] [stdout] 5 | iter::zip, [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/vec_graph.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | mut new_idx: NodeIndex, [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: variable does not need to be mutable [INFO] [stdout] --> src/vec_graph.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | fn retain_at(&mut self, key: &str, mut f: F) -> Option<()> [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_all` and `retain_at` are never used [INFO] [stdout] --> src/vec_graph.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl AliasMap { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | fn remove_all(&mut self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn retain_at(&mut self, key: &str, mut f: F) -> Option<()> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut` and `iter::zip` [INFO] [stdout] --> src/vec_graph.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | borrow::{Borrow, BorrowMut}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | collections::HashMap, [INFO] [stdout] 5 | iter::zip, [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/vec_graph.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | mut new_idx: NodeIndex, [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: variable does not need to be mutable [INFO] [stdout] --> src/vec_graph.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | fn retain_at(&mut self, key: &str, mut f: F) -> Option<()> [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/unsafe_graph.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Link = *mut Node; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/unsafe_graph.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> src/unsafe_graph.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Edge { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> src/unsafe_graph.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_all` and `retain_at` are never used [INFO] [stdout] --> src/vec_graph.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl AliasMap { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | fn remove_all(&mut self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn retain_at(&mut self, key: &str, mut f: F) -> Option<()> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vgraph.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | struct NodeIndex(usize); [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vgraph.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | impl NodeIndex { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 5 | fn new(index: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Link` is never constructed [INFO] [stdout] --> src/vgraph.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Link { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vgraph.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Link { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 20 | fn new(relation: &str, to: NodeIndex) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/vgraph.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vgraph.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 35 | fn new(alias: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn add_label(&mut self, label: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn remove_label(&mut self, label: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn add_prop(&mut self, key: &str, val: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn remove_prop(&mut self, key: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn add_relation(&mut self, relation: &str, to: NodeIndex) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn remove_relation(&mut self, relation: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> src/vgraph.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | struct Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_node`, `remove_node`, `get_node_mut`, `get_node`, and `mut_node` are never used [INFO] [stdout] --> src/vgraph.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl Graph { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 75 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn add_node(&mut self, alias: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn remove_node(&mut self, alias: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn get_node_mut(&mut self, alias: &str) -> &mut Node { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn get_node(&self, alias: &str) -> &Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn mut_node(&mut self, alias: &str, mut f: F) -> &mut Graph [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "4565ca98e3db2d4d1fcfc7b20e0f229e78c0c71d63702b43182090391dcd2aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4565ca98e3db2d4d1fcfc7b20e0f229e78c0c71d63702b43182090391dcd2aba", kill_on_drop: false }` [INFO] [stdout] 4565ca98e3db2d4d1fcfc7b20e0f229e78c0c71d63702b43182090391dcd2aba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61fc50fa640c71b3d05c67ea6847e9876a2bea230019c452d0511196c347bf2c [INFO] running `Command { std: "docker" "start" "-a" "61fc50fa640c71b3d05c67ea6847e9876a2bea230019c452d0511196c347bf2c", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `BorrowMut` and `iter::zip` [INFO] [stdout] --> src/vec_graph.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | borrow::{Borrow, BorrowMut}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | collections::HashMap, [INFO] [stdout] 5 | iter::zip, [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/vec_graph.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | mut new_idx: NodeIndex, [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] [stderr] Compiling graph_db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vec_graph.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | fn retain_at(&mut self, key: &str, mut f: F) -> Option<()> [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_all` and `retain_at` are never used [INFO] [stdout] --> src/vec_graph.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl AliasMap { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | fn remove_all(&mut self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn retain_at(&mut self, key: &str, mut f: F) -> Option<()> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut` and `iter::zip` [INFO] [stdout] --> src/vec_graph.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | borrow::{Borrow, BorrowMut}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | collections::HashMap, [INFO] [stdout] 5 | iter::zip, [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/vec_graph.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | mut new_idx: NodeIndex, [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: variable does not need to be mutable [INFO] [stdout] --> src/vec_graph.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | fn retain_at(&mut self, key: &str, mut f: F) -> Option<()> [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/unsafe_graph.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Link = *mut Node; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/unsafe_graph.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> src/unsafe_graph.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Edge { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> src/unsafe_graph.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_all` and `retain_at` are never used [INFO] [stdout] --> src/vec_graph.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl AliasMap { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | fn remove_all(&mut self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn retain_at(&mut self, key: &str, mut f: F) -> Option<()> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vgraph.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | struct NodeIndex(usize); [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vgraph.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | impl NodeIndex { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 5 | fn new(index: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Link` is never constructed [INFO] [stdout] --> src/vgraph.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Link { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vgraph.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Link { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 20 | fn new(relation: &str, to: NodeIndex) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/vgraph.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vgraph.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 35 | fn new(alias: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn add_label(&mut self, label: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn remove_label(&mut self, label: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn add_prop(&mut self, key: &str, val: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn remove_prop(&mut self, key: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn add_relation(&mut self, relation: &str, to: NodeIndex) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn remove_relation(&mut self, relation: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> src/vgraph.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | struct Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_node`, `remove_node`, `get_node_mut`, `get_node`, and `mut_node` are never used [INFO] [stdout] --> src/vgraph.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl Graph { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 75 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn add_node(&mut self, alias: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn remove_node(&mut self, alias: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn get_node_mut(&mut self, alias: &str) -> &mut Node { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn get_node(&self, alias: &str) -> &Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn mut_node(&mut self, alias: &str, mut f: F) -> &mut Graph [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/vec_graph_tests.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | ///equality derived -> Checks if all fields of all structs are equal [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut` and `iter::zip` [INFO] [stdout] --> src/vec_graph.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | borrow::{Borrow, BorrowMut}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | collections::HashMap, [INFO] [stdout] 5 | iter::zip, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut` and `iter::zip` [INFO] [stdout] --> src/vec_graph.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | borrow::{Borrow, BorrowMut}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | collections::HashMap, [INFO] [stdout] 5 | iter::zip, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph2` [INFO] [stdout] --> tests/vec_graph_tests.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let mut graph2 = Graph::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_graph2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/vec_graph_tests.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mut graph2 = Graph::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/vec_graph.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | mut new_idx: NodeIndex, [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: variable does not need to be mutable [INFO] [stdout] --> src/vec_graph.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | mut new_idx: NodeIndex, [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: variable does not need to be mutable [INFO] [stdout] --> src/vec_graph.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | fn retain_at(&mut self, key: &str, mut f: F) -> Option<()> [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vec_graph.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | fn retain_at(&mut self, key: &str, mut f: F) -> Option<()> [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_all` and `retain_at` are never used [INFO] [stdout] --> src/vec_graph.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl AliasMap { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | fn remove_all(&mut self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn retain_at(&mut self, key: &str, mut f: F) -> Option<()> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/unsafe_graph.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Link = *mut Node; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/unsafe_graph.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> src/unsafe_graph.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Edge { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> src/unsafe_graph.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_all` and `retain_at` are never used [INFO] [stdout] --> src/vec_graph.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl AliasMap { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | fn remove_all(&mut self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn retain_at(&mut self, key: &str, mut f: F) -> Option<()> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vgraph.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | struct NodeIndex(usize); [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vgraph.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | impl NodeIndex { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 5 | fn new(index: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Link` is never constructed [INFO] [stdout] --> src/vgraph.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Link { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vgraph.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Link { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 20 | fn new(relation: &str, to: NodeIndex) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/vgraph.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vgraph.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 35 | fn new(alias: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn add_label(&mut self, label: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn remove_label(&mut self, label: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn add_prop(&mut self, key: &str, val: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn remove_prop(&mut self, key: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn add_relation(&mut self, relation: &str, to: NodeIndex) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn remove_relation(&mut self, relation: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> src/vgraph.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | struct Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_node`, `remove_node`, `get_node_mut`, `get_node`, and `mut_node` are never used [INFO] [stdout] --> src/vgraph.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl Graph { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 75 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn add_node(&mut self, alias: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn remove_node(&mut self, alias: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn get_node_mut(&mut self, alias: &str) -> &mut Node { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn get_node(&self, alias: &str) -> &Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn mut_node(&mut self, alias: &str, mut f: F) -> &mut Graph [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "61fc50fa640c71b3d05c67ea6847e9876a2bea230019c452d0511196c347bf2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61fc50fa640c71b3d05c67ea6847e9876a2bea230019c452d0511196c347bf2c", kill_on_drop: false }` [INFO] [stdout] 61fc50fa640c71b3d05c67ea6847e9876a2bea230019c452d0511196c347bf2c