[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-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/OtterCode/population-sim"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/OtterCode/population-sim'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/OtterCode/population-sim" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/OtterCode/population-sim"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/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#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of OtterCode/population-sim on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-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-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/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-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/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" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking OtterCode/population-sim against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-1/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/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" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 4aaf89dd9ecabd9173c927f19e1289f17509601484788e54628d1829a570d4d4 [INFO] running `"docker" "start" "-a" "4aaf89dd9ecabd9173c927f19e1289f17509601484788e54628d1829a570d4d4"` [INFO] [stderr] Compiling webview-sys v0.1.0 [INFO] [stderr] Checking serde_yaml v0.7.4 [INFO] [stderr] Checking web-view v0.2.1 [INFO] [stderr] Checking pop_sim v0.1.0 (/opt/crater/workdir) [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] 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: 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" "4aaf89dd9ecabd9173c927f19e1289f17509601484788e54628d1829a570d4d4"` [INFO] running `"docker" "rm" "-f" "4aaf89dd9ecabd9173c927f19e1289f17509601484788e54628d1829a570d4d4"` [INFO] [stdout] 4aaf89dd9ecabd9173c927f19e1289f17509601484788e54628d1829a570d4d4