[INFO] fetching crate graph-base 0.1.13... [INFO] testing graph-base-0.1.13 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate graph-base 0.1.13 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate graph-base 0.1.13 [INFO] finished tweaking crates.io crate graph-base 0.1.13 [INFO] tweaked toml for crates.io crate graph-base 0.1.13 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate graph-base 0.1.13 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] crate crates.io crate graph-base 0.1.13 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f6934cd4061fb4e2644ed1c81bd95c8e2b87badb1923073b52678439c67cc027 [INFO] running `Command { std: "docker" "start" "-a" "f6934cd4061fb4e2644ed1c81bd95c8e2b87badb1923073b52678439c67cc027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6934cd4061fb4e2644ed1c81bd95c8e2b87badb1923073b52678439c67cc027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6934cd4061fb4e2644ed1c81bd95c8e2b87badb1923073b52678439c67cc027", kill_on_drop: false }` [INFO] [stdout] f6934cd4061fb4e2644ed1c81bd95c8e2b87badb1923073b52678439c67cc027 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1fa72e6f67b47c9a97b0513743a17507d97ab5f81d2aefb48c0249d62c525f26 [INFO] running `Command { std: "docker" "start" "-a" "1fa72e6f67b47c9a97b0513743a17507d97ab5f81d2aefb48c0249d62c525f26", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling lazy_static v1.5.0 [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.13 (/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)]` 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: 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)]` on by default [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)]` 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()) ).collect::... [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()) ).collect::... [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()) ).col... [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 | ... self.edges().map(move |edge| (id_map.get(&edge.pair().0).unwrap().clone(), edge, id_map.get(&edge.pair().1).unwrap().clone()) ).col... [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.label)).co... [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.label)).co... [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.label)).co... [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.label)).co... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.15s [INFO] running `Command { std: "docker" "inspect" "1fa72e6f67b47c9a97b0513743a17507d97ab5f81d2aefb48c0249d62c525f26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fa72e6f67b47c9a97b0513743a17507d97ab5f81d2aefb48c0249d62c525f26", kill_on_drop: false }` [INFO] [stdout] 1fa72e6f67b47c9a97b0513743a17507d97ab5f81d2aefb48c0249d62c525f26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] bda0f352726ee8938940769db94bdc56667b6498d2297c8b482d4f4dda85a54f [INFO] running `Command { std: "docker" "start" "-a" "bda0f352726ee8938940769db94bdc56667b6498d2297c8b482d4f4dda85a54f", kill_on_drop: false }` [INFO] [stderr] Compiling graph-base v0.1.13 (/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)]` 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: 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)]` on by default [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)]` 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()) ).collect::... [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()) ).collect::... [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()) ).col... [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 | ... self.edges().map(move |edge| (id_map.get(&edge.pair().0).unwrap().clone(), edge, id_map.get(&edge.pair().1).unwrap().clone()) ).col... [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.label)).co... [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.label)).co... [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.label)).co... [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.label)).co... [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)]` 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: 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)]` on by default [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)]` 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()) ).collect::... [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()) ).collect::... [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()) ).col... [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 | ... self.edges().map(move |edge| (id_map.get(&edge.pair().0).unwrap().clone(), edge, id_map.get(&edge.pair().1).unwrap().clone()) ).col... [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.label)).co... [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.label)).co... [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.label)).co... [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.label)).co... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "bda0f352726ee8938940769db94bdc56667b6498d2297c8b482d4f4dda85a54f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bda0f352726ee8938940769db94bdc56667b6498d2297c8b482d4f4dda85a54f", kill_on_drop: false }` [INFO] [stdout] bda0f352726ee8938940769db94bdc56667b6498d2297c8b482d4f4dda85a54f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 73f2eee572d9e334dd3542f7185be4d7d03a42eecdf9358f355056780b00c84c [INFO] running `Command { std: "docker" "start" "-a" "73f2eee572d9e334dd3542f7185be4d7d03a42eecdf9358f355056780b00c84c", 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)]` 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: 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)]` on by default [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)]` 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()) ).collect::... [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()) ).collect::... [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()) ).col... [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 | ... self.edges().map(move |edge| (id_map.get(&edge.pair().0).unwrap().clone(), edge, id_map.get(&edge.pair().1).unwrap().clone()) ).col... [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.label)).co... [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.label)).co... [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.label)).co... [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.label)).co... [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `graph-base` (lib) generated 13 warnings (run `cargo fix --lib -p graph-base` to apply 3 suggestions) [INFO] [stderr] warning: `graph-base` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/graph_base-fff09b13c9d734b4) [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.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "73f2eee572d9e334dd3542f7185be4d7d03a42eecdf9358f355056780b00c84c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73f2eee572d9e334dd3542f7185be4d7d03a42eecdf9358f355056780b00c84c", kill_on_drop: false }` [INFO] [stdout] 73f2eee572d9e334dd3542f7185be4d7d03a42eecdf9358f355056780b00c84c