[INFO] fetching crate sot 0.0.2...
[INFO] building sot-0.0.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate sot 0.0.2 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate sot 0.0.2
[INFO] finished tweaking crates.io crate sot 0.0.2
[INFO] tweaked toml for crates.io crate sot 0.0.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate sot 0.0.2 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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 79 packages to latest compatible versions
[INFO] [stderr]       Adding bincode v1.3.3 (available: v2.0.1)
[INFO] [stderr]       Adding ctor v0.1.26 (available: v0.5.0)
[INFO] [stderr]       Adding itertools v0.10.5 (available: v0.14.0)
[INFO] [stderr]       Adding predicates v2.1.5 (available: v3.1.3)
[INFO] [stderr]       Adding simple_logger v2.3.0 (available: v5.0.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded typed-arena v1.7.0
[INFO] [stderr]   Downloaded ctor v0.1.26
[INFO] [stderr]   Downloaded fsutils v0.1.7
[INFO] [stderr]   Downloaded sxd-xpath v0.4.2
[INFO] [stderr]   Downloaded xml-builder v0.5.4
[INFO] [stderr]   Downloaded simple_logger v2.3.0
[INFO] [stderr]   Downloaded peresil v0.3.0
[INFO] [stderr]   Downloaded sxd-document v0.3.2
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 817f25156f04853f3034add0d39382ad4b4fcb69137af1cd2c78c2853724b00d
[INFO] running `Command { std: "docker" "start" "-a" "817f25156f04853f3034add0d39382ad4b4fcb69137af1cd2c78c2853724b00d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "817f25156f04853f3034add0d39382ad4b4fcb69137af1cd2c78c2853724b00d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "817f25156f04853f3034add0d39382ad4b4fcb69137af1cd2c78c2853724b00d", kill_on_drop: false }`
[INFO] [stdout] 817f25156f04853f3034add0d39382ad4b4fcb69137af1cd2c78c2853724b00d
[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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7d685e560a9befa395d1d5c83956975fe749b5b817748940a5f047a60dd274bd
[INFO] running `Command { std: "docker" "start" "-a" "7d685e560a9befa395d1d5c83956975fe749b5b817748940a5f047a60dd274bd", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling typed-arena v1.7.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling peresil v0.3.0
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling xml-builder v0.5.4
[INFO] [stderr]    Compiling deranged v0.5.4
[INFO] [stderr]    Compiling sxd-document v0.3.2
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling regex-automata v0.4.11
[INFO] [stderr]    Compiling sxd-xpath v0.4.2
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling simple_logger v2.3.0
[INFO] [stderr]    Compiling ctor v0.1.26
[INFO] [stderr]    Compiling regex v1.11.3
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling sot v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Edge` is never constructed
[INFO] [stdout]   --> src/sot.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct Edge {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/sot.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Edge {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 41 |     fn new(to: u32, a: String) -> Edge {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vertex` is never constructed
[INFO] [stdout]   --> src/sot.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Vertex {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `empty` is never used
[INFO] [stdout]   --> src/sot.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl Vertex {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 53 |     /// Make an empty one.
[INFO] [stdout] 54 |     pub fn empty() -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sot` is never constructed
[INFO] [stdout]   --> src/sot.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Sot {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `empty` and `max` are never used
[INFO] [stdout]   --> src/sot.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 85 | impl Sot {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 86 |     /// Makes an empty Sot, with no vertices and no edges.
[INFO] [stdout] 87 |     pub fn empty() -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn max(&self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `inconsistencies` and `lost_edges` are never used
[INFO] [stdout]   --> src/sot/inconsistencies.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Sot {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn inconsistencies(&self) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn lost_edges(&self) -> Vec<String> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `inspect` and `inspect_v` are never used
[INFO] [stdout]   --> src/sot/inspect.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl Sot {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn inspect(&self, loc: &str) -> Result<String> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn inspect_v(&self, v: u32, seen: &mut HashSet<u32>) -> Result<Vec<String>> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `merge` is never used
[INFO] [stdout]   --> src/sot/merge.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Sot {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] 26 |     /// Merge this new Sot into itself.
[INFO] [stdout] 27 |     pub fn merge(&mut self, sot: &Sot) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/sot/ops.rs:29:12
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl Sot {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout]  28 |     /// Add a new vertex `v1` to the Sot.
[INFO] [stdout]  29 |     pub fn add(&mut self, v1: u32) -> Result<()> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  41 |     pub fn bind(&mut self, v1: u32, v2: u32, a: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn put(&mut self, v: u32, d: Vec<u8>) -> Result<()> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn data(&self, v: u32) -> Result<Vec<u8>> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub fn kids(&self, _v: u32) -> Result<Vec<(String, u32)>> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn kid(&self, v: u32, a: &str) -> Option<u32> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn find(&self, v1: u32, loc: &str) -> Result<u32> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Script` is never constructed
[INFO] [stdout]   --> src/sot/parse.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Script {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `deploy_to`, `commands`, `deploy_one`, `parse_data`, and `parse` are never used
[INFO] [stdout]    --> src/sot/parse.rs:36:12
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl Script {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  35 |     /// Make a new one.
[INFO] [stdout]  36 |     pub fn new(s: &str) -> Script {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  44 |     pub fn deploy_to(&mut self, sot: &mut Sot) -> Result<usize> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  56 |     fn commands(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  71 |     fn deploy_one(&mut self, cmd: &str, sot: &mut Sot) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     fn parse_data(s: &str) -> Result<Vec<u8>> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     fn parse(&mut self, s: &str, sot: &mut Sot) -> Result<u32> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]    --> src/sot/parse.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout] 140 | impl Sot {
[INFO] [stdout]     | -------- associated function in this implementation
[INFO] [stdout] 141 |     /// Parse string with instructions.
[INFO] [stdout] 142 |     pub fn from_str(txt: &str) -> Result<Sot> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `save` and `load` are never used
[INFO] [stdout]   --> src/sot/serialization.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Sot {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn save(&mut self, path: &Path) -> Result<usize> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn load(path: &Path) -> Result<Sot> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `slice` is never used
[INFO] [stdout]   --> src/sot/slice.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Sot {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn slice(&mut self, loc: &str) -> Result<Sot> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_xml` is never used
[INFO] [stdout]   --> src/sot/xml.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl Sot {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] 27 |     /// Make XML graph.
[INFO] [stdout] 28 |     pub fn to_xml(&self) -> Result<String> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&u32` instead of cloning the inner type
[INFO] [stdout]   --> src/sot/xml.rs:34:70
[INFO] [stdout]    |
[INFO] [stdout] 34 |         for (v, vtx) in self.vertices.iter().sorted_by_key(|(v, _)| v.clone()) {
[INFO] [stdout]    |                                                                      ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.56s
[INFO] running `Command { std: "docker" "inspect" "7d685e560a9befa395d1d5c83956975fe749b5b817748940a5f047a60dd274bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d685e560a9befa395d1d5c83956975fe749b5b817748940a5f047a60dd274bd", kill_on_drop: false }`
[INFO] [stdout] 7d685e560a9befa395d1d5c83956975fe749b5b817748940a5f047a60dd274bd
[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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 571aac2a0001deff7bde6fe714873d05015d45be42d79c3382a467f26d61b889
[INFO] running `Command { std: "docker" "start" "-a" "571aac2a0001deff7bde6fe714873d05015d45be42d79c3382a467f26d61b889", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling predicates-core v1.0.9
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stdout] warning: struct `Edge` is never constructed
[INFO] [stdout]   --> src/sot.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct Edge {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/sot.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Edge {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 41 |     fn new(to: u32, a: String) -> Edge {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vertex` is never constructed
[INFO] [stdout]   --> src/sot.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Vertex {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `empty` is never used
[INFO] [stdout]   --> src/sot.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl Vertex {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 53 |     /// Make an empty one.
[INFO] [stdout] 54 |     pub fn empty() -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sot` is never constructed
[INFO] [stdout]   --> src/sot.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Sot {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `empty` and `max` are never used
[INFO] [stdout]   --> src/sot.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 85 | impl Sot {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 86 |     /// Makes an empty Sot, with no vertices and no edges.
[INFO] [stdout] 87 |     pub fn empty() -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn max(&self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `inconsistencies` and `lost_edges` are never used
[INFO] [stdout]   --> src/sot/inconsistencies.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Sot {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn inconsistencies(&self) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn lost_edges(&self) -> Vec<String> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `inspect` and `inspect_v` are never used
[INFO] [stdout]   --> src/sot/inspect.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl Sot {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn inspect(&self, loc: &str) -> Result<String> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn inspect_v(&self, v: u32, seen: &mut HashSet<u32>) -> Result<Vec<String>> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `merge` is never used
[INFO] [stdout]   --> src/sot/merge.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Sot {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] 26 |     /// Merge this new Sot into itself.
[INFO] [stdout] 27 |     pub fn merge(&mut self, sot: &Sot) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/sot/ops.rs:29:12
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl Sot {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout]  28 |     /// Add a new vertex `v1` to the Sot.
[INFO] [stdout]  29 |     pub fn add(&mut self, v1: u32) -> Result<()> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  41 |     pub fn bind(&mut self, v1: u32, v2: u32, a: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn put(&mut self, v: u32, d: Vec<u8>) -> Result<()> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn data(&self, v: u32) -> Result<Vec<u8>> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub fn kids(&self, _v: u32) -> Result<Vec<(String, u32)>> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn kid(&self, v: u32, a: &str) -> Option<u32> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn find(&self, v1: u32, loc: &str) -> Result<u32> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Script` is never constructed
[INFO] [stdout]   --> src/sot/parse.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Script {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `deploy_to`, `commands`, `deploy_one`, `parse_data`, and `parse` are never used
[INFO] [stdout]    --> src/sot/parse.rs:36:12
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl Script {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  35 |     /// Make a new one.
[INFO] [stdout]  36 |     pub fn new(s: &str) -> Script {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  44 |     pub fn deploy_to(&mut self, sot: &mut Sot) -> Result<usize> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  56 |     fn commands(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  71 |     fn deploy_one(&mut self, cmd: &str, sot: &mut Sot) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     fn parse_data(s: &str) -> Result<Vec<u8>> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     fn parse(&mut self, s: &str, sot: &mut Sot) -> Result<u32> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]    --> src/sot/parse.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout] 140 | impl Sot {
[INFO] [stdout]     | -------- associated function in this implementation
[INFO] [stdout] 141 |     /// Parse string with instructions.
[INFO] [stdout] 142 |     pub fn from_str(txt: &str) -> Result<Sot> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `save` and `load` are never used
[INFO] [stdout]   --> src/sot/serialization.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Sot {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn save(&mut self, path: &Path) -> Result<usize> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn load(path: &Path) -> Result<Sot> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `slice` is never used
[INFO] [stdout]   --> src/sot/slice.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Sot {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn slice(&mut self, loc: &str) -> Result<Sot> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_xml` is never used
[INFO] [stdout]   --> src/sot/xml.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl Sot {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] 27 |     /// Make XML graph.
[INFO] [stdout] 28 |     pub fn to_xml(&self) -> Result<String> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&u32` instead of cloning the inner type
[INFO] [stdout]   --> src/sot/xml.rs:34:70
[INFO] [stdout]    |
[INFO] [stdout] 34 |         for (v, vtx) in self.vertices.iter().sorted_by_key(|(v, _)| v.clone()) {
[INFO] [stdout]    |                                                                      ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling fsutils v0.1.7
[INFO] [stderr]    Compiling float-cmp v0.9.0
[INFO] [stderr]    Compiling predicates v2.1.5
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling sot v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&u32` instead of cloning the inner type
[INFO] [stdout]   --> src/sot/xml.rs:34:70
[INFO] [stdout]    |
[INFO] [stdout] 34 |         for (v, vtx) in self.vertices.iter().sorted_by_key(|(v, _)| v.clone()) {
[INFO] [stdout]    |                                                                      ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.11s
[INFO] running `Command { std: "docker" "inspect" "571aac2a0001deff7bde6fe714873d05015d45be42d79c3382a467f26d61b889", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "571aac2a0001deff7bde6fe714873d05015d45be42d79c3382a467f26d61b889", kill_on_drop: false }`
[INFO] [stdout] 571aac2a0001deff7bde6fe714873d05015d45be42d79c3382a467f26d61b889
