[INFO] cloning repository https://github.com/svernidub/genetic-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/svernidub/genetic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvernidub%2Fgenetic-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvernidub%2Fgenetic-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd33b7cc9997d59ff2eeab859bcbab04f05fd79f [INFO] checking svernidub/genetic-rust against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvernidub%2Fgenetic-rust" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/svernidub/genetic-rust on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/svernidub/genetic-rust [INFO] finished tweaking git repo https://github.com/svernidub/genetic-rust [INFO] tweaked toml for git repo https://github.com/svernidub/genetic-rust written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/svernidub/genetic-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c7dad6a7ae8859fe35f992a475b73870d45012fcbe05be61391f97348d32509 [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" "2c7dad6a7ae8859fe35f992a475b73870d45012fcbe05be61391f97348d32509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c7dad6a7ae8859fe35f992a475b73870d45012fcbe05be61391f97348d32509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c7dad6a7ae8859fe35f992a475b73870d45012fcbe05be61391f97348d32509", kill_on_drop: false }` [INFO] [stdout] 2c7dad6a7ae8859fe35f992a475b73870d45012fcbe05be61391f97348d32509 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=forbid" "-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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf1653b661dba993062cf9ae73035bb823484a52e3ca4616bf9da1ffb8a45841 [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" "cf1653b661dba993062cf9ae73035bb823484a52e3ca4616bf9da1ffb8a45841", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking genetic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 1 argument but 5 arguments were supplied [INFO] [stdout] --> src/algo/population.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let p = Population::new(0.0, 3.2, 0.1, 100, sin); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --- --- --- --- --- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/algo/population.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) fn new(params: PopulationParams) -> Self { [INFO] [stdout] | ^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 5 arguments were supplied [INFO] [stdout] --> src/algo/population.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | let p1 = Population::new(0.0, 3.2, 0.1, 100, sin); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --- --- --- --- --- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/algo/population.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) fn new(params: PopulationParams) -> Self { [INFO] [stdout] | ^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: method `getX` should have a snake case name [INFO] [stdout] --> src/algo/individual.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | pub(super) fn getX(&self) -> f32 { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `get_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/algo/population.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | write!(f, "["); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `genetic` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/algo/population.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | write!(f, "{}", x); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cf1653b661dba993062cf9ae73035bb823484a52e3ca4616bf9da1ffb8a45841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf1653b661dba993062cf9ae73035bb823484a52e3ca4616bf9da1ffb8a45841", kill_on_drop: false }` [INFO] [stdout] cf1653b661dba993062cf9ae73035bb823484a52e3ca4616bf9da1ffb8a45841