[INFO] cloning repository https://github.com/OtterCode/population-sim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OtterCode/population-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOtterCode%2Fpopulation-sim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOtterCode%2Fpopulation-sim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8908d5e208f712de10ce51ada4819450824d4773
[INFO] testing OtterCode/population-sim against 1.54.0 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOtterCode%2Fpopulation-sim" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/OtterCode/population-sim on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/OtterCode/population-sim
[INFO] finished tweaking git repo https://github.com/OtterCode/population-sim
[INFO] tweaked toml for git repo https://github.com/OtterCode/population-sim written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/OtterCode/population-sim already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8f9d8bb78e08d6eeb9758aa7ce815b6fcbedd881814390987e5ce52a92eade9c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8f9d8bb78e08d6eeb9758aa7ce815b6fcbedd881814390987e5ce52a92eade9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8f9d8bb78e08d6eeb9758aa7ce815b6fcbedd881814390987e5ce52a92eade9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f9d8bb78e08d6eeb9758aa7ce815b6fcbedd881814390987e5ce52a92eade9c", kill_on_drop: false }`
[INFO] [stdout] 8f9d8bb78e08d6eeb9758aa7ce815b6fcbedd881814390987e5ce52a92eade9c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d78e9b6e313df4739930dc85aa9a4bee77d5cdcc64eac14c8d6199d1f87a360e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d78e9b6e313df4739930dc85aa9a4bee77d5cdcc64eac14c8d6199d1f87a360e", kill_on_drop: false }`
[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/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/population/cohort/heligman_pollard.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn cause(&self) -> Option<&Error> {
[INFO] [stdout]    |                                ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `consequences`
[INFO] [stdout]   --> src/population/attributes.rs:13:28
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn advance_year(&self, consequences: &HashMap<&str, Consequence>) -> (AttributeData, Consequence) {
[INFO] [stdout]    |                            ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_consequences`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `advance_year`
[INFO] [stdout]   --> src/population/attributes.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn advance_year(&self, consequences: &HashMap<&str, Consequence>) -> (AttributeData, Consequence) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Consequence`
[INFO] [stdout]   --> src/population/attributes.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct Consequence {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `PopSim` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]   = help: convert the identifier to snake case: `pop_sim`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 15.63s
[INFO] running `Command { std: "docker" "inspect" "d78e9b6e313df4739930dc85aa9a4bee77d5cdcc64eac14c8d6199d1f87a360e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d78e9b6e313df4739930dc85aa9a4bee77d5cdcc64eac14c8d6199d1f87a360e", kill_on_drop: false }`
[INFO] [stdout] d78e9b6e313df4739930dc85aa9a4bee77d5cdcc64eac14c8d6199d1f87a360e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 04349ee5bcc025b3539423d181b210fa647d08d7aac99e33a0c4cd7c45cf88c4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "04349ee5bcc025b3539423d181b210fa647d08d7aac99e33a0c4cd7c45cf88c4", kill_on_drop: false }`
[INFO] [stderr]    Compiling pop_sim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/population/cohort/heligman_pollard.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn cause(&self) -> Option<&Error> {
[INFO] [stdout]    |                                ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `consequences`
[INFO] [stdout]   --> src/population/attributes.rs:13:28
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn advance_year(&self, consequences: &HashMap<&str, Consequence>) -> (AttributeData, Consequence) {
[INFO] [stdout]    |                            ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_consequences`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `advance_year`
[INFO] [stdout]   --> src/population/attributes.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn advance_year(&self, consequences: &HashMap<&str, Consequence>) -> (AttributeData, Consequence) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Consequence`
[INFO] [stdout]   --> src/population/attributes.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct Consequence {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `PopSim` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]   = help: convert the identifier to snake case: `pop_sim`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `#[test]` attribute is only allowed on non associated functions
[INFO] [stdout]   --> src/skew_normal.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | /     fn domain (extent: f32, resolution: u16) -> Vec<f32> {
[INFO] [stdout] 55 | |         let res = resolution as f32;
[INFO] [stdout] 56 | |         let length = (extent * 2.0 * res + 1.0) as usize;
[INFO] [stdout] 57 | |
[INFO] [stdout] 58 | |         (0..length).map(|x| ((x as f32)/res) - extent.abs() ).collect()
[INFO] [stdout] 59 | |
[INFO] [stdout] 60 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `#[test]` attribute is only allowed on non associated functions
[INFO] [stdout]   --> src/skew_normal.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | /     pub fn symmetric_range (&self, extent: f32, resolution: u16) -> Vec<f32> {
[INFO] [stdout] 64 | |         let domain = Curve::domain(extent, resolution);
[INFO] [stdout] 65 | |         domain.iter().map(|x| self.density_at(*x)).collect()
[INFO] [stdout] 66 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `#[test]` attribute is only allowed on non associated functions
[INFO] [stdout]   --> src/skew_normal.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 | /     pub fn range_x_y_tuple (&self, extent: f32, resolution: u16) -> Vec<(f32, f32)> {
[INFO] [stdout] 70 | |         let domain = Curve::domain(extent, resolution);
[INFO] [stdout] 71 | |         domain.iter().map(|x| (*x, self.density_at(*x)) ).collect()
[INFO] [stdout] 72 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/population/cohort/heligman_pollard.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn cause(&self) -> Option<&Error> {
[INFO] [stdout]    |                                ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pop_sim`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "04349ee5bcc025b3539423d181b210fa647d08d7aac99e33a0c4cd7c45cf88c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04349ee5bcc025b3539423d181b210fa647d08d7aac99e33a0c4cd7c45cf88c4", kill_on_drop: false }`
[INFO] [stdout] 04349ee5bcc025b3539423d181b210fa647d08d7aac99e33a0c4cd7c45cf88c4
