[INFO] updating cached repository crispamares/louvain-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/crispamares/louvain-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/crispamares/louvain-rs" "work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/crispamares/louvain-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/crispamares/louvain-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/crispamares/louvain-rs" "work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/crispamares/louvain-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/crispamares/louvain-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e55a77ac5276c502d2f21ad53520e356e3b1d404 [INFO] sha for GitHub repo crispamares/louvain-rs: e55a77ac5276c502d2f21ad53520e356e3b1d404 [INFO] validating manifest of crispamares/louvain-rs on toolchain master#e305df1846a6d985315917ae0c81b74af8b4e641 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of crispamares/louvain-rs on toolchain try#99a7498759a22b5684caf798a98b7e90ad9d2443 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing crispamares/louvain-rs [INFO] finished frobbing crispamares/louvain-rs [INFO] frobbed toml for crispamares/louvain-rs written to work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/crispamares/louvain-rs/Cargo.toml [INFO] started frobbing crispamares/louvain-rs [INFO] finished frobbing crispamares/louvain-rs [INFO] frobbed toml for crispamares/louvain-rs written to work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/crispamares/louvain-rs/Cargo.toml [INFO] crate crispamares/louvain-rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking crispamares/louvain-rs against try#99a7498759a22b5684caf798a98b7e90ad9d2443 for pr-60039-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-60039-1/worker-7/try#99a7498759a22b5684caf798a98b7e90ad9d2443:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/crispamares/louvain-rs:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 2dad6dcff68f45bdd75afefa3e82d1748d23222427ddf4f7c4c982b6fa2c5e20 [INFO] running `"docker" "start" "-a" "2dad6dcff68f45bdd75afefa3e82d1748d23222427ddf4f7c4c982b6fa2c5e20"` [INFO] [stderr] Checking slotmap v0.3.0 [INFO] [stderr] Checking louvain v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/modularity.rs:352:21 [INFO] [stderr] | [INFO] [stderr] 352 | let mut hidden = cc.get_mut(& hidden_id).unwrap(); [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: variable does not need to be mutable [INFO] [stderr] --> src/modularity.rs:352:21 [INFO] [stderr] | [INFO] [stderr] 352 | let mut hidden = cc.get_mut(& hidden_id).unwrap(); [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] error[E0061]: this function takes 2 parameters but 1 parameter was supplied [INFO] [stderr] --> src/main.rs:57:26 [INFO] [stderr] | [INFO] [stderr] 57 | let mut modularity = Modularity::new(resolution); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:65:68 [INFO] [stderr] | [INFO] [stderr] 65 | let mut communities: Vec = vec![Default::default(); num_of_communities]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ expected usize, found i32 [INFO] [stderr] [INFO] [stderr] error[E0277]: the type `[louvain::io::Community]` cannot be indexed by `i32` [INFO] [stderr] --> src/main.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | communities[com].id = (com) as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::slice::SliceIndex<[louvain::io::Community]>` is not implemented for `i32` [INFO] [stderr] = note: required because of the requirements on the impl of `std::ops::Index` for `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0277]: the type `[louvain::io::Community]` cannot be indexed by `i32` [INFO] [stderr] --> src/main.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | communities[com].parent = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::slice::SliceIndex<[louvain::io::Community]>` is not implemented for `i32` [INFO] [stderr] = note: required because of the requirements on the impl of `std::ops::Index` for `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0277]: the type `[louvain::io::Community]` cannot be indexed by `i32` [INFO] [stderr] --> src/main.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | communities[com].nodes.push(node); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::slice::SliceIndex<[louvain::io::Community]>` is not implemented for `i32` [INFO] [stderr] = note: required because of the requirements on the impl of `std::ops::Index` for `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error[E0061]: this function takes 2 parameters but 1 parameter was supplied [INFO] [stderr] --> src/main.rs:57:26 [INFO] [stderr] | [INFO] [stderr] 57 | let mut modularity = Modularity::new(resolution); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:65:68 [INFO] [stderr] | [INFO] [stderr] 65 | let mut communities: Vec = vec![Default::default(); num_of_communities]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ expected usize, found i32 [INFO] [stderr] [INFO] [stderr] error: Could not compile `louvain`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: the type `[louvain::io::Community]` cannot be indexed by `i32` [INFO] [stderr] --> src/main.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | communities[com].id = (com) as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::slice::SliceIndex<[louvain::io::Community]>` is not implemented for `i32` [INFO] [stderr] = note: required because of the requirements on the impl of `std::ops::Index` for `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0277]: the type `[louvain::io::Community]` cannot be indexed by `i32` [INFO] [stderr] --> src/main.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | communities[com].parent = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::slice::SliceIndex<[louvain::io::Community]>` is not implemented for `i32` [INFO] [stderr] = note: required because of the requirements on the impl of `std::ops::Index` for `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0277]: the type `[louvain::io::Community]` cannot be indexed by `i32` [INFO] [stderr] --> src/main.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | communities[com].nodes.push(node); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::slice::SliceIndex<[louvain::io::Community]>` is not implemented for `i32` [INFO] [stderr] = note: required because of the requirements on the impl of `std::ops::Index` for `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `louvain`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2dad6dcff68f45bdd75afefa3e82d1748d23222427ddf4f7c4c982b6fa2c5e20"` [INFO] running `"docker" "rm" "-f" "2dad6dcff68f45bdd75afefa3e82d1748d23222427ddf4f7c4c982b6fa2c5e20"` [INFO] [stdout] 2dad6dcff68f45bdd75afefa3e82d1748d23222427ddf4f7c4c982b6fa2c5e20