[INFO] cloning repository https://github.com/Natesurf8/Rust-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/Natesurf8/Rust-Neural-Network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNatesurf8%2FRust-Neural-Network", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNatesurf8%2FRust-Neural-Network'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc5dbcb03efc3d821ece00f49c1262d1f7a125c1 [INFO] testing Natesurf8/Rust-Neural-Network against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNatesurf8%2FRust-Neural-Network" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Natesurf8/Rust-Neural-Network on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Natesurf8/Rust-Neural-Network [INFO] finished tweaking git repo https://github.com/Natesurf8/Rust-Neural-Network [INFO] tweaked toml for git repo https://github.com/Natesurf8/Rust-Neural-Network written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Natesurf8/Rust-Neural-Network already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded raw-window-handle v0.3.1 [INFO] [stderr] Downloaded image v0.22.3 [INFO] [stderr] Downloaded png v0.15.0 [INFO] [stderr] Downloaded num_cpus v1.11.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.16 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.69.0 [INFO] [stderr] Downloaded num-traits v0.2.9 [INFO] [stderr] Downloaded stb_truetype v0.3.0 [INFO] [stderr] Downloaded rusttype v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 30bede980f99de38d80460d58ff3f552a87d01566a3a4acdf03d073cafc8232c [INFO] running `Command { std: "docker" "start" "-a" "30bede980f99de38d80460d58ff3f552a87d01566a3a4acdf03d073cafc8232c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30bede980f99de38d80460d58ff3f552a87d01566a3a4acdf03d073cafc8232c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30bede980f99de38d80460d58ff3f552a87d01566a3a4acdf03d073cafc8232c", kill_on_drop: false }` [INFO] [stdout] 30bede980f99de38d80460d58ff3f552a87d01566a3a4acdf03d073cafc8232c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cf54f0d08c8878b8c8e6e2dd1439d8d9326ec1be71e504877fc92c7b994623bc [INFO] running `Command { std: "docker" "start" "-a" "cf54f0d08c8878b8c8e6e2dd1439d8d9326ec1be71e504877fc92c7b994623bc", kill_on_drop: false }` [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.69.0 [INFO] [stderr] Compiling neural_net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `ActivationSequence` [INFO] [stdout] --> src/network/activation_sequence.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ActivationSequence { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `activate` [INFO] [stdout] --> src/network/activation_sequence.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn activate(&self, input: &[&[f64]]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Placeholder` [INFO] [stdout] --> src/network/placeholder.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Placeholder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/network/placeholder.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(name: &str, shape: Vec) -> Placeholder { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_shape` [INFO] [stdout] --> src/network/placeholder.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_shape(&self) -> &[usize] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_data` [INFO] [stdout] --> src/network/placeholder.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_data(&self) -> &[f64] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_data_mut` [INFO] [stdout] --> src/network/placeholder.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_data_mut(&mut self) -> &mut [f64] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_data_clone` [INFO] [stdout] --> src/network/placeholder.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_data_clone(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `copy_data` [INFO] [stdout] --> src/network/placeholder.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn copy_data(&mut self, data: &[f64]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/network/placeholder.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ...self.data.len(), format!("data length's were mismatched, attempted: {}, currently: {}", data.len(), self.data.len())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 33 - assert!(data.len() == self.data.len(), format!("data length's were mismatched, attempted: {}, currently: {}", data.len(), self.data.len())); [INFO] [stdout] 33 + assert!(data.len() == self.data.len(), "data length's were mismatched, attempted: {}, currently: {}", data.len(), self.data.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.17s [INFO] running `Command { std: "docker" "inspect" "cf54f0d08c8878b8c8e6e2dd1439d8d9326ec1be71e504877fc92c7b994623bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf54f0d08c8878b8c8e6e2dd1439d8d9326ec1be71e504877fc92c7b994623bc", kill_on_drop: false }` [INFO] [stdout] cf54f0d08c8878b8c8e6e2dd1439d8d9326ec1be71e504877fc92c7b994623bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63bb6d69ea3bd2d74600088976e93d364ad2ff08ef6bd526937a90a1dbae71ea [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" "63bb6d69ea3bd2d74600088976e93d364ad2ff08ef6bd526937a90a1dbae71ea", kill_on_drop: false }` [INFO] [stderr] Compiling neural_net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `super::execution_sequence` [INFO] [stdout] --> src/network/tests.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use super::execution_sequence::ActivationSequence; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ could not find `execution_sequence` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `neural_net` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "63bb6d69ea3bd2d74600088976e93d364ad2ff08ef6bd526937a90a1dbae71ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63bb6d69ea3bd2d74600088976e93d364ad2ff08ef6bd526937a90a1dbae71ea", kill_on_drop: false }` [INFO] [stdout] 63bb6d69ea3bd2d74600088976e93d364ad2ff08ef6bd526937a90a1dbae71ea