[INFO] fetching crate graph-base 0.1.13... [INFO] checking graph-base-0.1.13 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [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 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da175a31d80d344fead4a2f80541001d372a95a630bedb7dc19b3c28d3b36bc2 [INFO] running `Command { std: "docker" "start" "-a" "da175a31d80d344fead4a2f80541001d372a95a630bedb7dc19b3c28d3b36bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da175a31d80d344fead4a2f80541001d372a95a630bedb7dc19b3c28d3b36bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da175a31d80d344fead4a2f80541001d372a95a630bedb7dc19b3c28d3b36bc2", kill_on_drop: false }` [INFO] [stdout] da175a31d80d344fead4a2f80541001d372a95a630bedb7dc19b3c28d3b36bc2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfe2f16863cedbfea626182010a82c749ca1b2813a35fb61bbbd9434b6eab214 [INFO] running `Command { std: "docker" "start" "-a" "dfe2f16863cedbfea626182010a82c749ca1b2813a35fb61bbbd9434b6eab214", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking 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 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 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: 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: 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/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 `&>::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: 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 11.01s [INFO] running `Command { std: "docker" "inspect" "dfe2f16863cedbfea626182010a82c749ca1b2813a35fb61bbbd9434b6eab214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfe2f16863cedbfea626182010a82c749ca1b2813a35fb61bbbd9434b6eab214", kill_on_drop: false }` [INFO] [stdout] dfe2f16863cedbfea626182010a82c749ca1b2813a35fb61bbbd9434b6eab214