[INFO] cloning repository https://github.com/kaczor6418/neural-network [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaczor6418/neural-network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaczor6418%2Fneural-network", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaczor6418%2Fneural-network'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15b155854991952e1648ce43ed7bc7a56c3600b4 [INFO] checking kaczor6418/neural-network against master#5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea for pr-124336 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaczor6418%2Fneural-network" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kaczor6418/neural-network on toolchain 5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kaczor6418/neural-network [INFO] finished tweaking git repo https://github.com/kaczor6418/neural-network [INFO] tweaked toml for git repo https://github.com/kaczor6418/neural-network written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kaczor6418/neural-network 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" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking kaczor6418/neural-network against try#311f8b6ca41358db8ae08490a9ca0916f11e9de3 for pr-124336 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaczor6418%2Fneural-network" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kaczor6418/neural-network on toolchain 311f8b6ca41358db8ae08490a9ca0916f11e9de3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kaczor6418/neural-network [INFO] finished tweaking git repo https://github.com/kaczor6418/neural-network [INFO] tweaked toml for git repo https://github.com/kaczor6418/neural-network written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kaczor6418/neural-network 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" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "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] 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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74a6dd7349c0eb8c2cad323658c74b6ef1ab5b6faf02d50c69c1412db1899dc2 [INFO] running `Command { std: "docker" "start" "-a" "74a6dd7349c0eb8c2cad323658c74b6ef1ab5b6faf02d50c69c1412db1899dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74a6dd7349c0eb8c2cad323658c74b6ef1ab5b6faf02d50c69c1412db1899dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74a6dd7349c0eb8c2cad323658c74b6ef1ab5b6faf02d50c69c1412db1899dc2", kill_on_drop: false }` [INFO] [stdout] 74a6dd7349c0eb8c2cad323658c74b6ef1ab5b6faf02d50c69c1412db1899dc2 [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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e1b59463d834826041f69d6164b2c23b3401d8b722c20642ea8d194c32f50af [INFO] running `Command { std: "docker" "start" "-a" "8e1b59463d834826041f69d6164b2c23b3401d8b722c20642ea8d194c32f50af", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking neural-network v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0592]: duplicate definitions with name `get_neurons_weights` [INFO] [stdout] --> src/neural_network/layer.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_neurons_weights(&self) -> Matrix { [INFO] [stdout] | ------------------------------------------- other definition for `get_neurons_weights` [INFO] [stdout] ... [INFO] [stdout] 122 | fn get_neurons_weights(&self) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_neurons_weights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_neurons_weights` [INFO] [stdout] --> src/neural_network/layer.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_neurons_weights(&self) -> Matrix { [INFO] [stdout] | ------------------------------------------- other definition for `get_neurons_weights` [INFO] [stdout] ... [INFO] [stdout] 122 | fn get_neurons_weights(&self) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_neurons_weights` [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 E0592`. [INFO] [stdout] [INFO] [stderr] error: could not compile `neural-network` (bin "neural-network") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/neural_network/layer/layer_test.rs:21:63 [INFO] [stdout] | [INFO] [stdout] 21 | let layer = Layer::new(layer_config_with_3_neurons(), 2); [INFO] [stdout] | ---------- ^ expected `&usize`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/neural_network/layer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(config: LayerConfig, inputs_count: &usize) -> Layer { [INFO] [stdout] | ^^^ -------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 21 | let layer = Layer::new(layer_config_with_3_neurons(), &2); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/neural_network/layer/layer_test.rs:38:67 [INFO] [stdout] | [INFO] [stdout] 38 | let mut layer = Layer::new(layer_config_with_3_neurons(), 2); [INFO] [stdout] | ---------- ^ expected `&usize`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/neural_network/layer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(config: LayerConfig, inputs_count: &usize) -> Layer { [INFO] [stdout] | ^^^ -------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 38 | let mut layer = Layer::new(layer_config_with_3_neurons(), &2); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/neural_network/layer/layer_test.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 40 | layer.add_neurons( [INFO] [stdout] | ----------- arguments to this method are incorrect [INFO] [stdout] 41 | 2, [INFO] [stdout] 42 | 2, [INFO] [stdout] | ^ expected `&usize`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/neural_network/layer.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn add_neurons( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | inputs_count: &usize, [INFO] [stdout] | -------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 42 | &2, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/neural_network/layer/layer_test.rs:58:63 [INFO] [stdout] | [INFO] [stdout] 58 | let layer = Layer::new(layer_config_with_3_neurons(), 2); [INFO] [stdout] | ---------- ^ expected `&usize`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/neural_network/layer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(config: LayerConfig, inputs_count: &usize) -> Layer { [INFO] [stdout] | ^^^ -------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 58 | let layer = Layer::new(layer_config_with_3_neurons(), &2); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/neural_network/layer/layer_test.rs:70:67 [INFO] [stdout] | [INFO] [stdout] 70 | let mut layer = Layer::new(layer_config_with_3_neurons(), 2); [INFO] [stdout] | ---------- ^ expected `&usize`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/neural_network/layer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(config: LayerConfig, inputs_count: &usize) -> Layer { [INFO] [stdout] | ^^^ -------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 70 | let mut layer = Layer::new(layer_config_with_3_neurons(), &2); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/neural_network/layer/layer_test.rs:100:67 [INFO] [stdout] | [INFO] [stdout] 100 | let mut layer = Layer::new(layer_config_with_3_neurons(), 2); [INFO] [stdout] | ---------- ^ expected `&usize`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/neural_network/layer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(config: LayerConfig, inputs_count: &usize) -> Layer { [INFO] [stdout] | ^^^ -------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 100 | let mut layer = Layer::new(layer_config_with_3_neurons(), &2); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/neural_network/layer/layer_test.rs:125:63 [INFO] [stdout] | [INFO] [stdout] 125 | let layer = Layer::new(layer_config_with_3_neurons(), 3); [INFO] [stdout] | ---------- ^ expected `&usize`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/neural_network/layer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(config: LayerConfig, inputs_count: &usize) -> Layer { [INFO] [stdout] | ^^^ -------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 125 | let layer = Layer::new(layer_config_with_3_neurons(), &3); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/neural_network/layer/layer_test.rs:141:67 [INFO] [stdout] | [INFO] [stdout] 141 | let mut layer = Layer::new(layer_config_with_3_neurons(), 2); [INFO] [stdout] | ---------- ^ expected `&usize`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/neural_network/layer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(config: LayerConfig, inputs_count: &usize) -> Layer { [INFO] [stdout] | ^^^ -------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 141 | let mut layer = Layer::new(layer_config_with_3_neurons(), &2); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/neural_network/layer/layer_test.rs:171:67 [INFO] [stdout] | [INFO] [stdout] 171 | let mut layer = Layer::new(layer_config_with_3_neurons(), 2); [INFO] [stdout] | ---------- ^ expected `&usize`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/neural_network/layer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(config: LayerConfig, inputs_count: &usize) -> Layer { [INFO] [stdout] | ^^^ -------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 171 | let mut layer = Layer::new(layer_config_with_3_neurons(), &2); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/neural_network/layer/layer_test.rs:200:67 [INFO] [stdout] | [INFO] [stdout] 200 | let mut layer = Layer::new(layer_config_with_3_neurons(), 2); [INFO] [stdout] | ---------- ^ expected `&usize`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/neural_network/layer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(config: LayerConfig, inputs_count: &usize) -> Layer { [INFO] [stdout] | ^^^ -------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 200 | let mut layer = Layer::new(layer_config_with_3_neurons(), &2); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0592. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `neural-network` (bin "neural-network" test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "8e1b59463d834826041f69d6164b2c23b3401d8b722c20642ea8d194c32f50af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e1b59463d834826041f69d6164b2c23b3401d8b722c20642ea8d194c32f50af", kill_on_drop: false }` [INFO] [stdout] 8e1b59463d834826041f69d6164b2c23b3401d8b722c20642ea8d194c32f50af