[INFO] cloning repository https://github.com/IkerVita/natural_selection_simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IkerVita/natural_selection_simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIkerVita%2Fnatural_selection_simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIkerVita%2Fnatural_selection_simulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ee3177e1dcecf2908fc579f82263365b26cbcac [INFO] documenting IkerVita/natural_selection_simulator against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIkerVita%2Fnatural_selection_simulator" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IkerVita/natural_selection_simulator on toolchain 66dfc4e010913fbed0c4ea91fc2c010004b0f441 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/IkerVita/natural_selection_simulator [INFO] finished tweaking git repo https://github.com/IkerVita/natural_selection_simulator [INFO] tweaked toml for git repo https://github.com/IkerVita/natural_selection_simulator written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/IkerVita/natural_selection_simulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4ee3b81ce41ff7ffb22f87cce2a9d32ee157d2c3e110e88cdbcea50b9f6b05c [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" "c4ee3b81ce41ff7ffb22f87cce2a9d32ee157d2c3e110e88cdbcea50b9f6b05c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4ee3b81ce41ff7ffb22f87cce2a9d32ee157d2c3e110e88cdbcea50b9f6b05c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4ee3b81ce41ff7ffb22f87cce2a9d32ee157d2c3e110e88cdbcea50b9f6b05c", kill_on_drop: false }` [INFO] [stdout] c4ee3b81ce41ff7ffb22f87cce2a9d32ee157d2c3e110e88cdbcea50b9f6b05c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3446d51aeae6589a76d6485923b3b08d5f05e2600f189e4e72a9ff6e33a2942b [INFO] running `Command { std: "docker" "start" "-a" "3446d51aeae6589a76d6485923b3b08d5f05e2600f189e4e72a9ff6e33a2942b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking gnuplot v0.0.32 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking colored v1.9.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Documenting natural_selection v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/animal.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | self.energy-=(self.genes.speed*self.genes.speed*self.genes.size*self.genes.size + self.genes.vision_radius/3.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/animal.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | self.energy-=(self.genes.speed*self.genes.speed + self.genes.vision_radius/3.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/animal.rs:192:36 [INFO] [stdout] | [INFO] [stdout] 192 | let prob_of_row_move = ((row_diff.abs() as f64)/(row_diff.abs() as f64 + col_diff.abs() as f64) * 100.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/animal.rs:301:27 [INFO] [stdout] | [INFO] [stdout] 301 | Misc.push((((self.genes.speed.fract()) * i as f64).floor() as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | while(world.run_world(count)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.45s [INFO] running `Command { std: "docker" "inspect" "3446d51aeae6589a76d6485923b3b08d5f05e2600f189e4e72a9ff6e33a2942b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3446d51aeae6589a76d6485923b3b08d5f05e2600f189e4e72a9ff6e33a2942b", kill_on_drop: false }` [INFO] [stdout] 3446d51aeae6589a76d6485923b3b08d5f05e2600f189e4e72a9ff6e33a2942b