[INFO] crate tract-onnx 0.5.6 is already in cache [INFO] checking tract-onnx-0.5.6 against master#30ca215b4e38b32aa7abdd635c5e2d56f5724494 for pr-66037 [INFO] extracting crate tract-onnx 0.5.6 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate tract-onnx 0.5.6 on toolchain 30ca215b4e38b32aa7abdd635c5e2d56f5724494 [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tract-onnx 0.5.6 [INFO] finished tweaking crates.io crate tract-onnx 0.5.6 [INFO] tweaked toml for crates.io crate tract-onnx 0.5.6 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6404ae850513fb67afcc8573bd407e3b1b756b2a4cea89630ccd971003a2adf5 [INFO] running `"docker" "start" "-a" "6404ae850513fb67afcc8573bd407e3b1b756b2a4cea89630ccd971003a2adf5"` [INFO] [stderr] Compiling liquid-error v0.19.0 [INFO] [stderr] Compiling deunicode v1.0.0 [INFO] [stderr] Checking unsafe_unwrap v0.1.0 [INFO] [stderr] Compiling protobuf v2.10.1 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling proc-quote-impl v0.2.2 [INFO] [stderr] Compiling proc-quote v0.2.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling protobuf-codegen v2.10.1 [INFO] [stderr] Compiling protobuf-codegen-pure v2.10.1 [INFO] [stderr] Compiling liquid-value v0.19.1 [INFO] [stderr] Compiling liquid-interpreter v0.19.0 [INFO] [stderr] Compiling tract-onnx v0.5.6 (/opt/rustwide/workdir) [INFO] [stderr] Compiling liquid-compiler v0.19.0 [INFO] [stderr] Compiling liquid-derive v0.19.0 [INFO] [stderr] Compiling liquid v0.19.0 [INFO] [stderr] Compiling tract-linalg v0.5.8 [INFO] [stderr] Checking tract-core v0.5.8 [INFO] [stderr] error: no rules expected the token `declutter` [INFO] [stderr] --> src/ops/nn/mod.rs:249:34 [INFO] [stderr] | [INFO] [stderr] 249 | bin_to_super_type!(prelu, Prelu, declutter: prelu_to_prelu_unary, [INFO] [stderr] | ^^^^^^^^^ no rules expected this token in macro call [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `declutter` [INFO] [stderr] --> src/ops/nn/mod.rs:249:34 [INFO] [stderr] | [INFO] [stderr] 249 | bin_to_super_type!(prelu, Prelu, declutter: prelu_to_prelu_unary, [INFO] [stderr] | ^^^^^^^^^ no rules expected this token in macro call [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tract_core::ops::scan::Inference` [INFO] [stderr] --> src/ops/rec/scan.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tract_core::ops::scan::Inference; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module (notice the capitalization): `inference` [INFO] [stderr] | no `Inference` in `ops::scan` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/math.rs:51:62 [INFO] [stderr] | [INFO] [stderr] 51 | reg.insert("MatMul", |_, _| Ok((Box::new(tractops::math::MatMul::default()), vec![]))); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/math.rs:136:24 [INFO] [stderr] | [INFO] [stderr] 136 | ops::math::MatMul::new(self.trans_a, self.trans_b, false), [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `prelu` [INFO] [stderr] --> src/ops/nn/mod.rs:44:45 [INFO] [stderr] | [INFO] [stderr] 44 | reg.insert("PRelu", |_, _| Ok((Box::new(prelu::bin()), vec![]))); [INFO] [stderr] | ^^^^^ use of undeclared type or module `prelu` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/gru.rs:247:30 [INFO] [stderr] | [INFO] [stderr] 247 | wire!(Xt_WzT = math::MatMul::new(false, true, false), Xt, Wz); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/gru.rs:248:32 [INFO] [stderr] | [INFO] [stderr] 248 | wire!(Ht_1_RzT = math::MatMul::new(false, true, false), Ht_1, Rz); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/gru.rs:261:30 [INFO] [stderr] | [INFO] [stderr] 261 | wire!(Xt_WrT = math::MatMul::new(false, true, false), Xt, Wr); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/gru.rs:262:32 [INFO] [stderr] | [INFO] [stderr] 262 | wire!(Ht_1_RrT = math::MatMul::new(false, true, false), Ht_1, Rr); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/gru.rs:276:30 [INFO] [stderr] | [INFO] [stderr] 276 | wire!(Xt_WhT = math::MatMul::new(false, true, false), Xt, Wh); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/gru.rs:278:36 [INFO] [stderr] | [INFO] [stderr] 278 | wire!(Ht_1_RhT = math::MatMul::new(false, true, false), Ht_1, Rh); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/gru.rs:283:39 [INFO] [stderr] | [INFO] [stderr] 283 | wire!(rt_Ht_1_RhT = math::MatMul::new(false, true, false), rt_Ht_1, Rh); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Typed` in `scan` [INFO] [stderr] --> src/ops/rec/gru.rs:318:19 [INFO] [stderr] | [INFO] [stderr] 318 | scan::Typed::new( [INFO] [stderr] | ^^^^^ could not find `Typed` in `scan` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/lstm.rs:349:30 [INFO] [stderr] | [INFO] [stderr] 349 | wire!(Xt_WiT = math::MatMul::new(false, true, false), Xt, Wi); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/lstm.rs:350:32 [INFO] [stderr] | [INFO] [stderr] 350 | wire!(Ht_1_RiT = math::MatMul::new(false, true, false), Ht_1, Ri); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/lstm.rs:365:30 [INFO] [stderr] | [INFO] [stderr] 365 | wire!(Xt_WfT = math::MatMul::new(false, true, false), Xt, Wf); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/lstm.rs:366:32 [INFO] [stderr] | [INFO] [stderr] 366 | wire!(Ht_1_RfT = math::MatMul::new(false, true, false), Ht_1, Rf); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/lstm.rs:381:30 [INFO] [stderr] | [INFO] [stderr] 381 | wire!(Xt_WcT = math::MatMul::new(false, true, false), Xt, Wc); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/lstm.rs:382:32 [INFO] [stderr] | [INFO] [stderr] 382 | wire!(Ht_1_RcT = math::MatMul::new(false, true, false), Ht_1, Rc); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/lstm.rs:397:30 [INFO] [stderr] | [INFO] [stderr] 397 | wire!(Xt_WoT = math::MatMul::new(false, true, false), Xt, Wo); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/lstm.rs:398:32 [INFO] [stderr] | [INFO] [stderr] 398 | wire!(Ht_1_RoT = math::MatMul::new(false, true, false), Ht_1, Ro); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Typed` in `scan` [INFO] [stderr] --> src/ops/rec/lstm.rs:439:19 [INFO] [stderr] | [INFO] [stderr] 439 | scan::Typed::new( [INFO] [stderr] | ^^^^^ could not find `Typed` in `scan` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tract_core::ops::scan::Inference` [INFO] [stderr] --> src/ops/rec/scan.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tract_core::ops::scan::Inference; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module (notice the capitalization): `inference` [INFO] [stderr] | no `Inference` in `ops::scan` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/rnn.rs:246:30 [INFO] [stderr] | [INFO] [stderr] 246 | wire!(Xt_WiT = math::MatMul::new(false, true, false), Xt, W); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/rnn.rs:247:32 [INFO] [stderr] | [INFO] [stderr] 247 | wire!(Ht_1_RiT = math::MatMul::new(false, true, false), Ht_1, R); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Typed` in `scan` [INFO] [stderr] --> src/ops/rec/rnn.rs:271:19 [INFO] [stderr] | [INFO] [stderr] 271 | scan::Typed::new( [INFO] [stderr] | ^^^^^ could not find `Typed` in `scan` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/math.rs:51:62 [INFO] [stderr] | [INFO] [stderr] 51 | reg.insert("MatMul", |_, _| Ok((Box::new(tractops::math::MatMul::default()), vec![]))); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/math.rs:136:24 [INFO] [stderr] | [INFO] [stderr] 136 | ops::math::MatMul::new(self.trans_a, self.trans_b, false), [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `prelu` [INFO] [stderr] --> src/ops/nn/mod.rs:44:45 [INFO] [stderr] | [INFO] [stderr] 44 | reg.insert("PRelu", |_, _| Ok((Box::new(prelu::bin()), vec![]))); [INFO] [stderr] | ^^^^^ use of undeclared type or module `prelu` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/gru.rs:247:30 [INFO] [stderr] | [INFO] [stderr] 247 | wire!(Xt_WzT = math::MatMul::new(false, true, false), Xt, Wz); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/gru.rs:248:32 [INFO] [stderr] | [INFO] [stderr] 248 | wire!(Ht_1_RzT = math::MatMul::new(false, true, false), Ht_1, Rz); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/gru.rs:261:30 [INFO] [stderr] | [INFO] [stderr] 261 | wire!(Xt_WrT = math::MatMul::new(false, true, false), Xt, Wr); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/gru.rs:262:32 [INFO] [stderr] | [INFO] [stderr] 262 | wire!(Ht_1_RrT = math::MatMul::new(false, true, false), Ht_1, Rr); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Prelu` in this scope [INFO] [stderr] --> src/ops/nn/mod.rs:260:14 [INFO] [stderr] | [INFO] [stderr] 260 | _prelu: &Prelu, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/gru.rs:276:30 [INFO] [stderr] | [INFO] [stderr] 276 | wire!(Xt_WhT = math::MatMul::new(false, true, false), Xt, Wh); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/gru.rs:278:36 [INFO] [stderr] | [INFO] [stderr] 278 | wire!(Ht_1_RhT = math::MatMul::new(false, true, false), Ht_1, Rh); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/gru.rs:283:39 [INFO] [stderr] | [INFO] [stderr] 283 | wire!(rt_Ht_1_RhT = math::MatMul::new(false, true, false), rt_Ht_1, Rh); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Typed` in `scan` [INFO] [stderr] --> src/ops/rec/gru.rs:318:19 [INFO] [stderr] | [INFO] [stderr] 318 | scan::Typed::new( [INFO] [stderr] | ^^^^^ could not find `Typed` in `scan` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/lstm.rs:349:30 [INFO] [stderr] | [INFO] [stderr] 349 | wire!(Xt_WiT = math::MatMul::new(false, true, false), Xt, Wi); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/lstm.rs:350:32 [INFO] [stderr] | [INFO] [stderr] 350 | wire!(Ht_1_RiT = math::MatMul::new(false, true, false), Ht_1, Ri); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/lstm.rs:365:30 [INFO] [stderr] | [INFO] [stderr] 365 | wire!(Xt_WfT = math::MatMul::new(false, true, false), Xt, Wf); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/lstm.rs:366:32 [INFO] [stderr] | [INFO] [stderr] 366 | wire!(Ht_1_RfT = math::MatMul::new(false, true, false), Ht_1, Rf); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/lstm.rs:381:30 [INFO] [stderr] | [INFO] [stderr] 381 | wire!(Xt_WcT = math::MatMul::new(false, true, false), Xt, Wc); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/lstm.rs:382:32 [INFO] [stderr] | [INFO] [stderr] 382 | wire!(Ht_1_RcT = math::MatMul::new(false, true, false), Ht_1, Rc); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/lstm.rs:397:30 [INFO] [stderr] | [INFO] [stderr] 397 | wire!(Xt_WoT = math::MatMul::new(false, true, false), Xt, Wo); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/lstm.rs:398:32 [INFO] [stderr] | [INFO] [stderr] 398 | wire!(Ht_1_RoT = math::MatMul::new(false, true, false), Ht_1, Ro); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Typed` in `scan` [INFO] [stderr] --> src/ops/rec/lstm.rs:439:19 [INFO] [stderr] | [INFO] [stderr] 439 | scan::Typed::new( [INFO] [stderr] | ^^^^^ could not find `Typed` in `scan` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/rnn.rs:246:30 [INFO] [stderr] | [INFO] [stderr] 246 | wire!(Xt_WiT = math::MatMul::new(false, true, false), Xt, W); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MatMul` in `math` [INFO] [stderr] --> src/ops/rec/rnn.rs:247:32 [INFO] [stderr] | [INFO] [stderr] 247 | wire!(Ht_1_RiT = math::MatMul::new(false, true, false), Ht_1, R); [INFO] [stderr] | ^^^^^^ could not find `MatMul` in `math` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Typed` in `scan` [INFO] [stderr] --> src/ops/rec/rnn.rs:271:19 [INFO] [stderr] | [INFO] [stderr] 271 | scan::Typed::new( [INFO] [stderr] | ^^^^^ could not find `Typed` in `scan` [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/ops/rec/gru.rs:443:43 [INFO] [stderr] | [INFO] [stderr] 443 | .into_array::()?;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolon)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Prelu` in this scope [INFO] [stderr] --> src/ops/nn/mod.rs:260:14 [INFO] [stderr] | [INFO] [stderr] 260 | _prelu: &Prelu, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/ops/rec/gru.rs:443:43 [INFO] [stderr] | [INFO] [stderr] 443 | .into_array::()?;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolon)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/math.rs:71:22 [INFO] [stderr] | [INFO] [stderr] 71 | [f32] => |_, xs| xs.iter_mut().for_each(|x| *x = erf_f32(*x)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::result::Result`, found `()` [INFO] [stderr] | help: try using a variant of the expected enum: `Ok(xs.iter_mut().for_each(|x| *x = erf_f32(*x)))` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), tract_core::TractError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/math.rs:75:31 [INFO] [stderr] | [INFO] [stderr] 75 | [f32] => bool |_, xs, ys| xs.iter().zip(ys.iter_mut()).for_each(|(x,y)| *y = x.is_nan()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::result::Result`, found `()` [INFO] [stderr] | help: try using a variant of the expected enum: `Ok(xs.iter().zip(ys.iter_mut()).for_each(|(x,y)| *y = x.is_nan()))` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), tract_core::TractError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/nn/mod.rs:55:71 [INFO] [stderr] | [INFO] [stderr] 55 | reg.insert("Relu", |_, _| Ok((Box::new(tractops::math::scalar_max(0.0)), vec![]))); [INFO] [stderr] | ^^^ expected struct `tract_core::tensor::Tensor`, found floating-point number [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `tract_core::ops::cnn::Conv` in the current scope [INFO] [stderr] --> src/ops/nn/mod.rs:126:39 [INFO] [stderr] | [INFO] [stderr] 126 | Box::new(tractops::cnn::Conv::new( [INFO] [stderr] | ^^^ function or associated item not found in `tract_core::ops::cnn::Conv` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/math.rs:71:22 [INFO] [stderr] | [INFO] [stderr] 71 | [f32] => |_, xs| xs.iter_mut().for_each(|x| *x = erf_f32(*x)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::result::Result`, found `()` [INFO] [stderr] | help: try using a variant of the expected enum: `Ok(xs.iter_mut().for_each(|x| *x = erf_f32(*x)))` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), tract_core::TractError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/math.rs:75:31 [INFO] [stderr] | [INFO] [stderr] 75 | [f32] => bool |_, xs, ys| xs.iter().zip(ys.iter_mut()).for_each(|(x,y)| *y = x.is_nan()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::result::Result`, found `()` [INFO] [stderr] | help: try using a variant of the expected enum: `Ok(xs.iter().zip(ys.iter_mut()).for_each(|(x,y)| *y = x.is_nan()))` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), tract_core::TractError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/nn/mod.rs:254:9 [INFO] [stderr] | [INFO] [stderr] 254 | xs.iter_mut().for_each(|x| *x = if *x < 0.0 { *x * op.b } else { *x })}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::result::Result`, found `()` [INFO] [stderr] | help: try using a variant of the expected enum: `Ok(xs.iter_mut().for_each(|x| *x = if *x < 0.0 { *x * op.b } else { *x }))` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), tract_core::TractError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/nn/mod.rs:55:71 [INFO] [stderr] | [INFO] [stderr] 55 | reg.insert("Relu", |_, _| Ok((Box::new(tractops::math::scalar_max(0.0)), vec![]))); [INFO] [stderr] | ^^^ expected struct `tract_core::tensor::Tensor`, found floating-point number [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `tract_core::ops::cnn::Conv` in the current scope [INFO] [stderr] --> src/ops/nn/mod.rs:126:39 [INFO] [stderr] | [INFO] [stderr] 126 | Box::new(tractops::cnn::Conv::new( [INFO] [stderr] | ^^^ function or associated item not found in `tract_core::ops::cnn::Conv` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/nn/mod.rs:256:9 [INFO] [stderr] | [INFO] [stderr] 256 | xs.iter_mut().for_each(|x| *x = if *x < 0.0 { *x * op.b as f64 } else { *x })} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::result::Result`, found `()` [INFO] [stderr] | help: try using a variant of the expected enum: `Ok(xs.iter_mut().for_each(|x| *x = if *x < 0.0 { *x * op.b as f64 } else { *x }))` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), tract_core::TractError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/nn/mod.rs:254:9 [INFO] [stderr] | [INFO] [stderr] 254 | xs.iter_mut().for_each(|x| *x = if *x < 0.0 { *x * op.b } else { *x })}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::result::Result`, found `()` [INFO] [stderr] | help: try using a variant of the expected enum: `Ok(xs.iter_mut().for_each(|x| *x = if *x < 0.0 { *x * op.b } else { *x }))` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), tract_core::TractError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/nn/mod.rs:283:30 [INFO] [stderr] | [INFO] [stderr] 283 | [f16,f32,f64] => |s, xs| xs.iter_mut().for_each(|x| *x = shrink_value(*x, s)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::result::Result`, found `()` [INFO] [stderr] | help: try using a variant of the expected enum: `Ok(xs.iter_mut().for_each(|x| *x = shrink_value(*x, s)))` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), tract_core::TractError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/nn/mod.rs:256:9 [INFO] [stderr] | [INFO] [stderr] 256 | xs.iter_mut().for_each(|x| *x = if *x < 0.0 { *x * op.b as f64 } else { *x })} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::result::Result`, found `()` [INFO] [stderr] | help: try using a variant of the expected enum: `Ok(xs.iter_mut().for_each(|x| *x = if *x < 0.0 { *x * op.b as f64 } else { *x }))` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), tract_core::TractError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/nn/mod.rs:283:30 [INFO] [stderr] | [INFO] [stderr] 283 | [f16,f32,f64] => |s, xs| xs.iter_mut().for_each(|x| *x = shrink_value(*x, s)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::result::Result`, found `()` [INFO] [stderr] | help: try using a variant of the expected enum: `Ok(xs.iter_mut().for_each(|x| *x = shrink_value(*x, s)))` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), tract_core::TractError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/quant.rs:115:34 [INFO] [stderr] | [INFO] [stderr] 115 | [f32,i32] => u8 |op, xs, ys| xs.iter().zip(ys.iter_mut()).for_each(|(x,y)| [INFO] [stderr] | __________________________________^ [INFO] [stderr] 116 | | *y = (((*x as f32 * op.scale).round() as i32) + op.zero_point as i32) as u8 [INFO] [stderr] 117 | | ); [INFO] [stderr] | |_____^ expected enum `std::result::Result`, found `()` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), tract_core::TractError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] help: try using a variant of the expected enum [INFO] [stderr] | [INFO] [stderr] 115 | [f32,i32] => u8 |op, xs, ys| Ok(xs.iter().zip(ys.iter_mut()).for_each(|(x,y)| [INFO] [stderr] 116 | *y = (((*x as f32 * op.scale).round() as i32) + op.zero_point as i32) as u8 [INFO] [stderr] 117 | )); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/quant.rs:115:34 [INFO] [stderr] | [INFO] [stderr] 115 | [f32,i32] => u8 |op, xs, ys| xs.iter().zip(ys.iter_mut()).for_each(|(x,y)| [INFO] [stderr] | __________________________________^ [INFO] [stderr] 116 | | *y = (((*x as f32 * op.scale).round() as i32) + op.zero_point as i32) as u8 [INFO] [stderr] 117 | | ); [INFO] [stderr] | |_____^ expected enum `std::result::Result`, found `()` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), tract_core::TractError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] help: try using a variant of the expected enum [INFO] [stderr] | [INFO] [stderr] 115 | [f32,i32] => u8 |op, xs, ys| Ok(xs.iter().zip(ys.iter_mut()).for_each(|(x,y)| [INFO] [stderr] 116 | *y = (((*x as f32 * op.scale).round() as i32) + op.zero_point as i32) as u8 [INFO] [stderr] 117 | )); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/quant.rs:122:34 [INFO] [stderr] | [INFO] [stderr] 122 | [f32,i32] => i8 |op, xs, ys| xs.iter().zip(ys.iter_mut()).for_each(|(x,y)| [INFO] [stderr] | __________________________________^ [INFO] [stderr] 123 | | *y = (((*x as f32 * op.scale).round() as i32) + op.zero_point as i32) as i8 [INFO] [stderr] 124 | | ); [INFO] [stderr] | |_____^ expected enum `std::result::Result`, found `()` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), tract_core::TractError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] help: try using a variant of the expected enum [INFO] [stderr] | [INFO] [stderr] 122 | [f32,i32] => i8 |op, xs, ys| Ok(xs.iter().zip(ys.iter_mut()).for_each(|(x,y)| [INFO] [stderr] 123 | *y = (((*x as f32 * op.scale).round() as i32) + op.zero_point as i32) as i8 [INFO] [stderr] 124 | )); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/quant.rs:122:34 [INFO] [stderr] | [INFO] [stderr] 122 | [f32,i32] => i8 |op, xs, ys| xs.iter().zip(ys.iter_mut()).for_each(|(x,y)| [INFO] [stderr] | __________________________________^ [INFO] [stderr] 123 | | *y = (((*x as f32 * op.scale).round() as i32) + op.zero_point as i32) as i8 [INFO] [stderr] 124 | | ); [INFO] [stderr] | |_____^ expected enum `std::result::Result`, found `()` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), tract_core::TractError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] help: try using a variant of the expected enum [INFO] [stderr] | [INFO] [stderr] 122 | [f32,i32] => i8 |op, xs, ys| Ok(xs.iter().zip(ys.iter_mut()).for_each(|(x,y)| [INFO] [stderr] 123 | *y = (((*x as f32 * op.scale).round() as i32) + op.zero_point as i32) as i8 [INFO] [stderr] 124 | )); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/quant.rs:224:37 [INFO] [stderr] | [INFO] [stderr] 224 | [i8,i32,u8] => f32 |op, xs, ys| xs.iter().zip(ys.iter_mut()).for_each(|(x,y)| [INFO] [stderr] | _____________________________________^ [INFO] [stderr] 225 | | *y = (*x as i32 - op.zero_point) as f32 * op.scale [INFO] [stderr] 226 | | ); [INFO] [stderr] | |_____^ expected enum `std::result::Result`, found `()` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), tract_core::TractError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] help: try using a variant of the expected enum [INFO] [stderr] | [INFO] [stderr] 224 | [i8,i32,u8] => f32 |op, xs, ys| Ok(xs.iter().zip(ys.iter_mut()).for_each(|(x,y)| [INFO] [stderr] 225 | *y = (*x as i32 - op.zero_point) as f32 * op.scale [INFO] [stderr] 226 | )); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ops/quant.rs:224:37 [INFO] [stderr] | [INFO] [stderr] 224 | [i8,i32,u8] => f32 |op, xs, ys| xs.iter().zip(ys.iter_mut()).for_each(|(x,y)| [INFO] [stderr] | _____________________________________^ [INFO] [stderr] 225 | | *y = (*x as i32 - op.zero_point) as f32 * op.scale [INFO] [stderr] 226 | | ); [INFO] [stderr] | |_____^ expected enum `std::result::Result`, found `()` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), tract_core::TractError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] help: try using a variant of the expected enum [INFO] [stderr] | [INFO] [stderr] 224 | [i8,i32,u8] => f32 |op, xs, ys| Ok(xs.iter().zip(ys.iter_mut()).for_each(|(x,y)| [INFO] [stderr] 225 | *y = (*x as i32 - op.zero_point) as f32 * op.scale [INFO] [stderr] 226 | )); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 36 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `tract-onnx`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 36 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `tract-onnx`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6404ae850513fb67afcc8573bd407e3b1b756b2a4cea89630ccd971003a2adf5"` [INFO] running `"docker" "rm" "-f" "6404ae850513fb67afcc8573bd407e3b1b756b2a4cea89630ccd971003a2adf5"` [INFO] [stdout] 6404ae850513fb67afcc8573bd407e3b1b756b2a4cea89630ccd971003a2adf5