[INFO] cloning repository https://github.com/lblommesteyn/rust-transformers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lblommesteyn/rust-transformers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flblommesteyn%2Frust-transformers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flblommesteyn%2Frust-transformers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c47ec1f2defd49906d7e2be8f1464454a10412c [INFO] testing lblommesteyn/rust-transformers against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flblommesteyn%2Frust-transformers" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lblommesteyn/rust-transformers [INFO] finished tweaking git repo https://github.com/lblommesteyn/rust-transformers [INFO] tweaked toml for git repo https://github.com/lblommesteyn/rust-transformers written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lblommesteyn/rust-transformers on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lblommesteyn/rust-transformers 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 83 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v1.1.4 [INFO] [stderr] Adding anstream v0.6.21 [INFO] [stderr] Adding anstyle v1.0.14 [INFO] [stderr] Adding anstyle-parse v0.2.7 [INFO] [stderr] Adding anstyle-query v1.1.5 [INFO] [stderr] Adding anstyle-wincon v3.0.11 [INFO] [stderr] Adding base64 v0.13.1 [INFO] [stderr] Adding bumpalo v3.20.2 [INFO] [stderr] Adding cc v1.2.59 [INFO] [stderr] Adding clap v4.5.60 (available: v4.6.0) [INFO] [stderr] Adding clap_builder v4.5.60 (available: v4.6.0) [INFO] [stderr] Adding clap_derive v4.5.55 (available: v4.6.0) [INFO] [stderr] Adding clap_lex v1.1.0 [INFO] [stderr] Adding colorchoice v1.0.5 [INFO] [stderr] Adding console v0.15.11 [INFO] [stderr] Adding darling v0.14.4 [INFO] [stderr] Adding darling_core v0.14.4 [INFO] [stderr] Adding darling_macro v0.14.4 [INFO] [stderr] Adding derive_builder v0.12.0 [INFO] [stderr] Adding derive_builder_core v0.12.0 [INFO] [stderr] Adding derive_builder_macro v0.12.0 [INFO] [stderr] Adding encode_unicode v1.0.0 [INFO] [stderr] Adding esaxx-rs v0.1.10 [INFO] [stderr] Adding find-msvc-tools v0.1.9 [INFO] [stderr] Adding fnv v1.0.7 [INFO] [stderr] Adding ident_case v1.0.1 [INFO] [stderr] Adding indicatif v0.17.11 (available: v0.18.4) [INFO] [stderr] Adding is_terminal_polyfill v1.70.2 [INFO] [stderr] Adding itertools v0.11.0 [INFO] [stderr] Adding itertools v0.12.1 [INFO] [stderr] Adding js-sys v0.3.94 [INFO] [stderr] Adding lazy_static v1.5.0 [INFO] [stderr] Adding log v0.4.29 [INFO] [stderr] Adding macro_rules_attribute v0.2.2 [INFO] [stderr] Adding macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Adding minimal-lexical v0.2.1 [INFO] [stderr] Adding monostate v0.1.18 [INFO] [stderr] Adding monostate-impl v0.1.18 [INFO] [stderr] Adding nom v7.1.3 [INFO] [stderr] Adding nu-ansi-term v0.50.3 [INFO] [stderr] Adding number_prefix v0.4.0 [INFO] [stderr] Adding once_cell_polyfill v1.70.2 [INFO] [stderr] Adding onig v6.5.1 [INFO] [stderr] Adding onig_sys v69.9.1 [INFO] [stderr] Adding pin-project-lite v0.2.17 [INFO] [stderr] Adding pkg-config v0.3.32 [INFO] [stderr] Adding portable-atomic v1.13.1 [INFO] [stderr] Adding rayon-cond v0.3.0 [INFO] [stderr] Adding regex v1.12.3 [INFO] [stderr] Adding regex-automata v0.4.14 [INFO] [stderr] Adding regex-syntax v0.8.10 [INFO] [stderr] Adding rustversion v1.0.22 [INFO] [stderr] Adding safetensors v0.3.3 (available: v0.7.0) [INFO] [stderr] Updating serde v1.0.219 -> v1.0.228 [INFO] [stderr] Adding serde_core v1.0.228 [INFO] [stderr] Updating serde_derive v1.0.219 -> v1.0.228 [INFO] [stderr] Adding sharded-slab v0.1.7 [INFO] [stderr] Adding shlex v1.3.0 [INFO] [stderr] Adding smallvec v1.15.1 [INFO] [stderr] Adding spm_precompiled v0.1.4 [INFO] [stderr] Adding strsim v0.10.0 [INFO] [stderr] Adding strsim v0.11.1 [INFO] [stderr] Adding syn v1.0.109 [INFO] [stderr] Adding thread_local v1.1.9 [INFO] [stderr] Adding tokenizers v0.15.2 (available: v0.22.2) [INFO] [stderr] Adding tracing v0.1.44 [INFO] [stderr] Adding tracing-attributes v0.1.31 [INFO] [stderr] Adding tracing-core v0.1.36 [INFO] [stderr] Adding tracing-log v0.2.0 [INFO] [stderr] Adding tracing-subscriber v0.3.23 [INFO] [stderr] Adding unicode-normalization-alignments v0.1.12 [INFO] [stderr] Adding unicode-segmentation v1.13.2 [INFO] [stderr] Adding unicode-width v0.2.2 [INFO] [stderr] Adding unicode_categories v0.1.1 [INFO] [stderr] Adding utf8parse v0.2.2 [INFO] [stderr] Adding valuable v0.1.1 [INFO] [stderr] Adding wasm-bindgen v0.2.117 [INFO] [stderr] Adding wasm-bindgen-macro v0.2.117 [INFO] [stderr] Adding wasm-bindgen-macro-support v0.2.117 [INFO] [stderr] Adding wasm-bindgen-shared v0.2.117 [INFO] [stderr] Adding web-time v1.1.0 [INFO] [stderr] Adding windows-link v0.2.1 [INFO] [stderr] Adding windows-sys v0.61.2 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rayon-cond v0.3.0 [INFO] [stderr] Downloaded monostate v0.1.18 [INFO] [stderr] Downloaded onig v6.5.1 [INFO] [stderr] Downloaded gemm-f32 v0.17.1 [INFO] [stderr] Downloaded gemm-c32 v0.17.1 [INFO] [stderr] Downloaded reborrow v0.5.5 [INFO] [stderr] Downloaded gemm-f16 v0.17.1 [INFO] [stderr] Downloaded derive_builder_macro v0.12.0 [INFO] [stderr] Downloaded macro_rules_attribute v0.2.2 [INFO] [stderr] Downloaded sysctl v0.5.5 [INFO] [stderr] Downloaded safetensors v0.4.5 [INFO] [stderr] Downloaded candle-nn v0.3.3 [INFO] [stderr] Downloaded unicode-normalization-alignments v0.1.12 [INFO] [stderr] Downloaded memmap2 v0.9.5 [INFO] [stderr] Downloaded raw-cpuid v10.7.0 [INFO] [stderr] Downloaded pulp v0.18.22 [INFO] [stderr] Downloaded libm v0.2.11 [INFO] [stderr] Downloaded esaxx-rs v0.1.10 [INFO] [stderr] Downloaded derive_builder v0.12.0 [INFO] [stderr] Downloaded candle-core v0.3.3 [INFO] [stderr] Downloaded tokenizers v0.15.2 [INFO] [stderr] Downloaded zerocopy-derive v0.8.23 [INFO] [stderr] Downloaded zerocopy v0.8.23 [INFO] [stderr] Downloaded safetensors v0.3.3 [INFO] [stderr] Downloaded derive_builder_core v0.12.0 [INFO] [stderr] Downloaded gemm-common v0.17.1 [INFO] [stderr] Downloaded gemm-f64 v0.17.1 [INFO] [stderr] Downloaded monostate-impl v0.1.18 [INFO] [stderr] Downloaded gemm-c64 v0.17.1 [INFO] [stderr] Downloaded gemm v0.17.1 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Downloaded dyn-stack v0.10.0 [INFO] [stderr] Downloaded spm_precompiled v0.1.4 [INFO] [stderr] Downloaded onig_sys v69.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5758af5f579bd3563d1069b9af2857817228dfc117d9c1aeaf866a8fab198607 [INFO] running `Command { std: "docker" "start" "-a" "5758af5f579bd3563d1069b9af2857817228dfc117d9c1aeaf866a8fab198607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5758af5f579bd3563d1069b9af2857817228dfc117d9c1aeaf866a8fab198607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5758af5f579bd3563d1069b9af2857817228dfc117d9c1aeaf866a8fab198607", kill_on_drop: false }` [INFO] [stdout] 5758af5f579bd3563d1069b9af2857817228dfc117d9c1aeaf866a8fab198607 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91fbd8d5a441856789f4ddba4d786e4618c1ca13a830d3839137acc14105aec6 [INFO] running `Command { std: "docker" "start" "-a" "91fbd8d5a441856789f4ddba4d786e4618c1ca13a830d3839137acc14105aec6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling once_cell v1.21.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling reborrow v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Compiling macro_rules_attribute v0.2.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rayon-cond v0.3.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling monostate-impl v0.1.18 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling monostate v0.1.18 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling dyn-stack v0.10.0 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling pulp v0.18.22 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling gemm-common v0.17.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling spm_precompiled v0.1.4 [INFO] [stderr] Compiling gemm-f32 v0.17.1 [INFO] [stderr] Compiling gemm-c32 v0.17.1 [INFO] [stderr] Compiling gemm-c64 v0.17.1 [INFO] [stderr] Compiling gemm-f64 v0.17.1 [INFO] [stderr] Compiling gemm-f16 v0.17.1 [INFO] [stderr] Compiling safetensors v0.4.5 [INFO] [stderr] Compiling safetensors v0.3.3 [INFO] [stderr] Compiling tokenizers v0.15.2 [INFO] [stderr] Compiling gemm v0.17.1 [INFO] [stderr] Compiling candle-core v0.3.3 [INFO] [stderr] Compiling candle-nn v0.3.3 [INFO] [stderr] Compiling rust-transformers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `forward` found for struct `candle_nn::Linear` in the current scope [INFO] [stdout] --> src/main.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | let q = self.q_proj.forward(x)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.3.3/src/lib.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn forward(&self, xs: &Tensor) -> Result; [INFO] [stdout] | ------- the method is available for `candle_nn::Linear` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `forward_t` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.3.3/src/lib.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | fn forward_t(&self, xs: &Tensor, train: bool) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Module` which provides `forward` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use candle_core::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `forward` found for struct `candle_nn::Linear` in the current scope [INFO] [stdout] --> src/main.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | let k = self.k_proj.forward(x)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.3.3/src/lib.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn forward(&self, xs: &Tensor) -> Result; [INFO] [stdout] | ------- the method is available for `candle_nn::Linear` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `forward_t` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.3.3/src/lib.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | fn forward_t(&self, xs: &Tensor, train: bool) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Module` which provides `forward` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use candle_core::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `forward` found for struct `candle_nn::Linear` in the current scope [INFO] [stdout] --> src/main.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | let v = self.v_proj.forward(x)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.3.3/src/lib.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn forward(&self, xs: &Tensor) -> Result; [INFO] [stdout] | ------- the method is available for `candle_nn::Linear` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `forward_t` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.3.3/src/lib.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | fn forward_t(&self, xs: &Tensor, train: bool) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Module` which provides `forward` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use candle_core::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: Neg` is not satisfied [INFO] [stdout] --> src/main.rs:63:50 [INFO] [stdout] | [INFO] [stdout] 63 | let attn_weights = ops::softmax(&scores, -1)?; // (batch_size, num_heads, seq_len, seq_len) [INFO] [stdout] | ^^ the trait `Neg` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] help: consider specifying an integer type that can be negative [INFO] [stdout] | [INFO] [stdout] 63 | let attn_weights = ops::softmax(&scores, -1isize)?; // (batch_size, num_heads, seq_len, seq_len) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `forward` found for struct `candle_nn::Linear` in the current scope [INFO] [stdout] --> src/main.rs:73:36 [INFO] [stdout] | [INFO] [stdout] 73 | let output = self.out_proj.forward(&attn_output)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.3.3/src/lib.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn forward(&self, xs: &Tensor) -> Result; [INFO] [stdout] | ------- the method is available for `candle_nn::Linear` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `forward_t` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.3.3/src/lib.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | fn forward_t(&self, xs: &Tensor, train: bool) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Module` which provides `forward` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use candle_core::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `forward` found for struct `candle_nn::Linear` in the current scope [INFO] [stdout] --> src/main.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | let x = self.fc1.forward(x)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.3.3/src/lib.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn forward(&self, xs: &Tensor) -> Result; [INFO] [stdout] | ------- the method is available for `candle_nn::Linear` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `forward_t` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.3.3/src/lib.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | fn forward_t(&self, xs: &Tensor, train: bool) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Module` which provides `forward` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use candle_core::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `forward` found for enum `Activation` in the current scope [INFO] [stdout] --> src/main.rs:105:33 [INFO] [stdout] | [INFO] [stdout] 105 | let x = self.activation.forward(&x)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.3.3/src/lib.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn forward(&self, xs: &Tensor) -> Result; [INFO] [stdout] | ------- the method is available for `Activation` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `forward_t` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.3.3/src/lib.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | fn forward_t(&self, xs: &Tensor, train: bool) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Module` which provides `forward` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use candle_core::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `forward` found for struct `candle_nn::Linear` in the current scope [INFO] [stdout] --> src/main.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | let x = self.fc2.forward(&x)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.3.3/src/lib.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn forward(&self, xs: &Tensor) -> Result; [INFO] [stdout] | ------- the method is available for `candle_nn::Linear` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `forward_t` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.3.3/src/lib.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | fn forward_t(&self, xs: &Tensor, train: bool) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Module` which provides `forward` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use candle_core::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-transformers` (bin "rust-transformers") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "91fbd8d5a441856789f4ddba4d786e4618c1ca13a830d3839137acc14105aec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91fbd8d5a441856789f4ddba4d786e4618c1ca13a830d3839137acc14105aec6", kill_on_drop: false }` [INFO] [stdout] 91fbd8d5a441856789f4ddba4d786e4618c1ca13a830d3839137acc14105aec6