[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-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/crispamares/louvain-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/crispamares/louvain-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/crispamares/louvain-rs" "work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/crispamares/louvain-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/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#435236b8877cdb98c82eaebfb7887782277265c5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of crispamares/louvain-rs on toolchain try#b5c7f157c20453dde8d47371abe73b32351b4e7f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-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-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/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-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/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" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] checking crispamares/louvain-rs against try#b5c7f157c20453dde8d47371abe73b32351b4e7f for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-0/try#b5c7f157c20453dde8d47371abe73b32351b4e7f:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/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" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] a670ad729f664a65456b6825976626f62e9e1127c55ee8d40a66d9f546c4d51b [INFO] running `"docker" "start" "-a" "a670ad729f664a65456b6825976626f62e9e1127c55ee8d40a66d9f546c4d51b"` [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling serde v1.0.78 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking slotmap v0.3.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.15.3 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.78 [INFO] [stderr] Checking serde_json v1.0.27 [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[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] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 65 | let mut communities: Vec = vec![Default::default(); num_of_communities.try_into().unwrap()]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 65 | let mut communities: Vec = vec![Default::default(); num_of_communities.try_into().unwrap()]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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[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] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `louvain`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a670ad729f664a65456b6825976626f62e9e1127c55ee8d40a66d9f546c4d51b"` [INFO] running `"docker" "rm" "-f" "a670ad729f664a65456b6825976626f62e9e1127c55ee8d40a66d9f546c4d51b"` [INFO] [stdout] a670ad729f664a65456b6825976626f62e9e1127c55ee8d40a66d9f546c4d51b