[INFO] fetching crate graph-base 0.1.14... [INFO] testing graph-base-0.1.14 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate graph-base 0.1.14 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate graph-base 0.1.14 [INFO] finished tweaking crates.io crate graph-base 0.1.14 [INFO] tweaked toml for crates.io crate graph-base 0.1.14 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate graph-base 0.1.14 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate graph-base 0.1.14 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b1901ab224976d410e4330310ee530276a939ffcec080468ab84cd1eb197603 [INFO] running `Command { std: "docker" "start" "-a" "2b1901ab224976d410e4330310ee530276a939ffcec080468ab84cd1eb197603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b1901ab224976d410e4330310ee530276a939ffcec080468ab84cd1eb197603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b1901ab224976d410e4330310ee530276a939ffcec080468ab84cd1eb197603", kill_on_drop: false }` [INFO] [stdout] 2b1901ab224976d410e4330310ee530276a939ffcec080468ab84cd1eb197603 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8631b5988bb30ddbbd9b87dc871470b8e44c7492c834e3c621be9045b0c3ecb2 [INFO] running `Command { std: "docker" "start" "-a" "8631b5988bb30ddbbd9b87dc871470b8e44c7492c834e3c621be9045b0c3ecb2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling graph-base v0.1.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DirectedHypergraph` and `Hypergraph` [INFO] [stdout] --> src/lib.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use interfaces::hypergraph::{DirectedHypergraph, Hypergraph}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/interfaces/edge.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interfaces/hypergraph.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let mut s2 = String::new(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge` [INFO] [stdout] --> src/interfaces/hypergraph.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | for edge in edges { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_edge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stdout] --> src/interfaces/graph.rs:13:74 [INFO] [stdout] | [INFO] [stdout] 13 | ... self.edges().map(move |edge| (id_map.get(&edge.pair().0).unwrap().clone(), id_map.get(&edge.pair().1).unwrap().clone()) ).coll... [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 `&>::Node` instead of cloning the inner type [INFO] [stdout] --> src/interfaces/graph.rs:13:119 [INFO] [stdout] | [INFO] [stdout] 13 | ... self.edges().map(move |edge| (id_map.get(&edge.pair().0).unwrap().clone(), id_map.get(&edge.pair().1).unwrap().clone()) ).coll... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stdout] --> src/interfaces/graph.rs:17:74 [INFO] [stdout] | [INFO] [stdout] 17 | ... self.edges().map(move |edge| (id_map.get(&edge.pair().0).unwrap().clone(), edge, id_map.get(&edge.pair().1).unwrap().clone()) ... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stdout] --> src/interfaces/graph.rs:17:125 [INFO] [stdout] | [INFO] [stdout] 17 | ....unwrap().clone(), edge, id_map.get(&edge.pair().1).unwrap().clone()) ).collect::>().into_iter() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stdout] --> src/interfaces/labeled.rs:51:48 [INFO] [stdout] | [INFO] [stdout] 51 | adj.get_mut(src).unwrap().push((dst.clone(), edge)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&LabelNode` instead of cloning the inner type [INFO] [stdout] --> src/impls/standard.rs:134:74 [INFO] [stdout] | [INFO] [stdout] 134 | ... self.edges.iter().map(move |edge| (id_map.get(&edge.src).unwrap().clone(), id_map.get(&edge.dst).unwrap().clone(), &edge.labe... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&LabelNode` instead of cloning the inner type [INFO] [stdout] --> src/impls/standard.rs:134:114 [INFO] [stdout] | [INFO] [stdout] 134 | ... self.edges.iter().map(move |edge| (id_map.get(&edge.src).unwrap().clone(), id_map.get(&edge.dst).unwrap().clone(), &edge.labe... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&LabelNode` instead of cloning the inner type [INFO] [stdout] --> src/impls/standard.rs:240:74 [INFO] [stdout] | [INFO] [stdout] 240 | ... self.edges.iter().map(move |edge| (id_map.get(&edge.src).unwrap().clone(), id_map.get(&edge.dst).unwrap().clone(), &edge.labe... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&LabelNode` instead of cloning the inner type [INFO] [stdout] --> src/impls/standard.rs:240:114 [INFO] [stdout] | [INFO] [stdout] 240 | ... self.edges.iter().map(move |edge| (id_map.get(&edge.src).unwrap().clone(), id_map.get(&edge.dst).unwrap().clone(), &edge.labe... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.47s [INFO] running `Command { std: "docker" "inspect" "8631b5988bb30ddbbd9b87dc871470b8e44c7492c834e3c621be9045b0c3ecb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8631b5988bb30ddbbd9b87dc871470b8e44c7492c834e3c621be9045b0c3ecb2", kill_on_drop: false }` [INFO] [stdout] 8631b5988bb30ddbbd9b87dc871470b8e44c7492c834e3c621be9045b0c3ecb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56feb32740918cafa621ba768a86006edf17c58493f7321944b33fbdd431e17b [INFO] running `Command { std: "docker" "start" "-a" "56feb32740918cafa621ba768a86006edf17c58493f7321944b33fbdd431e17b", kill_on_drop: false }` [INFO] [stderr] Compiling graph-base v0.1.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DirectedHypergraph` and `Hypergraph` [INFO] [stdout] --> src/lib.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use interfaces::hypergraph::{DirectedHypergraph, Hypergraph}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/interfaces/edge.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interfaces/hypergraph.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let mut s2 = String::new(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge` [INFO] [stdout] --> src/interfaces/hypergraph.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | for edge in edges { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_edge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stdout] --> src/interfaces/graph.rs:13:74 [INFO] [stdout] | [INFO] [stdout] 13 | ... self.edges().map(move |edge| (id_map.get(&edge.pair().0).unwrap().clone(), id_map.get(&edge.pair().1).unwrap().clone()) ).coll... [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 `&>::Node` instead of cloning the inner type [INFO] [stdout] --> src/interfaces/graph.rs:13:119 [INFO] [stdout] | [INFO] [stdout] 13 | ... self.edges().map(move |edge| (id_map.get(&edge.pair().0).unwrap().clone(), id_map.get(&edge.pair().1).unwrap().clone()) ).coll... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stdout] --> src/interfaces/graph.rs:17:74 [INFO] [stdout] | [INFO] [stdout] 17 | ... self.edges().map(move |edge| (id_map.get(&edge.pair().0).unwrap().clone(), edge, id_map.get(&edge.pair().1).unwrap().clone()) ... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stdout] --> src/interfaces/graph.rs:17:125 [INFO] [stdout] | [INFO] [stdout] 17 | ....unwrap().clone(), edge, id_map.get(&edge.pair().1).unwrap().clone()) ).collect::>().into_iter() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stdout] --> src/interfaces/labeled.rs:51:48 [INFO] [stdout] | [INFO] [stdout] 51 | adj.get_mut(src).unwrap().push((dst.clone(), edge)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&LabelNode` instead of cloning the inner type [INFO] [stdout] --> src/impls/standard.rs:134:74 [INFO] [stdout] | [INFO] [stdout] 134 | ... self.edges.iter().map(move |edge| (id_map.get(&edge.src).unwrap().clone(), id_map.get(&edge.dst).unwrap().clone(), &edge.labe... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&LabelNode` instead of cloning the inner type [INFO] [stdout] --> src/impls/standard.rs:134:114 [INFO] [stdout] | [INFO] [stdout] 134 | ... self.edges.iter().map(move |edge| (id_map.get(&edge.src).unwrap().clone(), id_map.get(&edge.dst).unwrap().clone(), &edge.labe... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&LabelNode` instead of cloning the inner type [INFO] [stdout] --> src/impls/standard.rs:240:74 [INFO] [stdout] | [INFO] [stdout] 240 | ... self.edges.iter().map(move |edge| (id_map.get(&edge.src).unwrap().clone(), id_map.get(&edge.dst).unwrap().clone(), &edge.labe... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&LabelNode` instead of cloning the inner type [INFO] [stdout] --> src/impls/standard.rs:240:114 [INFO] [stdout] | [INFO] [stdout] 240 | ... self.edges.iter().map(move |edge| (id_map.get(&edge.src).unwrap().clone(), id_map.get(&edge.dst).unwrap().clone(), &edge.labe... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DirectedHypergraph` and `Hypergraph` [INFO] [stdout] --> src/lib.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use interfaces::hypergraph::{DirectedHypergraph, Hypergraph}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/interfaces/edge.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interfaces/hypergraph.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let mut s2 = String::new(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge` [INFO] [stdout] --> src/interfaces/hypergraph.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | for edge in edges { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_edge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stdout] --> src/interfaces/graph.rs:13:74 [INFO] [stdout] | [INFO] [stdout] 13 | ... self.edges().map(move |edge| (id_map.get(&edge.pair().0).unwrap().clone(), id_map.get(&edge.pair().1).unwrap().clone()) ).coll... [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 `&>::Node` instead of cloning the inner type [INFO] [stdout] --> src/interfaces/graph.rs:13:119 [INFO] [stdout] | [INFO] [stdout] 13 | ... self.edges().map(move |edge| (id_map.get(&edge.pair().0).unwrap().clone(), id_map.get(&edge.pair().1).unwrap().clone()) ).coll... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stdout] --> src/interfaces/graph.rs:17:74 [INFO] [stdout] | [INFO] [stdout] 17 | ... self.edges().map(move |edge| (id_map.get(&edge.pair().0).unwrap().clone(), edge, id_map.get(&edge.pair().1).unwrap().clone()) ... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stdout] --> src/interfaces/graph.rs:17:125 [INFO] [stdout] | [INFO] [stdout] 17 | ....unwrap().clone(), edge, id_map.get(&edge.pair().1).unwrap().clone()) ).collect::>().into_iter() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stdout] --> src/interfaces/labeled.rs:51:48 [INFO] [stdout] | [INFO] [stdout] 51 | adj.get_mut(src).unwrap().push((dst.clone(), edge)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&LabelNode` instead of cloning the inner type [INFO] [stdout] --> src/impls/standard.rs:134:74 [INFO] [stdout] | [INFO] [stdout] 134 | ... self.edges.iter().map(move |edge| (id_map.get(&edge.src).unwrap().clone(), id_map.get(&edge.dst).unwrap().clone(), &edge.labe... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&LabelNode` instead of cloning the inner type [INFO] [stdout] --> src/impls/standard.rs:134:114 [INFO] [stdout] | [INFO] [stdout] 134 | ... self.edges.iter().map(move |edge| (id_map.get(&edge.src).unwrap().clone(), id_map.get(&edge.dst).unwrap().clone(), &edge.labe... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&LabelNode` instead of cloning the inner type [INFO] [stdout] --> src/impls/standard.rs:240:74 [INFO] [stdout] | [INFO] [stdout] 240 | ... self.edges.iter().map(move |edge| (id_map.get(&edge.src).unwrap().clone(), id_map.get(&edge.dst).unwrap().clone(), &edge.labe... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&LabelNode` instead of cloning the inner type [INFO] [stdout] --> src/impls/standard.rs:240:114 [INFO] [stdout] | [INFO] [stdout] 240 | ... self.edges.iter().map(move |edge| (id_map.get(&edge.src).unwrap().clone(), id_map.get(&edge.dst).unwrap().clone(), &edge.labe... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "56feb32740918cafa621ba768a86006edf17c58493f7321944b33fbdd431e17b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56feb32740918cafa621ba768a86006edf17c58493f7321944b33fbdd431e17b", kill_on_drop: false }` [INFO] [stdout] 56feb32740918cafa621ba768a86006edf17c58493f7321944b33fbdd431e17b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] da212ae7caef53fa43ec43be9d98bbb13924fa6e5c16ae6163f287797f604f6b [INFO] running `Command { std: "docker" "start" "-a" "da212ae7caef53fa43ec43be9d98bbb13924fa6e5c16ae6163f287797f604f6b", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `DirectedHypergraph` and `Hypergraph` [INFO] [stderr] --> src/lib.rs:1:30 [INFO] [stderr] | [INFO] [stderr] 1 | use interfaces::hypergraph::{DirectedHypergraph, Hypergraph}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::Display` [INFO] [stderr] --> src/interfaces/edge.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::Display; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/interfaces/hypergraph.rs:137:17 [INFO] [stderr] | [INFO] [stderr] 137 | let mut s2 = String::new(); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `edge` [INFO] [stderr] --> src/interfaces/hypergraph.rs:138:17 [INFO] [stderr] | [INFO] [stderr] 138 | for edge in edges { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_edge` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stderr] --> src/interfaces/graph.rs:13:74 [INFO] [stderr] | [INFO] [stderr] 13 | ... self.edges().map(move |edge| (id_map.get(&edge.pair().0).unwrap().clone(), id_map.get(&edge.pair().1).unwrap().clone()) ).coll... [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stderr] --> src/interfaces/graph.rs:13:119 [INFO] [stderr] | [INFO] [stderr] 13 | ... self.edges().map(move |edge| (id_map.get(&edge.pair().0).unwrap().clone(), id_map.get(&edge.pair().1).unwrap().clone()) ).coll... [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stderr] --> src/interfaces/graph.rs:17:74 [INFO] [stderr] | [INFO] [stderr] 17 | ... self.edges().map(move |edge| (id_map.get(&edge.pair().0).unwrap().clone(), edge, id_map.get(&edge.pair().1).unwrap().clone()) ... [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stderr] --> src/interfaces/graph.rs:17:125 [INFO] [stderr] | [INFO] [stderr] 17 | ....unwrap().clone(), edge, id_map.get(&edge.pair().1).unwrap().clone()) ).collect::>().into_iter() [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&>::Node` instead of cloning the inner type [INFO] [stderr] --> src/interfaces/labeled.rs:51:48 [INFO] [stderr] | [INFO] [stderr] 51 | adj.get_mut(src).unwrap().push((dst.clone(), edge)); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&LabelNode` instead of cloning the inner type [INFO] [stderr] --> src/impls/standard.rs:134:74 [INFO] [stderr] | [INFO] [stderr] 134 | ... self.edges.iter().map(move |edge| (id_map.get(&edge.src).unwrap().clone(), id_map.get(&edge.dst).unwrap().clone(), &edge.labe... [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&LabelNode` instead of cloning the inner type [INFO] [stderr] --> src/impls/standard.rs:134:114 [INFO] [stderr] | [INFO] [stderr] 134 | ... self.edges.iter().map(move |edge| (id_map.get(&edge.src).unwrap().clone(), id_map.get(&edge.dst).unwrap().clone(), &edge.labe... [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&LabelNode` instead of cloning the inner type [INFO] [stderr] --> src/impls/standard.rs:240:74 [INFO] [stderr] | [INFO] [stderr] 240 | ... self.edges.iter().map(move |edge| (id_map.get(&edge.src).unwrap().clone(), id_map.get(&edge.dst).unwrap().clone(), &edge.labe... [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&LabelNode` instead of cloning the inner type [INFO] [stderr] --> src/impls/standard.rs:240:114 [INFO] [stderr] | [INFO] [stderr] 240 | ... self.edges.iter().map(move |edge| (id_map.get(&edge.src).unwrap().clone(), id_map.get(&edge.dst).unwrap().clone(), &edge.labe... [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `graph-base` (lib) generated 13 warnings (run `cargo fix --lib -p graph-base` to apply 4 suggestions) [INFO] [stderr] warning: `graph-base` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/graph_base-6370ff5666ecc834) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] Doc-tests graph_base [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "da212ae7caef53fa43ec43be9d98bbb13924fa6e5c16ae6163f287797f604f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da212ae7caef53fa43ec43be9d98bbb13924fa6e5c16ae6163f287797f604f6b", kill_on_drop: false }` [INFO] [stdout] da212ae7caef53fa43ec43be9d98bbb13924fa6e5c16ae6163f287797f604f6b