[INFO] cloning repository https://github.com/fjz345/zaoai [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fjz345/zaoai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffjz345%2Fzaoai", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffjz345%2Fzaoai'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6732bf4b430c431835c7e332557acda87a3a09bd [INFO] testing fjz345/zaoai against try#ecd7b559f89c73ac8f1d318f7501006f37b944b2 for pr-112849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffjz345%2Fzaoai" "/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/fjz345/zaoai on toolchain ecd7b559f89c73ac8f1d318f7501006f37b944b2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fjz345/zaoai [INFO] finished tweaking git repo https://github.com/fjz345/zaoai [INFO] tweaked toml for git repo https://github.com/fjz345/zaoai written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fjz345/zaoai 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" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 210cc8833c65536b3263f38a3ff6ec272b468cf329c0f4b15a3f2595fb298261 [INFO] running `Command { std: "docker" "start" "-a" "210cc8833c65536b3263f38a3ff6ec272b468cf329c0f4b15a3f2595fb298261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "210cc8833c65536b3263f38a3ff6ec272b468cf329c0f4b15a3f2595fb298261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "210cc8833c65536b3263f38a3ff6ec272b468cf329c0f4b15a3f2595fb298261", kill_on_drop: false }` [INFO] [stdout] 210cc8833c65536b3263f38a3ff6ec272b468cf329c0f4b15a3f2595fb298261 [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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fa11e0612df5acd95b84a504455821dcc5ef9c7f2323b42f5ccee8d3440b0eb [INFO] running `Command { std: "docker" "start" "-a" "3fa11e0612df5acd95b84a504455821dcc5ef9c7f2323b42f5ccee8d3440b0eb", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling bytemuck v1.10.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling dot-structures v0.1.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustix v0.37.11 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling symphonia-core v0.5.0 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling strength_reduce v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.1 [INFO] [stderr] Compiling syn v2.0.14 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling soloud-sys v1.0.2 (https://github.com/moalyousef/soloud-rs#ab6d5495) [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling symphonia-metadata v0.5.0 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling symphonia-utils-xiph v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling primal-check v0.3.1 [INFO] [stderr] Compiling transpose v0.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dot-generator v0.2.0 [INFO] [stderr] Compiling into-attr v0.1.0 [INFO] [stderr] Compiling rgb v0.8.33 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fallible_collections v0.4.5 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustfft v6.0.1 [INFO] [stderr] Compiling symphonia-codec-vorbis v0.5.0 [INFO] [stderr] Compiling symphonia-bundle-flac v0.5.0 [INFO] [stderr] Compiling resize v0.7.3 [INFO] [stderr] Compiling symphonia-format-ogg v0.5.0 [INFO] [stderr] Compiling symphonia-format-mkv v0.5.0 [INFO] [stderr] Compiling symphonia-format-wav v0.5.0 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.0 [INFO] [stderr] Compiling symphonia-codec-pcm v0.5.0 [INFO] [stderr] Compiling symphonia-codec-aac v0.5.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling svg v0.7.2 [INFO] [stderr] Compiling riff v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling tempfile v3.5.0 [INFO] [stderr] Compiling symphonia v0.5.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling wav v1.0.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling pest v2.5.7 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Compiling into-attr-derive v0.2.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling plotlib v0.5.1 [INFO] [stderr] Compiling pest_meta v2.5.7 [INFO] [stderr] Compiling pest_generator v2.5.7 [INFO] [stderr] Compiling clap v3.2.8 [INFO] [stderr] Compiling pest_derive v2.5.7 [INFO] [stderr] Compiling graphviz-rust v0.6.2 [INFO] [stderr] Compiling soloud v1.0.2 (https://github.com/moalyousef/soloud-rs#ab6d5495) [INFO] [stderr] Compiling sonogram v0.6.2 [INFO] [stderr] Compiling zaoai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `prevent_tiling` should have an upper case name [INFO] [stdout] --> src/graphviz.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | const prevent_tiling: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PREVENT_TILING` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ReturnString` should have a snake case name [INFO] [stdout] --> src/graphviz_concat.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let ReturnString: String = header0.to_owned() + &header1 + header2; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `return_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `prevent_tiling` should have an upper case name [INFO] [stdout] --> src/graphviz_concat.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | const prevent_tiling: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PREVENT_TILING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CalculateYForDataPoint` should have a snake case name [INFO] [stdout] --> src/simpletest.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn CalculateYForDataPoint(x1: f32, x2: f32) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_yfor_data_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CreateDataPoints` should have a snake case name [INFO] [stdout] --> src/simpletest.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn CreateDataPoints(seed: u64, num_datapoints: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_data_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TestNNOld` should have a snake case name [INFO] [stdout] --> src/simpletest.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn TestNNOld(nn: &mut NeuralNetwork) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `test_nnold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TestNN` should have a snake case name [INFO] [stdout] --> src/simpletest.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn TestNN(nn: &mut NeuralNetwork) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `test_nn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GetLayers` should have a snake case name [INFO] [stdout] --> src/zneural_network.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn GetLayers(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.97s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.7.2 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3fa11e0612df5acd95b84a504455821dcc5ef9c7f2323b42f5ccee8d3440b0eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fa11e0612df5acd95b84a504455821dcc5ef9c7f2323b42f5ccee8d3440b0eb", kill_on_drop: false }` [INFO] [stdout] 3fa11e0612df5acd95b84a504455821dcc5ef9c7f2323b42f5ccee8d3440b0eb [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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 204caf9b6e39081e8881f5ea34700e78d751cba47b0a4f7a4706626e6c62eb9b [INFO] running `Command { std: "docker" "start" "-a" "204caf9b6e39081e8881f5ea34700e78d751cba47b0a4f7a4706626e6c62eb9b", kill_on_drop: false }` [INFO] [stderr] Compiling zaoai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `prevent_tiling` should have an upper case name [INFO] [stdout] --> src/graphviz.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | const prevent_tiling: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PREVENT_TILING` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ReturnString` should have a snake case name [INFO] [stdout] --> src/graphviz_concat.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let ReturnString: String = header0.to_owned() + &header1 + header2; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `return_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `prevent_tiling` should have an upper case name [INFO] [stdout] --> src/graphviz_concat.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | const prevent_tiling: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PREVENT_TILING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CalculateYForDataPoint` should have a snake case name [INFO] [stdout] --> src/simpletest.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn CalculateYForDataPoint(x1: f32, x2: f32) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_yfor_data_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CreateDataPoints` should have a snake case name [INFO] [stdout] --> src/simpletest.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn CreateDataPoints(seed: u64, num_datapoints: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_data_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TestNNOld` should have a snake case name [INFO] [stdout] --> src/simpletest.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn TestNNOld(nn: &mut NeuralNetwork) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `test_nnold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TestNN` should have a snake case name [INFO] [stdout] --> src/simpletest.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn TestNN(nn: &mut NeuralNetwork) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `test_nn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GetLayers` should have a snake case name [INFO] [stdout] --> src/zneural_network.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn GetLayers(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.76s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.7.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "204caf9b6e39081e8881f5ea34700e78d751cba47b0a4f7a4706626e6c62eb9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "204caf9b6e39081e8881f5ea34700e78d751cba47b0a4f7a4706626e6c62eb9b", kill_on_drop: false }` [INFO] [stdout] 204caf9b6e39081e8881f5ea34700e78d751cba47b0a4f7a4706626e6c62eb9b [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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b3cf26ad80f9b5653ad0c0e2189cb406efc0c4c170e21abd6bf72b5e54797a8f [INFO] running `Command { std: "docker" "start" "-a" "b3cf26ad80f9b5653ad0c0e2189cb406efc0c4c170e21abd6bf72b5e54797a8f", kill_on_drop: false }` [INFO] [stderr] warning: constant `prevent_tiling` should have an upper case name [INFO] [stderr] --> src/graphviz.rs:95:11 [INFO] [stderr] | [INFO] [stderr] 95 | const prevent_tiling: bool = false; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PREVENT_TILING` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `ReturnString` should have a snake case name [INFO] [stderr] --> src/graphviz_concat.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | let ReturnString: String = header0.to_owned() + &header1 + header2; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `return_string` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `prevent_tiling` should have an upper case name [INFO] [stderr] --> src/graphviz_concat.rs:98:11 [INFO] [stderr] | [INFO] [stderr] 98 | const prevent_tiling: bool = false; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PREVENT_TILING` [INFO] [stderr] [INFO] [stderr] warning: function `CalculateYForDataPoint` should have a snake case name [INFO] [stderr] --> src/simpletest.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | fn CalculateYForDataPoint(x1: f32, x2: f32) -> (f32, f32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_yfor_data_point` [INFO] [stderr] [INFO] [stderr] warning: function `CreateDataPoints` should have a snake case name [INFO] [stderr] --> src/simpletest.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn CreateDataPoints(seed: u64, num_datapoints: i32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_data_points` [INFO] [stderr] [INFO] [stderr] warning: function `TestNNOld` should have a snake case name [INFO] [stderr] --> src/simpletest.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn TestNNOld(nn: &mut NeuralNetwork) { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `test_nnold` [INFO] [stderr] [INFO] [stderr] warning: function `TestNN` should have a snake case name [INFO] [stderr] --> src/simpletest.rs:65:8 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn TestNN(nn: &mut NeuralNetwork) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `test_nn` [INFO] [stderr] [INFO] [stderr] warning: method `GetLayers` should have a snake case name [INFO] [stderr] --> src/zneural_network.rs:324:12 [INFO] [stderr] | [INFO] [stderr] 324 | pub fn GetLayers(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `get_layers` [INFO] [stderr] [INFO] [stderr] warning: `zaoai` (bin "zaoai" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.7.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/zaoai-6ffc06a07d306dfc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b3cf26ad80f9b5653ad0c0e2189cb406efc0c4c170e21abd6bf72b5e54797a8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3cf26ad80f9b5653ad0c0e2189cb406efc0c4c170e21abd6bf72b5e54797a8f", kill_on_drop: false }` [INFO] [stdout] b3cf26ad80f9b5653ad0c0e2189cb406efc0c4c170e21abd6bf72b5e54797a8f