[INFO] cloning repository https://github.com/sebastian9991/rustNeuralNetwork [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sebastian9991/rustNeuralNetwork" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebastian9991%2FrustNeuralNetwork", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebastian9991%2FrustNeuralNetwork'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2273ea8244d42d4ddf447f704a829f36d828e53b [INFO] checking sebastian9991/rustNeuralNetwork against try#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebastian9991%2FrustNeuralNetwork" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sebastian9991/rustNeuralNetwork on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sebastian9991/rustNeuralNetwork [INFO] finished tweaking git repo https://github.com/sebastian9991/rustNeuralNetwork [INFO] tweaked toml for git repo https://github.com/sebastian9991/rustNeuralNetwork written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sebastian9991/rustNeuralNetwork 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" "+1f5783cbeb5da8b38566d718631d016891e9c912" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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 wide v0.7.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4aaf6dafc38f32b217e4a56d2ae7ab3d6e90d6961279b97e1cf4815d9cbeffa2 [INFO] running `Command { std: "docker" "start" "-a" "4aaf6dafc38f32b217e4a56d2ae7ab3d6e90d6961279b97e1cf4815d9cbeffa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4aaf6dafc38f32b217e4a56d2ae7ab3d6e90d6961279b97e1cf4815d9cbeffa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aaf6dafc38f32b217e4a56d2ae7ab3d6e90d6961279b97e1cf4815d9cbeffa2", kill_on_drop: false }` [INFO] [stdout] 4aaf6dafc38f32b217e4a56d2ae7ab3d6e90d6961279b97e1cf4815d9cbeffa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa8979e628784204d4fb6ad61bf613d2c4822549a794643addc8b5fc38caf57b [INFO] running `Command { std: "docker" "start" "-a" "fa8979e628784204d4fb6ad61bf613d2c4822549a794643addc8b5fc38caf57b", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.89 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling wasm-bindgen v0.2.89 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking wide v0.7.13 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking neural-network v0.1.0 (/opt/rustwide/workdir/libs/neural-network) [INFO] [stderr] Checking genetic-algorithm v0.1.0 (/opt/rustwide/workdir/libs/genetic-algorithm) [INFO] [stdout] error[E0659]: `panic` is ambiguous [INFO] [stdout] --> libs/neural-network/src/lib.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | approx::assert_relative_eq!(neuron.propagate(&[-10.0, -10.0]), 0.0,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] = note: `panic` could refer to a macro from prelude [INFO] [stdout] note: `panic` could also refer to the macro imported here [INFO] [stdout] --> libs/neural-network/src/lib.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] = note: this error originates in the macro `assert` which comes from the expansion of the macro `approx::assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `panic` is ambiguous [INFO] [stdout] --> libs/neural-network/src/lib.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | / approx::assert_relative_eq!( [INFO] [stdout] 188 | | neuron.propagate(&[0.5, 1.0]), [INFO] [stdout] 189 | | (-0.3 * 0.5) + (0.8 * 1.0) + 0.5 [INFO] [stdout] 190 | | ); [INFO] [stdout] | |_____________^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] = note: `panic` could refer to a macro from prelude [INFO] [stdout] note: `panic` could also refer to the macro imported here [INFO] [stdout] --> libs/neural-network/src/lib.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] = note: this error originates in the macro `assert` which comes from the expansion of the macro `approx::assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `panic` is ambiguous [INFO] [stdout] --> libs/neural-network/src/lib.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | approx::assert_relative_eq!(actual.as_slice(), expected.as_slice()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] = note: `panic` could refer to a macro from prelude [INFO] [stdout] note: `panic` could also refer to the macro imported here [INFO] [stdout] --> libs/neural-network/src/lib.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] = note: this error originates in the macro `assert` which comes from the expansion of the macro `approx::assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `panic` is ambiguous [INFO] [stdout] --> libs/neural-network/src/lib.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | approx::assert_relative_eq!(actual.as_slice(), weights.as_slice()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] = note: `panic` could refer to a macro from prelude [INFO] [stdout] note: `panic` could also refer to the macro imported here [INFO] [stdout] --> libs/neural-network/src/lib.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] = note: this error originates in the macro `assert` which comes from the expansion of the macro `approx::assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `panic` is ambiguous [INFO] [stdout] --> libs/neural-network/src/lib.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | / assert_relative_eq!( [INFO] [stdout] 167 | | neuron.weights.as_slice(), [INFO] [stdout] 168 | | [0.67383957, 0.8181262, 0.26284897, 0.5238807].as_ref() [INFO] [stdout] 169 | | ); [INFO] [stdout] | |_____________^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] = note: `panic` could refer to a macro from prelude [INFO] [stdout] note: `panic` could also refer to the macro imported here [INFO] [stdout] --> libs/neural-network/src/lib.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] = note: this error originates in the macro `assert` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `panic` is ambiguous [INFO] [stdout] --> libs/neural-network/src/lib.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | assert_relative_eq!(neuron.bias, -0.6255188); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] = note: `panic` could refer to a macro from prelude [INFO] [stdout] note: `panic` could also refer to the macro imported here [INFO] [stdout] --> libs/neural-network/src/lib.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] = note: this error originates in the macro `assert` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> libs/neural-network/src/lib.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> libs/neural-network/src/lib.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> libs/genetic-algorithm/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::FromIterator` [INFO] [stdout] --> libs/genetic-algorithm/src/lib.rs:315:46 [INFO] [stdout] | [INFO] [stdout] 315 | use std::{collections::BTreeMap, iter::FromIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Layer` is more private than the item `Network::new` [INFO] [stdout] --> libs/neural-network/src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(layers: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `Network::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Layer` is only usable at visibility `pub(crate)` [INFO] [stdout] --> libs/neural-network/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Layer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> libs/neural-network/src/lib.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Layer { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 76 | pub fn new(neurons: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `random_test` are never used [INFO] [stdout] --> libs/neural-network/src/lib.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl Neuron { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 105 | pub fn new(bias: f32, weights: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn random_test(rng: &mut dyn rand::RngCore, input_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neural-network` (lib test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `core::slice::SlicePattern` [INFO] [stdout] --> libs/genetic-algorithm/src/lib.rs:463:21 [INFO] [stdout] | [INFO] [stdout] 463 | use core::slice::SlicePattern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fa8979e628784204d4fb6ad61bf613d2c4822549a794643addc8b5fc38caf57b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa8979e628784204d4fb6ad61bf613d2c4822549a794643addc8b5fc38caf57b", kill_on_drop: false }` [INFO] [stdout] fa8979e628784204d4fb6ad61bf613d2c4822549a794643addc8b5fc38caf57b