[INFO] cloning repository https://github.com/NeuroWhAI/shorelark [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NeuroWhAI/shorelark" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeuroWhAI%2Fshorelark", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeuroWhAI%2Fshorelark'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11fc3d5c1be85ba49b1cf77115456967ad9e937e [INFO] checking NeuroWhAI/shorelark/11fc3d5c1be85ba49b1cf77115456967ad9e937e against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeuroWhAI%2Fshorelark" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NeuroWhAI/shorelark on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NeuroWhAI/shorelark [INFO] finished tweaking git repo https://github.com/NeuroWhAI/shorelark [INFO] tweaked toml for git repo https://github.com/NeuroWhAI/shorelark written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/NeuroWhAI/shorelark 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded test-case v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e789541ca0314d7e2a6ec5a67cd072eb9ed92b115d5f86157b85549e0e0e0635 [INFO] running `Command { std: "docker" "start" "-a" "e789541ca0314d7e2a6ec5a67cd072eb9ed92b115d5f86157b85549e0e0e0635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e789541ca0314d7e2a6ec5a67cd072eb9ed92b115d5f86157b85549e0e0e0635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e789541ca0314d7e2a6ec5a67cd072eb9ed92b115d5f86157b85549e0e0e0635", kill_on_drop: false }` [INFO] [stdout] e789541ca0314d7e2a6ec5a67cd072eb9ed92b115d5f86157b85549e0e0e0635 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db41f767f59f596c3025297aee92ca375c7ec0fb608758c95359d3137c3a3e0b [INFO] running `Command { std: "docker" "start" "-a" "db41f767f59f596c3025297aee92ca375c7ec0fb608758c95359d3137c3a3e0b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.74 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wasm-bindgen v0.2.74 [INFO] [stderr] Compiling test-case v1.2.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking simba v0.5.1 [INFO] [stderr] Checking lib-neural-network v0.1.0 (/opt/rustwide/workdir/libs/neural-network) [INFO] [stderr] Checking lib-genetic-algorithm v0.1.0 (/opt/rustwide/workdir/libs/genetic-algorithm) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> libs/neural-network/src/lib.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Network { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | fn new(layers: Vec) -> Network { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> libs/neural-network/src/lib.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl Layer { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 75 | fn new(neurons: Vec) -> Layer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> libs/neural-network/src/lib.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl Neuron { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 114 | fn new(bias: f32, weights: Vec) -> Neuron { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libs/genetic-algorithm/src/lib.rs:538:26 [INFO] [stdout] | [INFO] [stdout] 530 | let mut population = vec![ [INFO] [stdout] | _____________--------------___- [INFO] [stdout] | | | [INFO] [stdout] | | expected due to the type of this binding [INFO] [stdout] 531 | | individual(&[0.0, 0.0, 0.0]), // fitness = 0.0 [INFO] [stdout] 532 | | individual(&[1.0, 1.0, 1.0]), // fitness = 3.0 [INFO] [stdout] 533 | | individual(&[1.0, 2.0, 1.0]), // fitness = 4.0 [INFO] [stdout] 534 | | individual(&[1.0, 2.0, 4.0]), // fitness = 7.0 [INFO] [stdout] 535 | | ]; [INFO] [stdout] | |_________- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 538 | population = ga.evolve(&mut rng, &population); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `(Vec, Statistics)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found tuple `(Vec, Statistics)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lib-genetic-algorithm` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "db41f767f59f596c3025297aee92ca375c7ec0fb608758c95359d3137c3a3e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db41f767f59f596c3025297aee92ca375c7ec0fb608758c95359d3137c3a3e0b", kill_on_drop: false }` [INFO] [stdout] db41f767f59f596c3025297aee92ca375c7ec0fb608758c95359d3137c3a3e0b