[INFO] cloning repository https://github.com/suzuke/transformer-from-scratch-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suzuke/transformer-from-scratch-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuzuke%2Ftransformer-from-scratch-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuzuke%2Ftransformer-from-scratch-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23562005e90626851d9bc85d231520cc3dc482a5 [INFO] testing suzuke/transformer-from-scratch-rs against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuzuke%2Ftransformer-from-scratch-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suzuke/transformer-from-scratch-rs on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/suzuke/transformer-from-scratch-rs [INFO] finished tweaking git repo https://github.com/suzuke/transformer-from-scratch-rs [INFO] tweaked toml for git repo https://github.com/suzuke/transformer-from-scratch-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 307 packages to latest compatible versions [INFO] [stderr] Adding candle-core v0.4.1 (available: v0.8.1) [INFO] [stderr] Adding candle-datasets v0.4.1 (available: v0.8.1) [INFO] [stderr] Adding candle-nn v0.4.1 (available: v0.8.1) [INFO] [stderr] Adding parquet v51.0.0 (available: v53.3.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.8) [INFO] [stderr] Adding tokenizers v0.15.2 (available: v0.21.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-impl v0.1.13 [INFO] [stderr] Downloaded macro_rules_attribute v0.2.0 [INFO] [stderr] Downloaded ureq v2.12.1 [INFO] [stderr] Downloaded bindgen_cuda v0.1.5 [INFO] [stderr] Downloaded candle-datasets v0.4.1 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Downloaded monostate v0.1.13 [INFO] [stderr] Downloaded safetensors v0.4.5 [INFO] [stderr] Downloaded arrow-select v50.0.0 [INFO] [stderr] Downloaded flatbuffers v23.5.26 [INFO] [stderr] Downloaded hf-hub v0.3.2 [INFO] [stderr] Downloaded arrow-buffer v50.0.0 [INFO] [stderr] Downloaded arrow-cast v50.0.0 [INFO] [stderr] Downloaded arrow-ipc v50.0.0 [INFO] [stderr] Downloaded arrow-data v50.0.0 [INFO] [stderr] Downloaded candle-metal-kernels v0.4.1 [INFO] [stderr] Downloaded cudarc v0.10.0 [INFO] [stderr] Downloaded arrow-array v50.0.0 [INFO] [stderr] Downloaded arrow-array v51.0.0 [INFO] [stderr] Downloaded candle-core v0.4.1 [INFO] [stderr] Downloaded tokenizers v0.15.2 [INFO] [stderr] Downloaded pulp v0.18.22 [INFO] [stderr] Downloaded candle-kernels v0.4.1 [INFO] [stderr] Downloaded arrow-ipc v51.0.0 [INFO] [stderr] Downloaded arrow-cast v51.0.0 [INFO] [stderr] Downloaded candle-nn v0.4.1 [INFO] [stderr] Downloaded arrow-buffer v51.0.0 [INFO] [stderr] Downloaded arrow-data v51.0.0 [INFO] [stderr] Downloaded arrow-schema v51.0.0 [INFO] [stderr] Downloaded arrow-select v51.0.0 [INFO] [stderr] Downloaded arrow-schema v50.0.0 [INFO] [stderr] Downloaded parquet v51.0.0 [INFO] [stderr] Downloaded parquet v50.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef88512a2d3778213ff5a5940d1e39cdb15951ce1abdb019ffd5f4281cda0efa [INFO] running `Command { std: "docker" "start" "-a" "ef88512a2d3778213ff5a5940d1e39cdb15951ce1abdb019ffd5f4281cda0efa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef88512a2d3778213ff5a5940d1e39cdb15951ce1abdb019ffd5f4281cda0efa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef88512a2d3778213ff5a5940d1e39cdb15951ce1abdb019ffd5f4281cda0efa", kill_on_drop: false }` [INFO] [stdout] ef88512a2d3778213ff5a5940d1e39cdb15951ce1abdb019ffd5f4281cda0efa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34f3553e25278abc785ecce24011923b3e92e18222157eba8dc4f59af71064c8 [INFO] running `Command { std: "docker" "start" "-a" "34f3553e25278abc785ecce24011923b3e92e18222157eba8dc4f59af71064c8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lexical-util v0.8.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling reborrow v0.5.5 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling lexical-write-integer v0.8.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling lexical-write-float v0.8.5 [INFO] [stderr] Compiling lexical-parse-float v0.8.5 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling flatbuffers v23.5.26 [INFO] [stderr] Compiling lexical-core v0.8.5 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling arrow-schema v50.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling arrow-schema v51.0.0 [INFO] [stderr] Compiling rustls v0.23.20 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling console v0.15.10 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling webpki-roots v0.26.7 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling pulp v0.18.22 [INFO] [stderr] Compiling dyn-stack v0.10.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling gemm-common v0.17.1 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling arrow-buffer v50.0.0 [INFO] [stderr] Compiling arrow-buffer v51.0.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling arrow-data v50.0.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling arrow-data v51.0.0 [INFO] [stderr] Compiling gemm-f32 v0.17.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling arrow-array v50.0.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling arrow-array v51.0.0 [INFO] [stderr] Compiling gemm-f16 v0.17.1 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling gemm-c32 v0.17.1 [INFO] [stderr] Compiling arrow-select v50.0.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling gemm-f64 v0.17.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling gemm-c64 v0.17.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling thrift v0.17.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling gemm v0.17.1 [INFO] [stderr] Compiling arrow-cast v50.0.0 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling indicatif v0.17.9 [INFO] [stderr] Compiling safetensors v0.4.5 [INFO] [stderr] Compiling arrow-select v51.0.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling monostate-impl v0.1.13 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling macro_rules_attribute v0.2.0 [INFO] [stderr] Compiling candle-core v0.4.1 [INFO] [stderr] Compiling spm_precompiled v0.1.4 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling arrow-cast v51.0.0 [INFO] [stderr] Compiling rayon-cond v0.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling hf-hub v0.3.2 [INFO] [stderr] Compiling monostate v0.1.13 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling arrow-ipc v50.0.0 [INFO] [stderr] Compiling unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling parquet v50.0.0 [INFO] [stderr] Compiling tokenizers v0.15.2 [INFO] [stderr] Compiling arrow-ipc v51.0.0 [INFO] [stderr] Compiling candle-nn v0.4.1 [INFO] [stderr] Compiling parquet v51.0.0 [INFO] [stderr] Compiling candle-datasets v0.4.1 [INFO] [stderr] Compiling transformer-from-scratch-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `device` [INFO] [stdout] --> src/dataset.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::{causal_mask, device}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LayerNormConfig` and `layer_norm` [INFO] [stdout] --> src/decoder.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use candle_nn::{layer_norm, LayerNormConfig, ModuleT, VarBuilder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LayerNormConfig` and `layer_norm` [INFO] [stdout] --> src/encoder.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use candle_nn::{layer_norm, LayerNormConfig, ModuleT, VarBuilder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DType` [INFO] [stdout] --> src/layer_norm.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use candle_core::{DType, Result, Tensor, D}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LayerNorm` [INFO] [stdout] --> src/layer_norm.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use candle_nn::{Init, LayerNorm, Module, VarBuilder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LayerNormConfig` and `layer_norm` [INFO] [stdout] --> src/residual_connection.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use candle_nn::{layer_norm, Dropout, LayerNormConfig, Module, VarBuilder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Var` [INFO] [stdout] --> src/train.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use candle_core::{DType, Device, IndexOp, Tensor, Var, D}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attention_weights` [INFO] [stdout] --> src/multi_head_attention.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | let (attention_output, attention_weights) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attention_weights` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_tokenizer` [INFO] [stdout] --> src/train.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | src_tokenizer: &Tokenizer, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_tokenizer` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 10s [INFO] running `Command { std: "docker" "inspect" "34f3553e25278abc785ecce24011923b3e92e18222157eba8dc4f59af71064c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f3553e25278abc785ecce24011923b3e92e18222157eba8dc4f59af71064c8", kill_on_drop: false }` [INFO] [stdout] 34f3553e25278abc785ecce24011923b3e92e18222157eba8dc4f59af71064c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2742b990bc7a2fc6413cf36065cba9c13b3b383251819e76d8493745d7377c3a [INFO] running `Command { std: "docker" "start" "-a" "2742b990bc7a2fc6413cf36065cba9c13b3b383251819e76d8493745d7377c3a", kill_on_drop: false }` [INFO] [stderr] Compiling transformer-from-scratch-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `device` [INFO] [stdout] --> src/dataset.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::{causal_mask, device}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LayerNormConfig` and `layer_norm` [INFO] [stdout] --> src/decoder.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use candle_nn::{layer_norm, LayerNormConfig, ModuleT, VarBuilder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LayerNormConfig` and `layer_norm` [INFO] [stdout] --> src/encoder.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use candle_nn::{layer_norm, LayerNormConfig, ModuleT, VarBuilder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LayerNorm` [INFO] [stdout] --> src/layer_norm.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use candle_nn::{Init, LayerNorm, Module, VarBuilder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LayerNormConfig` and `layer_norm` [INFO] [stdout] --> src/residual_connection.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use candle_nn::{layer_norm, Dropout, LayerNormConfig, Module, VarBuilder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Var` [INFO] [stdout] --> src/train.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use candle_core::{DType, Device, IndexOp, Tensor, Var, D}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attention_weights` [INFO] [stdout] --> src/multi_head_attention.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | let (attention_output, attention_weights) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attention_weights` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_tokenizer` [INFO] [stdout] --> src/train.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | src_tokenizer: &Tokenizer, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_tokenizer` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.23s [INFO] running `Command { std: "docker" "inspect" "2742b990bc7a2fc6413cf36065cba9c13b3b383251819e76d8493745d7377c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2742b990bc7a2fc6413cf36065cba9c13b3b383251819e76d8493745d7377c3a", kill_on_drop: false }` [INFO] [stdout] 2742b990bc7a2fc6413cf36065cba9c13b3b383251819e76d8493745d7377c3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c02cdd7ae327e5fbf60006217473a2c27dfa48bc69102d8148acf26f91ecda67 [INFO] running `Command { std: "docker" "start" "-a" "c02cdd7ae327e5fbf60006217473a2c27dfa48bc69102d8148acf26f91ecda67", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `device` [INFO] [stderr] --> src/dataset.rs:7:33 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::utils::{causal_mask, device}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LayerNormConfig` and `layer_norm` [INFO] [stderr] --> src/decoder.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use candle_nn::{layer_norm, LayerNormConfig, ModuleT, VarBuilder}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LayerNormConfig` and `layer_norm` [INFO] [stderr] --> src/encoder.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use candle_nn::{layer_norm, LayerNormConfig, ModuleT, VarBuilder}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `LayerNorm` [INFO] [stderr] --> src/layer_norm.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | use candle_nn::{Init, LayerNorm, Module, VarBuilder}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LayerNormConfig` and `layer_norm` [INFO] [stderr] --> src/residual_connection.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use candle_nn::{layer_norm, Dropout, LayerNormConfig, Module, VarBuilder}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Var` [INFO] [stderr] --> src/train.rs:4:51 [INFO] [stderr] | [INFO] [stderr] 4 | use candle_core::{DType, Device, IndexOp, Tensor, Var, D}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `attention_weights` [INFO] [stderr] --> src/multi_head_attention.rs:109:32 [INFO] [stderr] | [INFO] [stderr] 109 | let (attention_output, attention_weights) = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attention_weights` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src_tokenizer` [INFO] [stderr] --> src/train.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | src_tokenizer: &Tokenizer, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_tokenizer` [INFO] [stderr] [INFO] [stderr] warning: `transformer-from-scratch-rs` (bin "transformer-from-scratch-rs" test) generated 8 warnings (run `cargo fix --bin "transformer-from-scratch-rs" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/transformer_from_scratch_rs-83e66f4e4b620fc7) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test multi_head_attention::tests::test_attention ... ok [INFO] [stdout] test embeddings::positional_embedding::tests::test_embedding_values_within_expected_range ... ok [INFO] [stdout] test utils::tests::test_causal_mask ... ok [INFO] [stdout] test embeddings::positional_embedding::tests::test_positional_embedding ... ok [INFO] [stdout] test utils::tests::test_masked_fill ... ok [INFO] [stdout] test layer_norm::tests::test_layer_norm ... ok [INFO] [stdout] test dataset::tests::test_bilingual_batcher ... FAILED [INFO] [stdout] test tokenizer_helper::tests::test_tokenizer ... FAILED [INFO] [stdout] test projection_layer::tests::test_projection_layer ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- dataset::tests::test_bilingual_batcher stdout ---- [INFO] [stdout] thread 'dataset::tests::test_bilingual_batcher' panicked at src/dataset.rs:374:79: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Msg("Api error: request error: https://huggingface.co/datasets/Helsinki-NLP/opus_books/resolve/refs%2Fconvert%2Fparquet/en-pt/train/0000.parquet: Dns Failed: resolve dns name 'huggingface.co:443': failed to lookup address information: Temporary failure in name resolution") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5bf269fd6eaa - std::backtrace_rs::backtrace::libunwind::trace::h45f575fdcec9cdc1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5bf269fd6eaa - std::backtrace_rs::backtrace::trace_unsynchronized::heed7aaaa28209ac3 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5bf269fd6eaa - std::sys::backtrace::_print_fmt::h47d1e3547844619c [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5bf269fd6eaa - ::fmt::h6c37de0361fa7462 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5bf26a002ec3 - core::fmt::rt::Argument::fmt::h6606d9b5304941e1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5bf26a002ec3 - core::fmt::write::hf77fe0583268bf67 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/fmt/mod.rs:1437:21 [INFO] [stdout] 6: 0x5bf269fd2663 - std::io::Write::write_fmt::h672ff980e46892ac [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x5bf269fd6cf2 - std::sys::backtrace::BacktraceLock::print::hce84519ec0e7588e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5bf269fd832e - std::panicking::default_hook::{{closure}}::h6e0433c33d1ed12b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:284:22 [INFO] [stdout] 9: 0x5bf269fd8137 - std::panicking::default_hook::h19d4e9e8d7fba9e2 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:308:9 [INFO] [stdout] 10: 0x5bf268399d98 - as core::ops::function::Fn>::call::hd2aa5731f018e269 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x5bf268399d98 - test::test_main::{{closure}}::h1ae6fb8f80aa49b6 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x5bf269fd8b48 - as core::ops::function::Fn>::call::h4f2af756974b90d5 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x5bf269fd8b48 - std::panicking::rust_panic_with_hook::hd21771b96ea64164 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:825:13 [INFO] [stdout] 14: 0x5bf269fd87fa - std::panicking::begin_panic_handler::{{closure}}::h2e177f984fc72cbb [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:690:13 [INFO] [stdout] 15: 0x5bf269fd7389 - std::sys::backtrace::__rust_end_short_backtrace::ha7f0445003f40b38 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5bf269fd848d - rust_begin_unwind [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:681:5 [INFO] [stdout] 17: 0x5bf26a0002a0 - core::panicking::panic_fmt::h85741df7bc4071b6 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5bf26a000776 - core::result::unwrap_failed::h82c95f2b5d372a3c [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/result.rs:1699:5 [INFO] [stdout] 19: 0x5bf268352032 - core::result::Result::unwrap::hd68d8e971af42f28 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/result.rs:1104:23 [INFO] [stdout] 20: 0x5bf268352032 - transformer_from_scratch_rs::dataset::tests::test_bilingual_batcher::h796f32fe7511b1fe [INFO] [stdout] at /opt/rustwide/workdir/src/dataset.rs:374:13 [INFO] [stdout] 21: 0x5bf268351dd7 - transformer_from_scratch_rs::dataset::tests::test_bilingual_batcher::{{closure}}::h9f7b5c918152bc65 [INFO] [stdout] at /opt/rustwide/workdir/src/dataset.rs:369:32 [INFO] [stdout] 22: 0x5bf2682e7fc6 - core::ops::function::FnOnce::call_once::hfcf984825477074c [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5bf26839e9db - core::ops::function::FnOnce::call_once::hc1e06e2a5640370a [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5bf26839e9db - test::__rust_begin_short_backtrace::heb5aa654e2797f5b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:632:18 [INFO] [stdout] 25: 0x5bf26839e2e9 - test::run_test_in_process::{{closure}}::h1329474a96646ad1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:655:60 [INFO] [stdout] 26: 0x5bf26839e2e9 - as core::ops::function::FnOnce<()>>::call_once::hc87a7a8694e6d844 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5bf26839e2e9 - std::panicking::try::do_call::h3b8456af8bacf88f [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:573:40 [INFO] [stdout] 28: 0x5bf26839e2e9 - std::panicking::try::hc177f95c6592cea1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:536:19 [INFO] [stdout] 29: 0x5bf26839e2e9 - std::panic::catch_unwind::h847b2adf17f7da7a [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x5bf26839e2e9 - test::run_test_in_process::h824f7775d92af51e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:655:27 [INFO] [stdout] 31: 0x5bf26839e2e9 - test::run_test::{{closure}}::hdfaf20d18f7af8f6 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:576:43 [INFO] [stdout] 32: 0x5bf26836108a - test::run_test::{{closure}}::he83661a0a1c97403 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:606:41 [INFO] [stdout] 33: 0x5bf26836108a - std::sys::backtrace::__rust_begin_short_backtrace::hd3a78fd401685e9b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x5bf268364ac6 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h78d6a457dee8dc60 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/thread/mod.rs:561:17 [INFO] [stdout] 35: 0x5bf268364ac6 - as core::ops::function::FnOnce<()>>::call_once::hc4069b3cc6600bde [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5bf268364ac6 - std::panicking::try::do_call::h0dde49ad0af85fa8 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:573:40 [INFO] [stdout] 37: 0x5bf268364ac6 - std::panicking::try::h918d0d3a7e94727d [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:536:19 [INFO] [stdout] 38: 0x5bf268364ac6 - std::panic::catch_unwind::h7016984cdcdd8b9e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x5bf268364ac6 - std::thread::Builder::spawn_unchecked_::{{closure}}::h2766f51195a4a65d [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/thread/mod.rs:559:30 [INFO] [stdout] 40: 0x5bf268364ac6 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbd6e39e4ea63a011 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5bf269fdd63b - as core::ops::function::FnOnce>::call_once::h34bec2a4cdedc102 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 42: 0x5bf269fdd63b - as core::ops::function::FnOnce>::call_once::ha62c0d1861fdf293 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 43: 0x5bf269fdd63b - std::sys::pal::unix::thread::Thread::new::thread_start::h71fe57097907b3f8 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 44: 0x7e4ecdc0bac3 - [INFO] [stdout] 45: 0x7e4ecdc9ca04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tokenizer_helper::tests::test_tokenizer stdout ---- [INFO] [stdout] thread 'tokenizer_helper::tests::test_tokenizer' panicked at src/tokenizer_helper.rs:75:14: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5bf269fd6eaa - std::backtrace_rs::backtrace::libunwind::trace::h45f575fdcec9cdc1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5bf269fd6eaa - std::backtrace_rs::backtrace::trace_unsynchronized::heed7aaaa28209ac3 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5bf269fd6eaa - std::sys::backtrace::_print_fmt::h47d1e3547844619c [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5bf269fd6eaa - ::fmt::h6c37de0361fa7462 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5bf26a002ec3 - core::fmt::rt::Argument::fmt::h6606d9b5304941e1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5bf26a002ec3 - core::fmt::write::hf77fe0583268bf67 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/fmt/mod.rs:1437:21 [INFO] [stdout] 6: 0x5bf269fd2663 - std::io::Write::write_fmt::h672ff980e46892ac [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x5bf269fd6cf2 - std::sys::backtrace::BacktraceLock::print::hce84519ec0e7588e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5bf269fd832e - std::panicking::default_hook::{{closure}}::h6e0433c33d1ed12b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:284:22 [INFO] [stdout] 9: 0x5bf269fd8137 - std::panicking::default_hook::h19d4e9e8d7fba9e2 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:308:9 [INFO] [stdout] 10: 0x5bf268399d98 - as core::ops::function::Fn>::call::hd2aa5731f018e269 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x5bf268399d98 - test::test_main::{{closure}}::h1ae6fb8f80aa49b6 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x5bf269fd8b48 - as core::ops::function::Fn>::call::h4f2af756974b90d5 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x5bf269fd8b48 - std::panicking::rust_panic_with_hook::hd21771b96ea64164 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:825:13 [INFO] [stdout] 14: 0x5bf269fd87fa - std::panicking::begin_panic_handler::{{closure}}::h2e177f984fc72cbb [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:690:13 [INFO] [stdout] 15: 0x5bf269fd7389 - std::sys::backtrace::__rust_end_short_backtrace::ha7f0445003f40b38 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5bf269fd848d - rust_begin_unwind [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:681:5 [INFO] [stdout] 17: 0x5bf26a0002a0 - core::panicking::panic_fmt::h85741df7bc4071b6 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5bf26a000776 - core::result::unwrap_failed::h82c95f2b5d372a3c [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/result.rs:1699:5 [INFO] [stdout] 19: 0x5bf26835f642 - core::result::Result::unwrap::h820a320f9a4636df [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/result.rs:1104:23 [INFO] [stdout] 20: 0x5bf26835f642 - transformer_from_scratch_rs::tokenizer_helper::TokenizerHelper::train::h8b57afa8f21781d9 [INFO] [stdout] at /opt/rustwide/workdir/src/tokenizer_helper.rs:71:9 [INFO] [stdout] 21: 0x5bf26835e950 - transformer_from_scratch_rs::tokenizer_helper::TokenizerHelper::get_tokenizer::hec9cfe29d301c928 [INFO] [stdout] at /opt/rustwide/workdir/src/tokenizer_helper.rs:31:17 [INFO] [stdout] 22: 0x5bf268354152 - transformer_from_scratch_rs::tokenizer_helper::tests::test_tokenizer::h1e7fbd613e69ff0f [INFO] [stdout] at /opt/rustwide/workdir/src/tokenizer_helper.rs:110:29 [INFO] [stdout] 23: 0x5bf268353ad7 - transformer_from_scratch_rs::tokenizer_helper::tests::test_tokenizer::{{closure}}::h9f3c2b96410f3bbe [INFO] [stdout] at /opt/rustwide/workdir/src/tokenizer_helper.rs:89:24 [INFO] [stdout] 24: 0x5bf2682e7c66 - core::ops::function::FnOnce::call_once::h432abe89b45f0d85 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5bf26839e9db - core::ops::function::FnOnce::call_once::hc1e06e2a5640370a [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5bf26839e9db - test::__rust_begin_short_backtrace::heb5aa654e2797f5b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:632:18 [INFO] [stdout] 27: 0x5bf26839e2e9 - test::run_test_in_process::{{closure}}::h1329474a96646ad1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:655:60 [INFO] [stdout] 28: 0x5bf26839e2e9 - as core::ops::function::FnOnce<()>>::call_once::hc87a7a8694e6d844 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5bf26839e2e9 - std::panicking::try::do_call::h3b8456af8bacf88f [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:573:40 [INFO] [stdout] 30: 0x5bf26839e2e9 - std::panicking::try::hc177f95c6592cea1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:536:19 [INFO] [stdout] 31: 0x5bf26839e2e9 - std::panic::catch_unwind::h847b2adf17f7da7a [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panic.rs:358:14 [INFO] [stdout] 32: 0x5bf26839e2e9 - test::run_test_in_process::h824f7775d92af51e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:655:27 [INFO] [stdout] 33: 0x5bf26839e2e9 - test::run_test::{{closure}}::hdfaf20d18f7af8f6 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:576:43 [INFO] [stdout] 34: 0x5bf26836108a - test::run_test::{{closure}}::he83661a0a1c97403 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:606:41 [INFO] [stdout] 35: 0x5bf26836108a - std::sys::backtrace::__rust_begin_short_backtrace::hd3a78fd401685e9b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 36: 0x5bf268364ac6 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h78d6a457dee8dc60 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/thread/mod.rs:561:17 [INFO] [stdout] 37: 0x5bf268364ac6 - as core::ops::function::FnOnce<()>>::call_once::hc4069b3cc6600bde [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5bf268364ac6 - std::panicking::try::do_call::h0dde49ad0af85fa8 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:573:40 [INFO] [stdout] 39: 0x5bf268364ac6 - std::panicking::try::h918d0d3a7e94727d [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:536:19 [INFO] [stdout] 40: 0x5bf268364ac6 - std::panic::catch_unwind::h7016984cdcdd8b9e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panic.rs:358:14 [INFO] [stdout] 41: 0x5bf268364ac6 - std::thread::Builder::spawn_unchecked_::{{closure}}::h2766f51195a4a65d [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/thread/mod.rs:559:30 [INFO] [stdout] 42: 0x5bf268364ac6 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbd6e39e4ea63a011 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5bf269fdd63b - as core::ops::function::FnOnce>::call_once::h34bec2a4cdedc102 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 44: 0x5bf269fdd63b - as core::ops::function::FnOnce>::call_once::ha62c0d1861fdf293 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 45: 0x5bf269fdd63b - std::sys::pal::unix::thread::Thread::new::thread_start::h71fe57097907b3f8 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 46: 0x7e4ecdc0bac3 - [INFO] [stdout] 47: 0x7e4ecdc9ca04 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] dataset::tests::test_bilingual_batcher [INFO] [stdout] tokenizer_helper::tests::test_tokenizer [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin transformer-from-scratch-rs` [INFO] running `Command { std: "docker" "inspect" "c02cdd7ae327e5fbf60006217473a2c27dfa48bc69102d8148acf26f91ecda67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c02cdd7ae327e5fbf60006217473a2c27dfa48bc69102d8148acf26f91ecda67", kill_on_drop: false }` [INFO] [stdout] c02cdd7ae327e5fbf60006217473a2c27dfa48bc69102d8148acf26f91ecda67