[INFO] cloning repository https://github.com/visnkmr/bison [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/visnkmr/bison" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvisnkmr%2Fbison", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvisnkmr%2Fbison'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3baf5c5ac885e5209b5d9991d725fd0df7de550 [INFO] checking visnkmr/bison against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvisnkmr%2Fbison" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/visnkmr/bison [INFO] finished tweaking git repo https://github.com/visnkmr/bison [INFO] tweaked toml for git repo https://github.com/visnkmr/bison written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/visnkmr/bison on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/visnkmr/bison 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfab6d74336cb739265124e6a0095f1303de5b24339db0dfdcdbd0b6e24f65b1 [INFO] running `Command { std: "docker" "start" "-a" "dfab6d74336cb739265124e6a0095f1303de5b24339db0dfdcdbd0b6e24f65b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfab6d74336cb739265124e6a0095f1303de5b24339db0dfdcdbd0b6e24f65b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfab6d74336cb739265124e6a0095f1303de5b24339db0dfdcdbd0b6e24f65b1", kill_on_drop: false }` [INFO] [stdout] dfab6d74336cb739265124e6a0095f1303de5b24339db0dfdcdbd0b6e24f65b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c2a8e433d29579c6771553a071cf136c2a1dba921ee29c62d179c14aee299bb [INFO] running `Command { std: "docker" "start" "-a" "6c2a8e433d29579c6771553a071cf136c2a1dba921ee29c62d179c14aee299bb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking py_literal v0.4.0 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking ndarray-npy v0.9.1 [INFO] [stderr] Checking onnxtest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ndarray_npy::NpzReader` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ndarray_npy::NpzReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:1871:71 [INFO] [stdout] | [INFO] [stdout] 1871 | let data: Vec = shape.iter().map(|s| s).flat_map(|s| match(s){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1871 - let data: Vec = shape.iter().map(|s| s).flat_map(|s| match(s){ [INFO] [stdout] 1871 + let data: Vec = shape.iter().map(|s| s).flat_map(|s| match s{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray_npy::NpzReader` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ndarray_npy::NpzReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:1871:71 [INFO] [stdout] | [INFO] [stdout] 1871 | let data: Vec = shape.iter().map(|s| s).flat_map(|s| match(s){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1871 - let data: Vec = shape.iter().map(|s| s).flat_map(|s| match(s){ [INFO] [stdout] 1871 + let data: Vec = shape.iter().map(|s| s).flat_map(|s| match s{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_owned_array::, D>>::into_raw_vec`: Use .into_raw_vec_and_offset() instead [INFO] [stdout] --> src/main.rs:1058:10 [INFO] [stdout] | [INFO] [stdout] 1058 | .into_raw_vec() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_owned_array::, D>>::into_raw_vec`: Use .into_raw_vec_and_offset() instead [INFO] [stdout] --> src/main.rs:1058:10 [INFO] [stdout] | [INFO] [stdout] 1058 | .into_raw_vec() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1280:73 [INFO] [stdout] | [INFO] [stdout] 1280 | let x_t = x.slice_axis(Axis(0), ndarray::Slice::from(t..t + 1)).into_shape((batch_size, input_size)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1281:93 [INFO] [stdout] | [INFO] [stdout] 1281 | ... let gates: Array2 = x_t.dot(&w.slice_axis(Axis(0), ndarray::Slice::from(0..1)).into_shape((4 * hidden_size, input_size)).unwra... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1282:66 [INFO] [stdout] | [INFO] [stdout] 1282 | + h_t.dot(&r.slice_axis(Axis(0), ndarray::Slice::from(0..1)).into_shape((4 * hidden_size, hidden_size)).unwrap().t()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1284:80 [INFO] [stdout] | [INFO] [stdout] 1284 | gates + bias.slice_axis(Axis(0), ndarray::Slice::from(0..4 * hidden_size)).into_shape((batch_size, 4 * hidden_size)).unwrap() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1286:11 [INFO] [stdout] | [INFO] [stdout] 1286 | gates.into_shape((batch_size, 4 * hidden_size)).unwrap() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1280:73 [INFO] [stdout] | [INFO] [stdout] 1280 | let x_t = x.slice_axis(Axis(0), ndarray::Slice::from(t..t + 1)).into_shape((batch_size, input_size)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1281:93 [INFO] [stdout] | [INFO] [stdout] 1281 | ... let gates: Array2 = x_t.dot(&w.slice_axis(Axis(0), ndarray::Slice::from(0..1)).into_shape((4 * hidden_size, input_size)).unwra... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1282:66 [INFO] [stdout] | [INFO] [stdout] 1282 | + h_t.dot(&r.slice_axis(Axis(0), ndarray::Slice::from(0..1)).into_shape((4 * hidden_size, hidden_size)).unwrap().t()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1284:80 [INFO] [stdout] | [INFO] [stdout] 1284 | gates + bias.slice_axis(Axis(0), ndarray::Slice::from(0..4 * hidden_size)).into_shape((batch_size, 4 * hidden_size)).unwrap() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1286:11 [INFO] [stdout] | [INFO] [stdout] 1286 | gates.into_shape((batch_size, 4 * hidden_size)).unwrap() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1932:29 [INFO] [stdout] | [INFO] [stdout] 1932 | result = result.into_shape(new_shape) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1956:29 [INFO] [stdout] | [INFO] [stdout] 1956 | result = result.into_shape(new_shape) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1987:14 [INFO] [stdout] | [INFO] [stdout] 1987 | .into_shape((shape1[0], shape1[1])) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1990:14 [INFO] [stdout] | [INFO] [stdout] 1990 | .into_shape((shape2[0], shape2[1])) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2013:14 [INFO] [stdout] | [INFO] [stdout] 2013 | .into_shape(if ndim1 == 3 { (batch1, m, k) } else { (1, m, k) }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2016:14 [INFO] [stdout] | [INFO] [stdout] 2016 | .into_shape(if ndim2 == 3 { (batch2, k, n) } else { (1, k, n) }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2020:83 [INFO] [stdout] | [INFO] [stdout] 2020 | let a1_slice = a1.slice_axis(Axis(0), ndarray::Slice::from(b..b + 1)).into_shape((m, k)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2021:83 [INFO] [stdout] | [INFO] [stdout] 2021 | let a2_slice = a2.slice_axis(Axis(0), ndarray::Slice::from(b..b + 1)).into_shape((k, n)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2062:10 [INFO] [stdout] | [INFO] [stdout] 2062 | .into_shape((shape1[0], shape1[1])) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2065:10 [INFO] [stdout] | [INFO] [stdout] 2065 | .into_shape((shape2[0], shape2[1])) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1932:29 [INFO] [stdout] | [INFO] [stdout] 1932 | result = result.into_shape(new_shape) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2088:10 [INFO] [stdout] | [INFO] [stdout] 2088 | .into_shape(if ndim1 == 3 { (batch1, m, k) } else { (1, m, k) }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2091:10 [INFO] [stdout] | [INFO] [stdout] 2091 | .into_shape(if ndim2 == 3 { (batch2, k, n) } else { (1, k, n) }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2095:79 [INFO] [stdout] | [INFO] [stdout] 2095 | let a1_slice = a1.slice_axis(Axis(0), ndarray::Slice::from(b..b + 1)).into_shape((m, k)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2096:79 [INFO] [stdout] | [INFO] [stdout] 2096 | let a2_slice = a2.slice_axis(Axis(0), ndarray::Slice::from(b..b + 1)).into_shape((k, n)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1956:29 [INFO] [stdout] | [INFO] [stdout] 1956 | result = result.into_shape(new_shape) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2107:18 [INFO] [stdout] | [INFO] [stdout] 2107 | .into_shape((bias_shape[bias_shape.len() - 2], bias_shape[bias_shape.len() - 1])) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1987:14 [INFO] [stdout] | [INFO] [stdout] 1987 | .into_shape((shape1[0], shape1[1])) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:1990:14 [INFO] [stdout] | [INFO] [stdout] 1990 | .into_shape((shape2[0], shape2[1])) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2013:14 [INFO] [stdout] | [INFO] [stdout] 2013 | .into_shape(if ndim1 == 3 { (batch1, m, k) } else { (1, m, k) }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2016:14 [INFO] [stdout] | [INFO] [stdout] 2016 | .into_shape(if ndim2 == 3 { (batch2, k, n) } else { (1, k, n) }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2020:83 [INFO] [stdout] | [INFO] [stdout] 2020 | let a1_slice = a1.slice_axis(Axis(0), ndarray::Slice::from(b..b + 1)).into_shape((m, k)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2021:83 [INFO] [stdout] | [INFO] [stdout] 2021 | let a2_slice = a2.slice_axis(Axis(0), ndarray::Slice::from(b..b + 1)).into_shape((k, n)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2062:10 [INFO] [stdout] | [INFO] [stdout] 2062 | .into_shape((shape1[0], shape1[1])) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2065:10 [INFO] [stdout] | [INFO] [stdout] 2065 | .into_shape((shape2[0], shape2[1])) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2088:10 [INFO] [stdout] | [INFO] [stdout] 2088 | .into_shape(if ndim1 == 3 { (batch1, m, k) } else { (1, m, k) }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2091:10 [INFO] [stdout] | [INFO] [stdout] 2091 | .into_shape(if ndim2 == 3 { (batch2, k, n) } else { (1, k, n) }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2095:79 [INFO] [stdout] | [INFO] [stdout] 2095 | let a1_slice = a1.slice_axis(Axis(0), ndarray::Slice::from(b..b + 1)).into_shape((m, k)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2096:79 [INFO] [stdout] | [INFO] [stdout] 2096 | let a2_slice = a2.slice_axis(Axis(0), ndarray::Slice::from(b..b + 1)).into_shape((k, n)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/main.rs:2107:18 [INFO] [stdout] | [INFO] [stdout] 2107 | .into_shape((bias_shape[bias_shape.len() - 2], bias_shape[bias_shape.len() - 1])) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Float` [INFO] [stdout] --> src/main.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | use num_traits::{Float, ToBytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Float` [INFO] [stdout] --> src/main.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | use num_traits::{Float, ToBytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> src/main.rs:1554:14 [INFO] [stdout] | [INFO] [stdout] 1554 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data1` [INFO] [stdout] --> src/main.rs:1554:22 [INFO] [stdout] | [INFO] [stdout] 1554 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_data1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data2` [INFO] [stdout] --> src/main.rs:1554:29 [INFO] [stdout] | [INFO] [stdout] 1554 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_data2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> src/main.rs:1582:14 [INFO] [stdout] | [INFO] [stdout] 1582 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data1` [INFO] [stdout] --> src/main.rs:1582:22 [INFO] [stdout] | [INFO] [stdout] 1582 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_data1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data2` [INFO] [stdout] --> src/main.rs:1582:29 [INFO] [stdout] | [INFO] [stdout] 1582 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_data2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> src/main.rs:1610:14 [INFO] [stdout] | [INFO] [stdout] 1610 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data1` [INFO] [stdout] --> src/main.rs:1610:22 [INFO] [stdout] | [INFO] [stdout] 1610 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_data1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data2` [INFO] [stdout] --> src/main.rs:1610:29 [INFO] [stdout] | [INFO] [stdout] 1610 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_data2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> src/main.rs:1638:14 [INFO] [stdout] | [INFO] [stdout] 1638 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data1` [INFO] [stdout] --> src/main.rs:1638:22 [INFO] [stdout] | [INFO] [stdout] 1638 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_data1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data2` [INFO] [stdout] --> src/main.rs:1638:29 [INFO] [stdout] | [INFO] [stdout] 1638 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_data2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_shape` [INFO] [stdout] --> src/main.rs:1857:13 [INFO] [stdout] | [INFO] [stdout] 1857 | let output_shape = { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> src/main.rs:1554:14 [INFO] [stdout] | [INFO] [stdout] 1554 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data1` [INFO] [stdout] --> src/main.rs:1554:22 [INFO] [stdout] | [INFO] [stdout] 1554 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_data1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data2` [INFO] [stdout] --> src/main.rs:1554:29 [INFO] [stdout] | [INFO] [stdout] 1554 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_data2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:1873:34 [INFO] [stdout] | [INFO] [stdout] 1873 | Dimensions::Symbolic(n) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> src/main.rs:1582:14 [INFO] [stdout] | [INFO] [stdout] 1582 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data1` [INFO] [stdout] --> src/main.rs:1582:22 [INFO] [stdout] | [INFO] [stdout] 1582 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_data1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data2` [INFO] [stdout] --> src/main.rs:1582:29 [INFO] [stdout] | [INFO] [stdout] 1582 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_data2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_elements` [INFO] [stdout] --> src/main.rs:1894:13 [INFO] [stdout] | [INFO] [stdout] 1894 | let total_elements = shape.iter().product::(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_elements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> src/main.rs:1610:14 [INFO] [stdout] | [INFO] [stdout] 1610 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data1` [INFO] [stdout] --> src/main.rs:1610:22 [INFO] [stdout] | [INFO] [stdout] 1610 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_data1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data2` [INFO] [stdout] --> src/main.rs:1610:29 [INFO] [stdout] | [INFO] [stdout] 1610 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_data2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> src/main.rs:1638:14 [INFO] [stdout] | [INFO] [stdout] 1638 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data1` [INFO] [stdout] --> src/main.rs:1638:22 [INFO] [stdout] | [INFO] [stdout] 1638 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_data1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data2` [INFO] [stdout] --> src/main.rs:1638:29 [INFO] [stdout] | [INFO] [stdout] 1638 | let (shape1, data1, data2) = match (inputs.get(0), inputs.get(1)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_data2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/main.rs:2140:13 [INFO] [stdout] | [INFO] [stdout] 2140 | fn op_slice(node: &NodeProto, inputs: &[OrtValue]) -> OrtResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_shape` [INFO] [stdout] --> src/main.rs:1857:13 [INFO] [stdout] | [INFO] [stdout] 1857 | let output_shape = { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:1873:34 [INFO] [stdout] | [INFO] [stdout] 1873 | Dimensions::Symbolic(n) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_elements` [INFO] [stdout] --> src/main.rs:1894:13 [INFO] [stdout] | [INFO] [stdout] 1894 | let total_elements = shape.iter().product::(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_elements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/main.rs:2319:9 [INFO] [stdout] | [INFO] [stdout] 2319 | let mode = node.attributes.iter().find(|a| a.name == "mode") [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:2368:17 [INFO] [stdout] | [INFO] [stdout] 2368 | for (i, input) in node.input.iter().skip(1).enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:2423:14 [INFO] [stdout] | [INFO] [stdout] 2423 | for (i, output) in body.output.iter().enumerate().take(state.len()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/main.rs:2140:13 [INFO] [stdout] | [INFO] [stdout] 2140 | fn op_slice(node: &NodeProto, inputs: &[OrtValue]) -> OrtResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_info` is never read [INFO] [stdout] --> src/main.rs:769:5 [INFO] [stdout] | [INFO] [stdout] 767 | struct ShapeInference { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 768 | shapes: HashMap>, [INFO] [stdout] 769 | value_info: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShapeInference` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vendor_ops` and `shape_inference` are never read [INFO] [stdout] --> src/main.rs:1028:5 [INFO] [stdout] | [INFO] [stdout] 1025 | pub struct OrtEngine { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1028 | vendor_ops: HashMap OrtResult>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1029 | shape_inference: ShapeInference, // Added [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `op_if`, `op_loop`, `op_scan`, and `execute_subgraph` are never used [INFO] [stdout] --> src/main.rs:2352:4 [INFO] [stdout] | [INFO] [stdout] 1069 | impl OrtEngine { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 2352 | fn op_if(&self,node: &NodeProto, inputs: &[OrtValue]) -> OrtResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2375 | fn op_loop(&self, node: &NodeProto, inputs: &[OrtValue]) -> OrtResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2464 | fn op_scan(self,node: &NodeProto, inputs: &[OrtValue]) -> OrtResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2490 | fn execute_subgraph(&self,graph: &GraphProto, inputs: HashMap) -> OrtResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/main.rs:2319:9 [INFO] [stdout] | [INFO] [stdout] 2319 | let mode = node.attributes.iter().find(|a| a.name == "mode") [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:2368:17 [INFO] [stdout] | [INFO] [stdout] 2368 | for (i, input) in node.input.iter().skip(1).enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:2423:14 [INFO] [stdout] | [INFO] [stdout] 2423 | for (i, output) in body.output.iter().enumerate().take(state.len()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_info` is never read [INFO] [stdout] --> src/main.rs:769:5 [INFO] [stdout] | [INFO] [stdout] 767 | struct ShapeInference { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 768 | shapes: HashMap>, [INFO] [stdout] 769 | value_info: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShapeInference` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vendor_ops` and `shape_inference` are never read [INFO] [stdout] --> src/main.rs:1028:5 [INFO] [stdout] | [INFO] [stdout] 1025 | pub struct OrtEngine { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1028 | vendor_ops: HashMap OrtResult>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1029 | shape_inference: ShapeInference, // Added [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `op_if`, `op_loop`, `op_scan`, and `execute_subgraph` are never used [INFO] [stdout] --> src/main.rs:2352:4 [INFO] [stdout] | [INFO] [stdout] 1069 | impl OrtEngine { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 2352 | fn op_if(&self,node: &NodeProto, inputs: &[OrtValue]) -> OrtResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2375 | fn op_loop(&self, node: &NodeProto, inputs: &[OrtValue]) -> OrtResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2464 | fn op_scan(self,node: &NodeProto, inputs: &[OrtValue]) -> OrtResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2490 | fn execute_subgraph(&self,graph: &GraphProto, inputs: HashMap) -> OrtResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.38s [INFO] running `Command { std: "docker" "inspect" "6c2a8e433d29579c6771553a071cf136c2a1dba921ee29c62d179c14aee299bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c2a8e433d29579c6771553a071cf136c2a1dba921ee29c62d179c14aee299bb", kill_on_drop: false }` [INFO] [stdout] 6c2a8e433d29579c6771553a071cf136c2a1dba921ee29c62d179c14aee299bb