[INFO] fetching crate sot 0.0.2... [INFO] testing sot-0.0.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate sot 0.0.2 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sot 0.0.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] Locking 85 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.4.2) [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 sxd-document v0.3.2 [INFO] [stderr] Downloaded sxd-xpath v0.4.2 [INFO] [stderr] Downloaded fsutils v0.1.7 [INFO] [stderr] Downloaded peresil v0.3.0 [INFO] [stderr] Downloaded xml-builder v0.5.4 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab8c387e437bf9d6c70fc34cc6cdc100989695ba48babc3bb80f584e87d2b042 [INFO] running `Command { std: "docker" "start" "-a" "ab8c387e437bf9d6c70fc34cc6cdc100989695ba48babc3bb80f584e87d2b042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab8c387e437bf9d6c70fc34cc6cdc100989695ba48babc3bb80f584e87d2b042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab8c387e437bf9d6c70fc34cc6cdc100989695ba48babc3bb80f584e87d2b042", kill_on_drop: false }` [INFO] [stdout] ab8c387e437bf9d6c70fc34cc6cdc100989695ba48babc3bb80f584e87d2b042 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c73a4759e487ed78ed2b2e0e763af64097fd4a20449055859ff6da8c3006b0c9 [INFO] running `Command { std: "docker" "start" "-a" "c73a4759e487ed78ed2b2e0e763af64097fd4a20449055859ff6da8c3006b0c9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling peresil v0.3.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling xml-builder v0.5.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling sxd-document v0.3.2 [INFO] [stderr] Compiling sxd-xpath v0.4.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling simple_logger v2.3.0 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling sot v0.0.2 (/opt/rustwide/workdir) [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] = note: `#[warn(dead_code)]` on by default [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: 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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn lost_edges(&self) -> Vec { [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 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn inspect_v(&self, v: u32, seen: &mut HashSet) -> Result> { [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) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn data(&self, v: u32) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn kids(&self, _v: u32) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn kid(&self, v: u32, a: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn find(&self, v1: u32, loc: &str) -> Result { [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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn commands(&self) -> Vec { [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> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn parse(&mut self, s: &str, sot: &mut Sot) -> Result { [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 { [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 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn load(path: &Path) -> Result { [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 { [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 { [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 12.79s [INFO] running `Command { std: "docker" "inspect" "c73a4759e487ed78ed2b2e0e763af64097fd4a20449055859ff6da8c3006b0c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c73a4759e487ed78ed2b2e0e763af64097fd4a20449055859ff6da8c3006b0c9", kill_on_drop: false }` [INFO] [stdout] c73a4759e487ed78ed2b2e0e763af64097fd4a20449055859ff6da8c3006b0c9 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 344cb178bc420c2a590bfa2ac669dd098c302ddea2302e8d147b9563bf79b96b [INFO] running `Command { std: "docker" "start" "-a" "344cb178bc420c2a590bfa2ac669dd098c302ddea2302e8d147b9563bf79b96b", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling predicates-core v1.0.9 [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] = note: `#[warn(dead_code)]` on by default [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: 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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn lost_edges(&self) -> Vec { [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 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn inspect_v(&self, v: u32, seen: &mut HashSet) -> Result> { [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) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn data(&self, v: u32) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn kids(&self, _v: u32) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn kid(&self, v: u32, a: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn find(&self, v1: u32, loc: &str) -> Result { [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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn commands(&self) -> Vec { [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> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn parse(&mut self, s: &str, sot: &mut Sot) -> Result { [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 { [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 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn load(path: &Path) -> Result { [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 { [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 { [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 predicates v2.1.5 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling fsutils v0.1.7 [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 3.76s [INFO] running `Command { std: "docker" "inspect" "344cb178bc420c2a590bfa2ac669dd098c302ddea2302e8d147b9563bf79b96b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "344cb178bc420c2a590bfa2ac669dd098c302ddea2302e8d147b9563bf79b96b", kill_on_drop: false }` [INFO] [stdout] 344cb178bc420c2a590bfa2ac669dd098c302ddea2302e8d147b9563bf79b96b [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9ed7f52c326e924cc89b69476f27fb3ed83711b6d7523e2e91cbb0061f394644 [INFO] running `Command { std: "docker" "start" "-a" "9ed7f52c326e924cc89b69476f27fb3ed83711b6d7523e2e91cbb0061f394644", kill_on_drop: false }` [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/sot.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 40 | impl Edge { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] 41 | fn new(to: u32, a: String) -> Edge { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `empty` is never used [INFO] [stderr] --> src/sot.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 52 | impl Vertex { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 53 | /// Make an empty one. [INFO] [stderr] 54 | pub fn empty() -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `empty` and `max` are never used [INFO] [stderr] --> src/sot.rs:87:12 [INFO] [stderr] | [INFO] [stderr] 85 | impl Sot { [INFO] [stderr] | -------- associated items in this implementation [INFO] [stderr] 86 | /// Makes an empty Sot, with no vertices and no edges. [INFO] [stderr] 87 | pub fn empty() -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 94 | pub fn max(&self) -> u32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `inconsistencies` and `lost_edges` are never used [INFO] [stderr] --> src/sot/inconsistencies.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl Sot { [INFO] [stderr] | -------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn inconsistencies(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | fn lost_edges(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `inspect` and `inspect_v` are never used [INFO] [stderr] --> src/sot/inspect.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 26 | impl Sot { [INFO] [stderr] | -------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn inspect(&self, loc: &str) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | fn inspect_v(&self, v: u32, seen: &mut HashSet) -> Result> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `merge` is never used [INFO] [stderr] --> src/sot/merge.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl Sot { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] 26 | /// Merge this new Sot into itself. [INFO] [stderr] 27 | pub fn merge(&mut self, sot: &Sot) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/sot/ops.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl Sot { [INFO] [stderr] | -------- methods in this implementation [INFO] [stderr] 28 | /// Add a new vertex `v1` to the Sot. [INFO] [stderr] 29 | pub fn add(&mut self, v1: u32) -> Result<()> { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn bind(&mut self, v1: u32, v2: u32, a: &str) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | pub fn put(&mut self, v: u32, d: Vec) -> Result<()> { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 77 | pub fn data(&self, v: u32) -> Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 86 | pub fn kids(&self, _v: u32) -> Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 91 | pub fn kid(&self, v: u32, a: &str) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 107 | pub fn find(&self, v1: u32, loc: &str) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Script` is never constructed [INFO] [stderr] --> src/sot/parse.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | struct Script { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `deploy_to`, `commands`, `deploy_one`, `parse_data`, and `parse` are never used [INFO] [stderr] --> src/sot/parse.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 34 | impl Script { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 35 | /// Make a new one. [INFO] [stderr] 36 | pub fn new(s: &str) -> Script { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn deploy_to(&mut self, sot: &mut Sot) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 56 | fn commands(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | fn deploy_one(&mut self, cmd: &str, sot: &mut Sot) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 108 | fn parse_data(s: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 126 | fn parse(&mut self, s: &str, sot: &mut Sot) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_str` is never used [INFO] [stderr] --> src/sot/parse.rs:142:12 [INFO] [stderr] | [INFO] [stderr] 140 | impl Sot { [INFO] [stderr] | -------- associated function in this implementation [INFO] [stderr] 141 | /// Parse string with instructions. [INFO] [stderr] 142 | pub fn from_str(txt: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `save` and `load` are never used [INFO] [stderr] --> src/sot/serialization.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl Sot { [INFO] [stderr] | -------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 32 | pub fn save(&mut self, path: &Path) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn load(path: &Path) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `slice` is never used [INFO] [stderr] --> src/sot/slice.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl Sot { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn slice(&mut self, loc: &str) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `to_xml` is never used [INFO] [stderr] --> src/sot/xml.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 26 | impl Sot { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] 27 | /// Make XML graph. [INFO] [stderr] 28 | pub fn to_xml(&self) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&u32` instead of cloning the inner type [INFO] [stderr] --> src/sot/xml.rs:34:70 [INFO] [stderr] | [INFO] [stderr] 34 | for (v, vtx) in self.vertices.iter().sorted_by_key(|(v, _)| v.clone()) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `sot` (lib) generated 14 warnings [INFO] [stderr] warning: `sot` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/sot-c2b8956cb5f3de5b) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test sot::calculates_max ... ok [INFO] [stdout] test sot::merge::merges_two_sots ... ok [INFO] [stdout] test sot::inconsistencies::finds_lost_edge ... ok [INFO] [stdout] test sot::ops::finds_all_kids ... ignored [INFO] [stdout] test sot::ops::binds_two_names ... ok [INFO] [stdout] test sot::makes_an_empty_sot ... ok [INFO] [stdout] test sot::ops::finds_root ... ok [INFO] [stdout] test sot::ops::adds_simple_vertex ... ok [INFO] [stdout] test sot::inspect::inspects_simple_object ... ok [INFO] [stdout] test sot::ops::binds_to_root ... ok [INFO] [stdout] test sot::ops::overwrites_edge ... ok [INFO] [stdout] test sot::ops::sets_simple_data ... ok [INFO] [stdout] test sot::serialization::saves_and_loads ... ok [INFO] [stdout] test sot::ops::pre_defined_ids ... ok [INFO] [stdout] test sot::slice::makes_a_slice ... ok [INFO] [stdout] test sot::ops::binds_simple_vertices ... ok [INFO] [stdout] test sot::xml::prints_simple_graph ... ok [INFO] [stdout] test sot::parse::simple_command ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9ed7f52c326e924cc89b69476f27fb3ed83711b6d7523e2e91cbb0061f394644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ed7f52c326e924cc89b69476f27fb3ed83711b6d7523e2e91cbb0061f394644", kill_on_drop: false }` [INFO] [stdout] 9ed7f52c326e924cc89b69476f27fb3ed83711b6d7523e2e91cbb0061f394644