[INFO] fetching crate graph-base 0.1.13... [INFO] testing graph-base-0.1.13 against 1.90.0 for beta-1.91-3 [INFO] extracting crate graph-base 0.1.13 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate graph-base 0.1.13 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23d3d413d11d6e5d3db2cc2d44ce8acc5bc59359c4d8a92d6cbc3e49f48ccd70 [INFO] running `Command { std: "docker" "start" "-a" "23d3d413d11d6e5d3db2cc2d44ce8acc5bc59359c4d8a92d6cbc3e49f48ccd70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23d3d413d11d6e5d3db2cc2d44ce8acc5bc59359c4d8a92d6cbc3e49f48ccd70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23d3d413d11d6e5d3db2cc2d44ce8acc5bc59359c4d8a92d6cbc3e49f48ccd70", kill_on_drop: false }` [INFO] [stdout] 23d3d413d11d6e5d3db2cc2d44ce8acc5bc59359c4d8a92d6cbc3e49f48ccd70 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8736d646c34e702db25ca0cb634ee838a4d51e01b31ad3fdad15c4db4e876a8b [INFO] running `Command { std: "docker" "start" "-a" "8736d646c34e702db25ca0cb634ee838a4d51e01b31ad3fdad15c4db4e876a8b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling getrandom v0.3.3 [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 serde 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 17.64s [INFO] running `Command { std: "docker" "inspect" "8736d646c34e702db25ca0cb634ee838a4d51e01b31ad3fdad15c4db4e876a8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8736d646c34e702db25ca0cb634ee838a4d51e01b31ad3fdad15c4db4e876a8b", kill_on_drop: false }` [INFO] [stdout] 8736d646c34e702db25ca0cb634ee838a4d51e01b31ad3fdad15c4db4e876a8b [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40a5ea38fc4512cd12b1f3210233bb3a0a4a69c96e41f20bd90466d2f554e14d [INFO] running `Command { std: "docker" "start" "-a" "40a5ea38fc4512cd12b1f3210233bb3a0a4a69c96e41f20bd90466d2f554e14d", 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.93s [INFO] running `Command { std: "docker" "inspect" "40a5ea38fc4512cd12b1f3210233bb3a0a4a69c96e41f20bd90466d2f554e14d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40a5ea38fc4512cd12b1f3210233bb3a0a4a69c96e41f20bd90466d2f554e14d", kill_on_drop: false }` [INFO] [stdout] 40a5ea38fc4512cd12b1f3210233bb3a0a4a69c96e41f20bd90466d2f554e14d [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1ab13bda31f0cfaf27c42e5a564c0fc2f8678a2172016d57f35bc4e2c616dab1 [INFO] running `Command { std: "docker" "start" "-a" "1ab13bda31f0cfaf27c42e5a564c0fc2f8678a2172016d57f35bc4e2c616dab1", 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.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/graph_base-bc384beecc4ccf49) [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] [stdout] [INFO] [stderr] Doc-tests graph_base [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" "1ab13bda31f0cfaf27c42e5a564c0fc2f8678a2172016d57f35bc4e2c616dab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ab13bda31f0cfaf27c42e5a564c0fc2f8678a2172016d57f35bc4e2c616dab1", kill_on_drop: false }` [INFO] [stdout] 1ab13bda31f0cfaf27c42e5a564c0fc2f8678a2172016d57f35bc4e2c616dab1