[INFO] updating cached repository OtterCode/population-sim [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/OtterCode/population-sim [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/OtterCode/population-sim" "work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/gh/OtterCode/population-sim"` [INFO] [stderr] Cloning into 'work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/gh/OtterCode/population-sim'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/OtterCode/population-sim" "work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/gh/OtterCode/population-sim"` [INFO] [stderr] Cloning into 'work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/gh/OtterCode/population-sim'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8908d5e208f712de10ce51ada4819450824d4773 [INFO] sha for GitHub repo OtterCode/population-sim: 8908d5e208f712de10ce51ada4819450824d4773 [INFO] validating manifest of OtterCode/population-sim on toolchain master#5f9c0448dde167128d668da4555879f64e56af1d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of OtterCode/population-sim on toolchain try#8ec8125bea94852768b56958f05da47666c21ab0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing OtterCode/population-sim [INFO] finished frobbing OtterCode/population-sim [INFO] frobbed toml for OtterCode/population-sim written to work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/gh/OtterCode/population-sim/Cargo.toml [INFO] started frobbing OtterCode/population-sim [INFO] finished frobbing OtterCode/population-sim [INFO] frobbed toml for OtterCode/population-sim written to work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/gh/OtterCode/population-sim/Cargo.toml [INFO] crate OtterCode/population-sim already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking OtterCode/population-sim against master#5f9c0448dde167128d668da4555879f64e56af1d for pr-62133 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62133/worker-6/master#5f9c0448dde167128d668da4555879f64e56af1d:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/gh/OtterCode/population-sim:/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" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c9cc2167866aea29583a220397114b0cdc7ae89238c7135c0a345caa3d05f0dd [INFO] running `"docker" "start" "-a" "c9cc2167866aea29583a220397114b0cdc7ae89238c7135c0a345caa3d05f0dd"` [INFO] [stderr] Compiling webview-sys v0.1.0 [INFO] [stderr] Checking web-view v0.2.1 [INFO] [stderr] Checking pop_sim v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: #[test] attribute is only allowed on non associated functions [INFO] [stderr] --> src/skew_normal.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | / fn domain (extent: f32, resolution: u16) -> Vec { [INFO] [stderr] 55 | | let res = resolution as f32; [INFO] [stderr] 56 | | let length = (extent * 2.0 * res + 1.0) as usize; [INFO] [stderr] 57 | | [INFO] [stderr] 58 | | (0..length).map(|x| ((x as f32)/res) - extent.abs() ).collect() [INFO] [stderr] 59 | | [INFO] [stderr] 60 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `pop_sim`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/population/cohort/heligman_pollard.rs:16:32 [INFO] [stderr] | [INFO] [stderr] 16 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `consequences` [INFO] [stderr] --> src/population/attributes.rs:13:28 [INFO] [stderr] | [INFO] [stderr] 13 | fn advance_year(&self, consequences: &HashMap<&str, Consequence>) -> (AttributeData, Consequence) { [INFO] [stderr] | ^^^^^^^^^^^^ help: consider prefixing with an underscore: `_consequences` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `advance_year` [INFO] [stderr] --> src/population/attributes.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | fn advance_year(&self, consequences: &HashMap<&str, Consequence>) -> (AttributeData, Consequence) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Consequence` [INFO] [stderr] --> src/population/attributes.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | struct Consequence { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "c9cc2167866aea29583a220397114b0cdc7ae89238c7135c0a345caa3d05f0dd"` [INFO] running `"docker" "rm" "-f" "c9cc2167866aea29583a220397114b0cdc7ae89238c7135c0a345caa3d05f0dd"` [INFO] [stdout] c9cc2167866aea29583a220397114b0cdc7ae89238c7135c0a345caa3d05f0dd