[INFO] cloning repository https://github.com/nmandrus1/louvain-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nmandrus1/louvain-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnmandrus1%2Flouvain-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnmandrus1%2Flouvain-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e6aea069250d4ff3399fdb62477df3b9db6134d [INFO] checking nmandrus1/louvain-rs against try#5e7498e6740d105521420ac0ab146e2c7a21596d for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnmandrus1%2Flouvain-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nmandrus1/louvain-rs on toolchain 5e7498e6740d105521420ac0ab146e2c7a21596d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nmandrus1/louvain-rs [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/nmandrus1/louvain-rs [INFO] tweaked toml for git repo https://github.com/nmandrus1/louvain-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nmandrus1/louvain-rs 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" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8d798c0873099969b373e541a7710cb4ab9d5f277acc26a23c8a250f85c202c [INFO] running `Command { std: "docker" "start" "-a" "a8d798c0873099969b373e541a7710cb4ab9d5f277acc26a23c8a250f85c202c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8d798c0873099969b373e541a7710cb4ab9d5f277acc26a23c8a250f85c202c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8d798c0873099969b373e541a7710cb4ab9d5f277acc26a23c8a250f85c202c", kill_on_drop: false }` [INFO] [stdout] a8d798c0873099969b373e541a7710cb4ab9d5f277acc26a23c8a250f85c202c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd513e5f393432c297500a6e5d2dbac06ba1a624fe32711c76454345cff395fb [INFO] running `Command { std: "docker" "start" "-a" "cd513e5f393432c297500a6e5d2dbac06ba1a624fe32711c76454345cff395fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling cc v1.1.1 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling build-probe-mpi v0.1.4 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling libffi-sys v2.3.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling mpi v0.8.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling mpi-derive v0.1.2 [INFO] [stderr] Compiling mpi-sys v0.2.2 [INFO] [stderr] Checking libffi v3.2.0 [INFO] [stderr] Checking louvain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mpi::traits::Equivalence` [INFO] [stdout] --> src/louvain/communities.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use mpi::traits::Equivalence; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Directed`, `EdgeRef`, `IntoEdgeReferences`, `IntoEdges`, `IntoNeighbors`, and `IntoNodeReferences` [INFO] [stdout] --> src/louvain/traits.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | visit::{EdgeRef, IntoEdgeReferences, IntoEdges, IntoNeighbors, IntoNodeReferences}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | Directed, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpi::traits::Equivalence` [INFO] [stdout] --> src/louvain/communities.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use mpi::traits::Equivalence; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::logger` [INFO] [stdout] --> src/louvain/communitystate.rs:615:9 [INFO] [stdout] | [INFO] [stdout] 615 | use crate::logger; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoEdgeReferences` and `IntoNeighbors` [INFO] [stdout] --> src/louvain/traits.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | visit::{EdgeRef, IntoEdgeReferences, IntoEdges, IntoNeighbors, IntoNodeReferences}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/louvain/messagemanager.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 433 | unimplemented!("Not needed for these tests"); [INFO] [stdout] | -------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 434 | std::iter::once((CommunityID(0), 0.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/louvain/messagemanager.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 446 | unimplemented!("Not needed for these tests"); [INFO] [stdout] | -------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 447 | std::iter::once(&CommunityID(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/louvain/messagemanager.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 455 | unimplemented!("Not needed for these tests"); [INFO] [stdout] | -------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 456 | std::iter::once(&CommunityID(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vtx` [INFO] [stdout] --> src/louvain/communities.rs:71:40 [INFO] [stdout] | [INFO] [stdout] 71 | IterationStep::Process(vtx) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vtx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/louvain/communities.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | self.syncrhonize(processed_vertex); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = self.syncrhonize(processed_vertex); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoEdges` [INFO] [stdout] --> src/louvain/traits.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | visit::{EdgeRef, IntoEdgeReferences, IntoEdges, IntoNeighbors, IntoNodeReferences}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vtx` [INFO] [stdout] --> src/louvain/communities.rs:71:40 [INFO] [stdout] | [INFO] [stdout] 71 | IterationStep::Process(vtx) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vtx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DistributedGraph` and `Edge` [INFO] [stdout] --> src/main.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use distributed_louvain::{DistributedGraph, Edge}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpi::traits::Communicator` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mpi::traits::Communicator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DistributedGraph` and `Edge` [INFO] [stdout] --> src/main.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use distributed_louvain::{DistributedGraph, Edge}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpi::traits::Communicator` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mpi::traits::Communicator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rank`, `owned_rows`, `row_ownership`, and `global_ecount` are never used [INFO] [stdout] --> src/louvain/graph.rs:533:12 [INFO] [stdout] | [INFO] [stdout] 528 | impl MockInfoBuilder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 533 | fn rank(mut self, rank: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 543 | fn owned_rows(mut self, owned_rows: (usize, usize)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 548 | fn row_ownership(mut self, row_ownership: Vec<(usize, usize)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 558 | fn global_ecount(mut self, global_ecount: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/louvain/communities.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | self.syncrhonize(processed_vertex); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = self.syncrhonize(processed_vertex); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Iterator` that must be used [INFO] [stdout] --> src/louvain/communitystate.rs:688:13 [INFO] [stdout] | [INFO] [stdout] 688 | state_manager.get_community_members(&CommunityID(10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `&mpi::topology::SimpleCommunicator` does not permit zero-initialization [INFO] [stdout] --> src/louvain/graph.rs:580:26 [INFO] [stdout] | [INFO] [stdout] 580 | unsafe { std::mem::MaybeUninit::zeroed().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: references must be non-null [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "cd513e5f393432c297500a6e5d2dbac06ba1a624fe32711c76454345cff395fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd513e5f393432c297500a6e5d2dbac06ba1a624fe32711c76454345cff395fb", kill_on_drop: false }` [INFO] [stdout] cd513e5f393432c297500a6e5d2dbac06ba1a624fe32711c76454345cff395fb