[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#3857be5045fe74bd0f296f6f4c23db10f8857f73 for pr-156807 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvernidub%2Fgenetic-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/svernidub/genetic-rust on toolchain 3857be5045fe74bd0f296f6f4c23db10f8857f73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/svernidub/genetic-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6d60cbe62cde9166efd3eddbbbccd3c7a5e0efff3c4a0d3e904583b3563a4be [INFO] running `Command { std: "docker" "start" "-a" "c6d60cbe62cde9166efd3eddbbbccd3c7a5e0efff3c4a0d3e904583b3563a4be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6d60cbe62cde9166efd3eddbbbccd3c7a5e0efff3c4a0d3e904583b3563a4be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6d60cbe62cde9166efd3eddbbbccd3c7a5e0efff3c4a0d3e904583b3563a4be", kill_on_drop: false }` [INFO] [stdout] c6d60cbe62cde9166efd3eddbbbccd3c7a5e0efff3c4a0d3e904583b3563a4be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3157aeb839b6d7ef55a1bca6d3819e592962ab32f133e4ecb69813052a43a252 [INFO] running `Command { std: "docker" "start" "-a" "3157aeb839b6d7ef55a1bca6d3819e592962ab32f133e4ecb69813052a43a252", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling getrandom v0.2.2 [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] 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)]` (part of `#[warn(nonstandard_style)]`) 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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 98 | let _ = write!(f, "["); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = write!(f, "{}", x); [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:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let p = Population::new(0.0, 3.2, 0.1, 100, sin); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --- --- --- --- --- unexpected argument #5 of type `fn(f32) -> f32 {population::test::sin}` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | unexpected argument #4 of type `{integer}` [INFO] [stdout] | | | unexpected argument #3 of type `{float}` [INFO] [stdout] | | unexpected argument #2 of type `{float}` [INFO] [stdout] | expected `PopulationParams`, found floating-point number [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] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 117 - let p = Population::new(0.0, 3.2, 0.1, 100, sin); [INFO] [stdout] 117 + let p = Population::new(/* PopulationParams */); [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] | ^^^^^^^^^^^^^^^ --- --- --- --- --- unexpected argument #5 of type `fn(f32) -> f32 {population::test::sin}` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | unexpected argument #4 of type `{integer}` [INFO] [stdout] | | | unexpected argument #3 of type `{float}` [INFO] [stdout] | | unexpected argument #2 of type `{float}` [INFO] [stdout] | expected `PopulationParams`, found floating-point number [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] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 128 - let p1 = Population::new(0.0, 3.2, 0.1, 100, sin); [INFO] [stdout] 128 + let p1 = Population::new(/* PopulationParams */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `genetic` (bin "genetic" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "3157aeb839b6d7ef55a1bca6d3819e592962ab32f133e4ecb69813052a43a252", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3157aeb839b6d7ef55a1bca6d3819e592962ab32f133e4ecb69813052a43a252", kill_on_drop: false }` [INFO] [stdout] 3157aeb839b6d7ef55a1bca6d3819e592962ab32f133e4ecb69813052a43a252