[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/beta-1.38-1/sources/1.37.0/gh/OtterCode/population-sim"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/OtterCode/population-sim'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/OtterCode/population-sim" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/OtterCode/population-sim"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of OtterCode/population-sim on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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/beta-1.38-1/sources/1.37.0/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/beta-1.38-1/sources/beta-2019-08-13/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" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing OtterCode/population-sim against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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=warn" "-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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 80ffeb7c3cecd5b8cbf6fcaf6379cb63257a6a4816acc95202b5f0019cccf09e [INFO] running `"docker" "start" "-a" "80ffeb7c3cecd5b8cbf6fcaf6379cb63257a6a4816acc95202b5f0019cccf09e"` [INFO] [stderr] Compiling serde v1.0.53 [INFO] [stderr] Compiling webview-sys v0.1.0 [INFO] [stderr] Compiling syn v0.13.7 [INFO] [stderr] Compiling web-view v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.53 [INFO] [stderr] Compiling serde_yaml v0.7.4 [INFO] [stderr] Compiling 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] 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] warning: crate `PopSim` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `pop_sim` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.44s [INFO] running `"docker" "inspect" "80ffeb7c3cecd5b8cbf6fcaf6379cb63257a6a4816acc95202b5f0019cccf09e"` [INFO] running `"docker" "rm" "-f" "80ffeb7c3cecd5b8cbf6fcaf6379cb63257a6a4816acc95202b5f0019cccf09e"` [INFO] [stdout] 80ffeb7c3cecd5b8cbf6fcaf6379cb63257a6a4816acc95202b5f0019cccf09e [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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=warn" "-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" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] a424cff542862fe869d5acd6abbe5b1a5305debcecc428f87920990717655041 [INFO] running `"docker" "start" "-a" "a424cff542862fe869d5acd6abbe5b1a5305debcecc428f87920990717655041"` [INFO] [stderr] Compiling 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: crate `PopSim` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `pop_sim` [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "a424cff542862fe869d5acd6abbe5b1a5305debcecc428f87920990717655041"` [INFO] running `"docker" "rm" "-f" "a424cff542862fe869d5acd6abbe5b1a5305debcecc428f87920990717655041"` [INFO] [stdout] a424cff542862fe869d5acd6abbe5b1a5305debcecc428f87920990717655041