[INFO] fetching crate sot 0.0.2... [INFO] checking sot-0.0.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate sot 0.0.2 into /workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sot 0.0.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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.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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c470746d8af6bbe9e4b24fa9340fc8b2bc05d7df39725291a640a25752d18181 [INFO] running `Command { std: "docker" "start" "-a" "c470746d8af6bbe9e4b24fa9340fc8b2bc05d7df39725291a640a25752d18181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c470746d8af6bbe9e4b24fa9340fc8b2bc05d7df39725291a640a25752d18181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c470746d8af6bbe9e4b24fa9340fc8b2bc05d7df39725291a640a25752d18181", kill_on_drop: false }` [INFO] [stdout] c470746d8af6bbe9e4b24fa9340fc8b2bc05d7df39725291a640a25752d18181 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d406854d5f5780ac3339f0ccc3bb7ad1e04d57ea5304d02b7e6513195d08716f [INFO] running `Command { std: "docker" "start" "-a" "d406854d5f5780ac3339f0ccc3bb7ad1e04d57ea5304d02b7e6513195d08716f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking peresil v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking xml-builder v0.5.4 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking sxd-document v0.3.2 [INFO] [stderr] Checking sxd-xpath v0.4.2 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Checking simple_logger v2.3.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking fsutils v0.1.7 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking 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)]` 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 { [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] [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 15.08s [INFO] running `Command { std: "docker" "inspect" "d406854d5f5780ac3339f0ccc3bb7ad1e04d57ea5304d02b7e6513195d08716f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d406854d5f5780ac3339f0ccc3bb7ad1e04d57ea5304d02b7e6513195d08716f", kill_on_drop: false }` [INFO] [stdout] d406854d5f5780ac3339f0ccc3bb7ad1e04d57ea5304d02b7e6513195d08716f