[INFO] cloning repository https://github.com/fpierfed/moderaicourse_hw_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fpierfed/moderaicourse_hw_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffpierfed%2Fmoderaicourse_hw_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffpierfed%2Fmoderaicourse_hw_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fd61fb497755920699cfae68a3d0b55c01af816d
[INFO] checking fpierfed/moderaicourse_hw_rust against master#2aabf3ce0569dd7c8c2d2a27944850056dcf2566 for pr-156508-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffpierfed%2Fmoderaicourse_hw_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fpierfed/moderaicourse_hw_rust
[INFO] finished tweaking git repo https://github.com/fpierfed/moderaicourse_hw_rust
[INFO] tweaked toml for git repo https://github.com/fpierfed/moderaicourse_hw_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fpierfed/moderaicourse_hw_rust on toolchain 2aabf3ce0569dd7c8c2d2a27944850056dcf2566
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fpierfed/moderaicourse_hw_rust 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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.121
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.121
[INFO] [stderr]   Downloaded rayon-cond v0.4.0
[INFO] [stderr]   Downloaded macro_rules_attribute v0.2.2
[INFO] [stderr]   Downloaded monostate v0.1.18
[INFO] [stderr]   Downloaded monostate-impl v0.1.18
[INFO] [stderr]   Downloaded macro_rules_attribute-proc_macro v0.2.2
[INFO] [stderr]   Downloaded utf8-zero v0.8.1
[INFO] [stderr]   Downloaded pem-rfc7468 v1.0.0
[INFO] [stderr]   Downloaded onig v6.5.3
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.71
[INFO] [stderr]   Downloaded dary_heap v0.3.9
[INFO] [stderr]   Downloaded daachorse v1.0.1
[INFO] [stderr]   Downloaded tokenizers v0.23.1
[INFO] [stderr]   Downloaded console v0.16.3
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.121
[INFO] [stderr]   Downloaded indicatif v0.18.4
[INFO] [stderr]   Downloaded hf-hub v0.5.0
[INFO] [stderr]   Downloaded ureq-proto v0.6.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.115
[INFO] [stderr]   Downloaded rand_distr v0.6.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.121
[INFO] [stderr]   Downloaded der v0.8.0
[INFO] [stderr]   Downloaded js-sys v0.3.98
[INFO] [stderr]   Downloaded ureq v3.3.0
[INFO] [stderr]   Downloaded candle-nn v0.10.2
[INFO] [stderr]   Downloaded tower-http v0.6.10
[INFO] [stderr]   Downloaded candle-metal-kernels v0.10.2
[INFO] [stderr]   Downloaded openssl v0.10.79
[INFO] [stderr]   Downloaded objc2-metal v0.3.2
[INFO] [stderr]   Downloaded tokenizers v0.22.2
[INFO] [stderr]   Downloaded float8 v0.7.0
[INFO] [stderr]   Downloaded candle-ug v0.10.2
[INFO] [stderr]   Downloaded ug-metal v0.5.0
[INFO] [stderr]   Downloaded safetensors v0.4.5
[INFO] [stderr]   Downloaded ug v0.5.0
[INFO] [stderr]   Downloaded gemm-f64 v0.18.2
[INFO] [stderr]   Downloaded gemm-f32 v0.18.2
[INFO] [stderr]   Downloaded gemm-f16 v0.18.2
[INFO] [stderr]   Downloaded gemm-c64 v0.18.2
[INFO] [stderr]   Downloaded candle-core v0.10.2
[INFO] [stderr]   Downloaded gemm-c32 v0.18.2
[INFO] [stderr]   Downloaded gemm-common v0.18.2
[INFO] [stderr]   Downloaded gemm v0.18.2
[INFO] [stderr]   Downloaded pulp v0.21.5
[INFO] [stderr]   Downloaded env_home v0.1.0
[INFO] [stderr]   Downloaded which v7.0.3
[INFO] [stderr]   Downloaded fs2 v0.4.3
[INFO] [stderr]   Downloaded windows-numerics v0.3.1
[INFO] [stderr]   Downloaded windows-threading v0.2.1
[INFO] [stderr]   Downloaded windows-collections v0.3.2
[INFO] [stderr]   Downloaded wgpu-naga-bridge v29.0.3
[INFO] [stderr]   Downloaded bit-set v0.9.1
[INFO] [stderr]   Downloaded bit-vec v0.9.1
[INFO] [stderr]   Downloaded wayland-sys v0.31.11
[INFO] [stderr]   Downloaded objc2-quartz-core v0.3.2
[INFO] [stderr]   Downloaded ug-cuda v0.5.0
[INFO] [stderr]   Downloaded candle-kernels v0.10.2
[INFO] [stderr]   Downloaded cudaforge v0.1.5
[INFO] [stderr]   Downloaded burn-wgpu v0.21.0
[INFO] [stderr]   Downloaded cubecl v0.10.0
[INFO] [stderr]   Downloaded windows-future v0.3.2
[INFO] [stderr]   Downloaded spirv v0.4.0+sdk-1.4.341.0
[INFO] [stderr]   Downloaded raw-window-metal v1.1.0
[INFO] [stderr]   Downloaded burn v0.21.0
[INFO] [stderr]   Downloaded cubecl-wgpu v0.10.0
[INFO] [stderr]   Downloaded codespan-reporting v0.13.1
[INFO] [stderr]   Downloaded onig_sys v69.9.3
[INFO] [stderr]   Downloaded web-sys v0.3.98
[INFO] [stderr]   Downloaded ordered-float v5.3.0
[INFO] [stderr]   Downloaded wgpu-core-deps-emscripten v29.0.3
[INFO] [stderr]   Downloaded wgpu-core-deps-apple v29.0.3
[INFO] [stderr]   Downloaded wgpu-core-deps-windows-linux-android v29.0.3
[INFO] [stderr]   Downloaded wgpu v29.0.3
[INFO] [stderr]   Downloaded wgpu-types v29.0.3
[INFO] [stderr]   Downloaded gpu-allocator v0.28.0
[INFO] [stderr]   Downloaded cubecl-runtime v0.10.0
[INFO] [stderr]   Downloaded enumset v1.1.13
[INFO] [stderr]   Downloaded cudarc v0.19.7
[INFO] [stderr]   Downloaded enumset_derive v0.15.0
[INFO] [stderr]   Downloaded cubecl-zspace v0.10.0
[INFO] [stderr]   Downloaded cubecl-ir v0.10.0
[INFO] [stderr]   Downloaded cubecl-macros-internal v0.10.0
[INFO] [stderr]   Downloaded oneshot v0.2.1
[INFO] [stderr]   Downloaded embassy-time v0.5.1
[INFO] [stderr]   Downloaded glow v0.17.0
[INFO] [stderr]   Downloaded cubecl-common v0.10.0
[INFO] [stderr]   Downloaded tynm v0.2.0
[INFO] [stderr]   Downloaded float4 v0.2.0
[INFO] [stderr]   Downloaded winsafe v0.0.19
[INFO] [stderr]   Downloaded wgpu-hal v29.0.3
[INFO] [stderr]   Downloaded wgpu-core v29.0.3
[INFO] [stderr]   Downloaded cudarc v0.17.8
[INFO] [stderr]   Downloaded embassy-time-driver v0.2.2
[INFO] [stderr]   Downloaded naga v29.0.3
[INFO] [stderr]   Downloaded cubecl-std v0.10.0
[INFO] [stderr]   Downloaded cubecl-core v0.10.0
[INFO] [stderr]   Downloaded cubecl-macros v0.10.0
[INFO] [stderr]   Downloaded cubecl-hip v0.10.0
[INFO] [stderr]   Downloaded cubecl-cuda v0.10.0
[INFO] [stderr]   Downloaded cubecl-cpp v0.10.0
[INFO] [stderr]   Downloaded cubecl-opt v0.10.0
[INFO] [stderr]   Downloaded cubecl-cpu v0.10.0
[INFO] [stderr]   Downloaded liblzma-sys v0.4.6
[INFO] [stderr]   Downloaded sysinfo v0.38.4
[INFO] [stderr]   Downloaded windows v0.62.2
[INFO] [stderr]   Downloaded burn-std v0.21.0
[INFO] [stderr]   Downloaded cubek-reduce v0.2.0
[INFO] [stderr]   Downloaded burn-cubecl-fusion v0.21.0
[INFO] [stderr]   Downloaded macerator-macros v0.1.5
[INFO] [stderr]   Downloaded burn-ir v0.21.0
[INFO] [stderr]   Downloaded cubek-random v0.2.0
[INFO] [stderr]   Downloaded cubek-fft v0.2.0
[INFO] [stderr]   Downloaded burn-backend v0.21.0
[INFO] [stderr]   Downloaded burn-cubecl v0.21.0
[INFO] [stderr]   Downloaded cubek-std v0.2.0
[INFO] [stderr]   Downloaded cubek-quant v0.2.0
[INFO] [stderr]   Downloaded cubek-attention v0.2.0
[INFO] [stderr]   Downloaded burn-vision v0.21.0
[INFO] [stderr]   Downloaded cubek-convolution v0.2.0
[INFO] [stderr]   Downloaded burn-fusion v0.21.0
[INFO] [stderr]   Downloaded cubek v0.2.0
[INFO] [stderr]   Downloaded cubek-matmul v0.2.0
[INFO] [stderr]   Downloaded macerator v0.3.3
[INFO] [stderr]   Downloaded avif-serialize v0.8.9
[INFO] [stderr]   Downloaded burn-train v0.21.0
[INFO] [stderr]   Downloaded burn-tensor v0.21.0
[INFO] [stderr]   Downloaded tracing-appender v0.2.5
[INFO] [stderr]   Downloaded toml_edit v0.25.11+spec-1.1.0
[INFO] [stderr]   Downloaded nvml-wrapper v0.12.1
[INFO] [stderr]   Downloaded strum v0.28.0
[INFO] [stderr]   Downloaded nvml-wrapper-sys v0.9.1
[INFO] [stderr]   Downloaded burn-derive v0.21.0
[INFO] [stderr]   Downloaded burn-rl v0.21.0
[INFO] [stderr]   Downloaded burn-optim v0.21.0
[INFO] [stderr]   Downloaded strum_macros v0.28.0
[INFO] [stderr]   Downloaded burn-core v0.21.0
[INFO] [stderr]   Downloaded burn-dataset v0.21.0
[INFO] [stderr]   Downloaded gix-tempfile v23.0.0
[INFO] [stderr]   Downloaded signal-hook v0.4.4
[INFO] [stderr]   Downloaded gix-utils v0.3.2
[INFO] [stderr]   Downloaded gix-fs v0.21.1
[INFO] [stderr]   Downloaded gix-path v0.12.0
[INFO] [stderr]   Downloaded gix-validate v0.11.1
[INFO] [stderr]   Downloaded dashmap v6.2.1
[INFO] [stderr]   Downloaded gix-features v0.48.0
[INFO] [stderr]   Downloaded gix-trace v0.1.19
[INFO] [stderr]   Downloaded burn-tch v0.21.0
[INFO] [stderr]   Downloaded burn-flex v0.21.0
[INFO] [stderr]   Downloaded burn-router v0.21.0
[INFO] [stderr]   Downloaded burn-rocm v0.21.0
[INFO] [stderr]   Downloaded burn-remote v0.21.0
[INFO] [stderr]   Downloaded burn-communication v0.21.0
[INFO] [stderr]   Downloaded burn-store v0.21.0
[INFO] [stderr]   Downloaded burn-autodiff v0.21.0
[INFO] [stderr]   Downloaded burn-ndarray v0.21.0
[INFO] [stderr]   Downloaded burn-nn v0.21.0
[INFO] [stderr]   Downloaded burn-cpu v0.21.0
[INFO] [stderr]   Downloaded burn-cuda v0.21.0
[INFO] [stderr]   Downloaded burn-candle v0.21.0
[INFO] [stderr]   Downloaded burn-dispatch v0.21.0
[INFO] [stderr]   Downloaded burn-collective v0.21.0
[INFO] [stderr]   Downloaded noisy_float v0.2.1
[INFO] [stderr]   Downloaded ndarray-stats v0.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a38e03d8a9f5f7a5b4d59c41ecfd2a3ce11597601e57a64b69f55bc8fcab1ab9
[INFO] running `Command { std: "docker" "start" "-a" "a38e03d8a9f5f7a5b4d59c41ecfd2a3ce11597601e57a64b69f55bc8fcab1ab9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a38e03d8a9f5f7a5b4d59c41ecfd2a3ce11597601e57a64b69f55bc8fcab1ab9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a38e03d8a9f5f7a5b4d59c41ecfd2a3ce11597601e57a64b69f55bc8fcab1ab9", kill_on_drop: false }`
[INFO] [stdout] a38e03d8a9f5f7a5b4d59c41ecfd2a3ce11597601e57a64b69f55bc8fcab1ab9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 229c462b1348a6e6cf62a1d8ab5f37fdb991f35813b65f5a003b82a6d241d945
[INFO] running `Command { std: "docker" "start" "-a" "229c462b1348a6e6cf62a1d8ab5f37fdb991f35813b65f5a003b82a6d241d945", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling zerocopy-derive v0.8.48
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking libm v0.2.16
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]     Checking simd-adler32 v0.3.9
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking cpufeatures v0.3.0
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking chacha20 v0.10.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking foldhash v0.2.0
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]     Checking hashbrown v0.17.1
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]    Compiling cc v1.2.62
[INFO] [stderr]    Compiling seq-macro v0.3.6
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]    Compiling unicode-segmentation v1.13.2
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking dirs v6.0.0
[INFO] [stderr]     Checking rand v0.10.1
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking fastrand v2.4.1
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]    Compiling derive-new v0.7.0
[INFO] [stderr]     Checking parking v2.2.1
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking rustls-pki-types v1.14.1
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking gimli v0.32.3
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking writeable v0.6.3
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking litemap v0.8.2
[INFO] [stderr]     Checking winnow v1.0.3
[INFO] [stderr]    Compiling aws-lc-rs v1.17.0
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]     Checking rand_distr v0.6.0
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling aws-lc-sys v0.41.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]    Compiling cubecl-common v0.10.0
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]     Checking toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]     Checking serde_spanned v1.1.1
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking rustc-demangle v0.1.27
[INFO] [stderr]     Checking addr2line v0.25.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]     Checking toml_writer v1.1.1+spec-1.1.0
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking spin v0.10.0
[INFO] [stderr]     Checking toml v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling openssl-sys v0.9.115
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]    Compiling enumset_derive v0.15.0
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]     Checking sanitize-filename v0.6.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking futures-lite v2.6.1
[INFO] [stderr]    Compiling pulp v0.22.2
[INFO] [stderr]     Checking serde_bytes v0.11.19
[INFO] [stderr]     Checking float4 v0.2.0
[INFO] [stderr]     Checking xxhash-rust v0.8.15
[INFO] [stderr]     Checking oneshot v0.2.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking openssl-probe v0.2.1
[INFO] [stderr]     Checking embassy-futures v0.1.2
[INFO] [stderr]     Checking web-time v1.1.0
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling cubecl-macros-internal v0.10.0
[INFO] [stderr]     Checking rand v0.9.4
[INFO] [stderr]    Compiling cubecl-runtime v0.10.0
[INFO] [stderr]     Checking raw-cpuid v11.6.0
[INFO] [stderr]    Compiling variadics_please v1.1.0
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]     Checking reborrow v0.5.5
[INFO] [stderr]     Checking float-ord v0.3.2
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling dyn-stack-macros v0.1.3
[INFO] [stderr]     Checking pulp-wasm-simd-flag v0.1.0
[INFO] [stderr]    Compiling cubecl-macros v0.10.0
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking backtrace v0.3.76
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking async-channel v2.5.0
[INFO] [stderr]     Checking enumset v1.1.13
[INFO] [stderr]     Checking rand_distr v0.5.1
[INFO] [stderr]     Checking dyn-stack v0.13.2
[INFO] [stderr]     Checking cubecl-zspace v0.10.0
[INFO] [stderr]    Compiling inflections v1.1.1
[INFO] [stderr]     Checking md5 v0.8.0
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking tynm v0.2.0
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]    Compiling cubecl v0.10.0
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]    Compiling openssl v0.10.79
[INFO] [stderr]    Compiling onig_sys v69.9.3
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking h2 v0.4.14
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]    Compiling esaxx-rs v0.1.10
[INFO] [stderr]     Checking castaway v0.2.4
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling monostate-impl v0.1.18
[INFO] [stderr]    Compiling macro_rules_attribute-proc_macro v0.2.2
[INFO] [stderr]     Checking float8 v0.7.0
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking monostate v0.1.18
[INFO] [stderr]     Checking compact_str v0.9.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking spm_precompiled v0.1.4
[INFO] [stderr]     Checking macro_rules_attribute v0.2.2
[INFO] [stderr]     Checking thread-tree v0.3.3
[INFO] [stderr]     Checking unicode-normalization-alignments v0.1.12
[INFO] [stderr]     Checking dary_heap v0.3.9
[INFO] [stderr]     Checking rayon-cond v0.4.0
[INFO] [stderr]     Checking unicode-width v0.2.0
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking base64ct v1.8.3
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking tower-http v0.6.10
[INFO] [stderr]     Checking pem-rfc7468 v1.0.0
[INFO] [stderr]     Checking console v0.16.3
[INFO] [stderr]     Checking unit-prefix v0.5.2
[INFO] [stderr]     Checking derive_builder v0.20.2
[INFO] [stderr]     Checking typed-path v0.12.3
[INFO] [stderr]     Checking ndarray v0.17.2
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]     Checking socks v0.3.4
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking ureq-proto v0.6.0
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking der v0.8.0
[INFO] [stderr]     Checking safetensors v0.7.0
[INFO] [stderr]     Checking webpki-root-certs v1.0.7
[INFO] [stderr]     Checking webpki-roots v1.0.7
[INFO] [stderr]     Checking memmap2 v0.9.10
[INFO] [stderr]     Checking test-support v0.1.0 (/opt/rustwide/workdir/test_support)
[INFO] [stderr]     Checking utf8-zero v0.8.1
[INFO] [stderr]     Checking indicatif v0.18.4
[INFO] [stderr]    Compiling semver v1.0.28
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking rmp v0.8.15
[INFO] [stderr]     Checking unty v0.0.4
[INFO] [stderr]     Checking colored v3.1.1
[INFO] [stderr]     Checking cubecl-ir v0.10.0
[INFO] [stderr]     Checking bincode v2.0.1
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking rmp-serde v1.3.1
[INFO] [stderr]    Compiling burn-derive v0.21.0
[INFO] [stderr]     Checking uuid v1.23.1
[INFO] [stderr]     Checking zip v7.2.0
[INFO] [stderr]    Compiling macerator v0.3.3
[INFO] [stderr]     Checking data-encoding v2.11.0
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling macerator-macros v0.1.5
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling burn-ndarray v0.21.0
[INFO] [stderr]     Checking moddef v0.3.0
[INFO] [stderr]     Checking atomic_float v1.1.0
[INFO] [stderr]     Checking daachorse v1.0.1
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]     Checking rustls-native-certs v0.8.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking noisy_float v0.2.1
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking hw0 v0.1.0 (/opt/rustwide/workdir/hw0)
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking onig v6.5.3
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking tokenizers v0.22.2
[INFO] [stderr]     Checking tokenizers v0.23.1
[INFO] [stderr]     Checking ndarray-stats v0.7.0
[INFO] [stderr]     Checking hw1 v0.1.0 (/opt/rustwide/workdir/hw1)
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking gemm-common v0.19.0
[INFO] [stderr]     Checking gemm-f32 v0.19.0
[INFO] [stderr]     Checking gemm-f64 v0.19.0
[INFO] [stderr]     Checking gemm-c64 v0.19.0
[INFO] [stderr]     Checking gemm-c32 v0.19.0
[INFO] [stderr]     Checking gemm-f16 v0.19.0
[INFO] [stderr]     Checking gemm v0.19.0
[INFO] [stderr]     Checking cubecl-core v0.10.0
[INFO] [stderr]     Checking candle-core v0.10.2
[INFO] [stderr]     Checking burn-std v0.21.0
[INFO] [stderr]     Checking candle-nn v0.10.2
[INFO] [stderr]     Checking burn-backend v0.21.0
[INFO] [stderr]     Checking burn-tensor v0.21.0
[INFO] [stderr]     Checking burn-ir v0.21.0
[INFO] [stderr]     Checking burn-autodiff v0.21.0
[INFO] [stderr]     Checking burn-core v0.21.0
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking burn-optim v0.21.0
[INFO] [stderr]     Checking burn-nn v0.21.0
[INFO] [stderr]     Checking ureq v3.3.0
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking rustls-platform-verifier v0.7.0
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking reqwest v0.13.3
[INFO] [stderr]     Checking hf-hub v0.5.0
[INFO] [stderr]     Checking hw4 v0.1.0 (/opt/rustwide/workdir/hw4)
[INFO] [stderr]     Checking hw5 v0.1.0 (/opt/rustwide/workdir/hw5)
[INFO] [stderr]     Checking burn v0.21.0
[INFO] [stderr]     Checking hw6 v0.1.0 (/opt/rustwide/workdir/hw6)
[INFO] [stderr]     Checking hw3 v0.1.0 (/opt/rustwide/workdir/hw3)
[INFO] [stderr]     Checking hw7 v0.1.0 (/opt/rustwide/workdir/hw7)
[INFO] [stderr]     Checking hw2 v0.1.0 (/opt/rustwide/workdir/hw2)
[INFO] [stdout] error[E0631]: type mismatch in closure arguments
[INFO] [stdout]   --> hw7/tests/hw7_tests.rs:78:36
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut model_fn = |tokens: &Tensor, _seq_pos: usize, _use_cache: bool| -> Result<Tensor> {
[INFO] [stdout]    |                        ---------------------------------------------------------------------- found signature defined here
[INFO] [stdout] ...
[INFO] [stdout] 78 |     let tokens = generate_parallel(&mut model_fn, &[1, 2], 3, Some(6), 0.7, 5)?;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ expected due to this
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected closure signature `fn(burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>, _, _) -> _`
[INFO] [stdout]               found closure signature `fn(&candle_core::Tensor, _, _) -> _`
[INFO] [stdout]    = note: required for the cast from `&mut {closure@hw7/tests/hw7_tests.rs:62:24: 62:94}` to `&mut dyn FnMut(Tensor<Autodiff<NdArray>, 2, Int>, usize, bool) -> ...`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw7_tests-347648fcdaa07f91.long-type-3858748940294096109.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]   --> hw7/tests/hw7_tests.rs:78:18
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let tokens = generate_parallel(&mut model_fn, &[1, 2], 3, Some(6), 0.7, 5)?;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Tensor<Autodiff<NdArray>, 2, Int>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the nightly-only, unstable trait `Try` is not implemented for `Tensor<Autodiff<NdArray>, 2, Int>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw7_tests-347648fcdaa07f91.long-type-3145393580702062332.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in closure arguments
[INFO] [stdout]    --> hw7/tests/hw7_tests.rs:102:36
[INFO] [stdout]     |
[INFO] [stdout]  91 |     let mut model_fn = |tokens: &Tensor, _seq_pos: usize, _use_cache: bool| -> Result<Tensor> {
[INFO] [stdout]     |                        ---------------------------------------------------------------------- found signature defined here
[INFO] [stdout] ...
[INFO] [stdout] 102 |     let tokens = generate_parallel(&mut model_fn, &[1], 2, None, 0.7, 4)?;
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected closure signature `fn(burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>, _, _) -> _`
[INFO] [stdout]                found closure signature `fn(&candle_core::Tensor, _, _) -> _`
[INFO] [stdout]     = note: required for the cast from `&mut {closure@hw7/tests/hw7_tests.rs:91:24: 91:94}` to `&mut dyn FnMut(Tensor<Autodiff<NdArray>, 2, Int>, usize, bool) -> ...`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw7_tests-347648fcdaa07f91.long-type-13373966921014627964.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> hw7/tests/hw7_tests.rs:102:18
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let tokens = generate_parallel(&mut model_fn, &[1], 2, None, 0.7, 4)?;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Tensor<Autodiff<NdArray>, 2, Int>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Tensor<Autodiff<NdArray>, 2, Int>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw7_tests-347648fcdaa07f91.long-type-3145393580702062332.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hw7/tests/hw7_tests.rs:341:48
[INFO] [stdout]     |
[INFO] [stdout] 341 |     let scores = grade_responses(&char_decode, &tokens, 9, correct_weight, format_weight);
[INFO] [stdout]     |                  ---------------               ^^^^^^^ expected `Tensor<Autodiff<NdArray>, 2, Int>`, found `&Tensor`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> hw7/src/lib.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub fn grade_responses(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:226:30
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let x1v = to_vec_i32(x1)?;
[INFO] [stdout]     |                   ---------- ^^ expected `&Tensor`, found `&Tensor<Autodiff<NdArray>, 2, Int>`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Tensor<Autodiff<NdArray>, 2, Int>` and `candle_core::Tensor` have similar names, but are actually distinct types
[INFO] [stdout] note: `Tensor<Autodiff<NdArray>, 2, Int>` is defined in crate `burn_tensor`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/burn-tensor-0.21.0/src/tensor/api/base.rs:76:1
[INFO] [stdout]     |
[INFO] [stdout]  76 | pub struct Tensor<B, const D: usize, K = Float>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `candle_core::Tensor` is defined in crate `candle_core`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.10.2/src/tensor.rs:68:1
[INFO] [stdout]     |
[INFO] [stdout]  68 | pub struct Tensor(Arc<Tensor_>);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:13:4
[INFO] [stdout]     |
[INFO] [stdout]  13 | fn to_vec_i32(t: &Tensor) -> Result<Vec<i32>> {
[INFO] [stdout]     |    ^^^^^^^^^^ ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hw7/tests/hw7_tests.rs:357:46
[INFO] [stdout]     |
[INFO] [stdout] 357 |     let scores = grade_responses(&decode_fn, &tokens, 42, correct_weight, format_weight);
[INFO] [stdout]     |                  ---------------             ^^^^^^^ expected `Tensor<Autodiff<NdArray>, 2, Int>`, found `&Tensor`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> hw7/src/lib.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub fn grade_responses(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:227:30
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let x2v = to_vec_i32(x2)?;
[INFO] [stdout]     |                   ---------- ^^ expected `&Tensor`, found `&Tensor<Autodiff<NdArray>, 2, Int>`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Tensor<Autodiff<NdArray>, 2, Int>` and `candle_core::Tensor` have similar names, but are actually distinct types
[INFO] [stdout] note: `Tensor<Autodiff<NdArray>, 2, Int>` is defined in crate `burn_tensor`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/burn-tensor-0.21.0/src/tensor/api/base.rs:76:1
[INFO] [stdout]     |
[INFO] [stdout]  76 | pub struct Tensor<B, const D: usize, K = Float>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `candle_core::Tensor` is defined in crate `candle_core`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.10.2/src/tensor.rs:68:1
[INFO] [stdout]     |
[INFO] [stdout]  68 | pub struct Tensor(Arc<Tensor_>);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:13:4
[INFO] [stdout]     |
[INFO] [stdout]  13 | fn to_vec_i32(t: &Tensor) -> Result<Vec<i32>> {
[INFO] [stdout]     |    ^^^^^^^^^^ ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in closure arguments
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:251:20
[INFO] [stdout]     |
[INFO] [stdout] 244 |     let model_fn = |tokens: &Tensor| -> Result<Tensor> {
[INFO] [stdout]     |                    ----------------------------------- found signature defined here
[INFO] [stdout] ...
[INFO] [stdout] 251 |     train_chat_sft(&model_fn, &mut loader, &mut optimizer_fn, Some(0));
[INFO] [stdout]     |                    ^^^^^^^^^ expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected closure signature `fn(burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>) -> _`
[INFO] [stdout]                found closure signature `fn(&candle_core::Tensor) -> _`
[INFO] [stdout]     = note: required for the cast from `&{closure@hw6/tests/hw6_tests.rs:244:20: 244:55}` to `&dyn Fn(Tensor<Autodiff<NdArray>, 2, Int>) -> Tensor<Autodiff<...>, 3>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw6_tests-38897c9bb9a17184.long-type-4708928207698308178.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hw7/tests/hw7_tests.rs:375:46
[INFO] [stdout]     |
[INFO] [stdout] 375 |     let scores = grade_responses(&decode_fn, &tokens, 42, correct_weight, format_weight);
[INFO] [stdout]     |                  ---------------             ^^^^^^^ expected `Tensor<Autodiff<NdArray>, 2, Int>`, found `&Tensor`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> hw7/src/lib.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub fn grade_responses(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hw7/tests/hw7_tests.rs:390:46
[INFO] [stdout]     |
[INFO] [stdout] 390 |     let scores = grade_responses(&decode_fn, &tokens, 42, 1.0, 0.5);
[INFO] [stdout]     |                  ---------------             ^^^^^^^ expected `Tensor<Autodiff<NdArray>, 2, Int>`, found `&Tensor`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> hw7/src/lib.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub fn grade_responses(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in closure arguments
[INFO] [stdout]    --> hw7/tests/hw7_tests.rs:420:24
[INFO] [stdout]     |
[INFO] [stdout] 415 |     let model_fn = |t: &Tensor| -> Result<Tensor> {
[INFO] [stdout]     |                    ------------------------------ found signature defined here
[INFO] [stdout] ...
[INFO] [stdout] 420 |     let loss = rl_loss(&model_fn, &tokens, &rewards, &mask_fn)?;
[INFO] [stdout]     |                        ^^^^^^^^^ expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected closure signature `fn(burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>) -> _`
[INFO] [stdout]                found closure signature `fn(&candle_core::Tensor) -> _`
[INFO] [stdout]     = note: required for the cast from `&{closure@hw7/tests/hw7_tests.rs:415:20: 415:50}` to `&dyn Fn(Tensor<Autodiff<NdArray>, 2, Int>) -> Tensor<Autodiff<...>, 3>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw7_tests-347648fcdaa07f91.long-type-9135850888231858165.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hw7/tests/hw7_tests.rs:420:35
[INFO] [stdout]     |
[INFO] [stdout] 420 |     let loss = rl_loss(&model_fn, &tokens, &rewards, &mask_fn)?;
[INFO] [stdout]     |                -------            ^^^^^^^ expected `Tensor<Autodiff<NdArray>, 2, Int>`, found `&Tensor`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> hw7/src/lib.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 217 | pub fn rl_loss(
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> hw7/tests/hw7_tests.rs:420:16
[INFO] [stdout]     |
[INFO] [stdout] 420 |     let loss = rl_loss(&model_fn, &tokens, &rewards, &mask_fn)?;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw7_tests-347648fcdaa07f91.long-type-6636496905641930632.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in closure arguments
[INFO] [stdout]    --> hw7/tests/hw7_tests.rs:438:19
[INFO] [stdout]     |
[INFO] [stdout] 431 |     let model_fn = |t: &Tensor| -> Result<Tensor> {
[INFO] [stdout]     |                    ------------------------------ found signature defined here
[INFO] [stdout] ...
[INFO] [stdout] 438 |     train_llm_sft(&model_fn, &loader, &mut optimizer_fn, Some(0));
[INFO] [stdout]     |                   ^^^^^^^^^ expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected closure signature `fn(burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>) -> _`
[INFO] [stdout]                found closure signature `fn(&candle_core::Tensor) -> _`
[INFO] [stdout]     = note: required for the cast from `&{closure@hw7/tests/hw7_tests.rs:431:20: 431:50}` to `&dyn Fn(Tensor<Autodiff<NdArray>, 2, Int>) -> Tensor<Autodiff<...>, 3>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw7_tests-347648fcdaa07f91.long-type-3428061452318876891.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:274:15
[INFO] [stdout]     |
[INFO] [stdout] 274 |     let out = log_probs(&logits, &y, &mask)?;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: expected `Tensor<Autodiff<NdArray>, 3>`, found `&Tensor`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:274:25
[INFO] [stdout]     |
[INFO] [stdout] 274 |     let out = log_probs(&logits, &y, &mask)?;
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 3>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: expected `Tensor<Autodiff<NdArray>, 2, Int>`, found `&Tensor`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:274:34
[INFO] [stdout]     |
[INFO] [stdout] 274 |     let out = log_probs(&logits, &y, &mask)?;
[INFO] [stdout]     |                                  ^^
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: expected `Tensor<Autodiff<NdArray>, 2>`, found `&Tensor`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:274:38
[INFO] [stdout]     |
[INFO] [stdout] 274 |     let out = log_probs(&logits, &y, &mask)?;
[INFO] [stdout]     |                                      ^^^^^
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> hw6/src/lib.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn log_probs(
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> hw7/tests/hw7_tests.rs:449:24
[INFO] [stdout]     |
[INFO] [stdout] 449 |     let mut model_fn = eval_reasoning_model()?;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Box<dyn FnMut(Tensor<Autodiff<NdArray>, 2, Int>, usize, bool) -> ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Box<dyn FnMut(Tensor<Autodiff<NdArray>, 2, Int>, usize, bool) -> ...>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw7_tests-347648fcdaa07f91.long-type-2036291652342984199.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:274:15
[INFO] [stdout]     |
[INFO] [stdout] 274 |     let out = log_probs(&logits, &y, &mask)?;
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw6_tests-38897c9bb9a17184.long-type-16000134937707452449.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> hw7/tests/hw7_tests.rs:466:25
[INFO] [stdout]     |
[INFO] [stdout] 466 |     let mut model_fn2 = eval_reasoning_model()?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Box<dyn FnMut(Tensor<Autodiff<NdArray>, 2, Int>, usize, bool) -> ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Box<dyn FnMut(Tensor<Autodiff<NdArray>, 2, Int>, usize, bool) -> ...>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw7_tests-347648fcdaa07f91.long-type-10031544454600717526.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:289:14
[INFO] [stdout]     |
[INFO] [stdout] 289 |     let lp = log_probs(&logits, &y, &mask)?;
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: expected `Tensor<Autodiff<NdArray>, 3>`, found `&Tensor`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:289:24
[INFO] [stdout]     |
[INFO] [stdout] 289 |     let lp = log_probs(&logits, &y, &mask)?;
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 3>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: expected `Tensor<Autodiff<NdArray>, 2, Int>`, found `&Tensor`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:289:33
[INFO] [stdout]     |
[INFO] [stdout] 289 |     let lp = log_probs(&logits, &y, &mask)?;
[INFO] [stdout]     |                                 ^^
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: expected `Tensor<Autodiff<NdArray>, 2>`, found `&Tensor`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:289:37
[INFO] [stdout]     |
[INFO] [stdout] 289 |     let lp = log_probs(&logits, &y, &mask)?;
[INFO] [stdout]     |                                     ^^^^^
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> hw6/src/lib.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn log_probs(
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:289:14
[INFO] [stdout]     |
[INFO] [stdout] 289 |     let lp = log_probs(&logits, &y, &mask)?;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw6_tests-38897c9bb9a17184.long-type-16000134937707452449.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0631.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:309:24
[INFO] [stdout]     |
[INFO] [stdout] 309 |     let out = softplus(&x, beta)?;
[INFO] [stdout]     |               -------- ^^ expected `Tensor<Autodiff<NdArray>, 1>`, found `&Tensor`
[INFO] [stdout]     |               |
[INFO] [stdout]     |               arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 1>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> hw6/src/lib.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub fn softplus(_x: Tensor<B, 1>, _beta: f64) -> Tensor<B, 1> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:309:15
[INFO] [stdout]     |
[INFO] [stdout] 309 |     let out = softplus(&x, beta)?;
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw6_tests-38897c9bb9a17184.long-type-16000134937707452449.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hw7` (test "hw7_tests") due to 14 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:322:24
[INFO] [stdout]     |
[INFO] [stdout] 322 |     let out = softplus(&x, beta)?;
[INFO] [stdout]     |               -------- ^^ expected `Tensor<Autodiff<NdArray>, 1>`, found `&Tensor`
[INFO] [stdout]     |               |
[INFO] [stdout]     |               arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 1>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> hw6/src/lib.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub fn softplus(_x: Tensor<B, 1>, _beta: f64) -> Tensor<B, 1> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:322:15
[INFO] [stdout]     |
[INFO] [stdout] 322 |     let out = softplus(&x, beta)?;
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw6_tests-38897c9bb9a17184.long-type-16000134937707452449.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:335:29
[INFO] [stdout]     |
[INFO] [stdout] 335 |     let out: f32 = softplus(&x, beta)?.to_scalar::<f32>()?;
[INFO] [stdout]     |                    -------- ^^ expected `Tensor<Autodiff<NdArray>, 1>`, found `&Tensor`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 1>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> hw6/src/lib.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub fn softplus(_x: Tensor<B, 1>, _beta: f64) -> Tensor<B, 1> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:335:20
[INFO] [stdout]     |
[INFO] [stdout] 335 |     let out: f32 = softplus(&x, beta)?.to_scalar::<f32>()?;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw6_tests-38897c9bb9a17184.long-type-16000134937707452449.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:348:29
[INFO] [stdout]     |
[INFO] [stdout] 348 |     let out: f32 = softplus(&x, beta)?.to_scalar::<f32>()?;
[INFO] [stdout]     |                    -------- ^^ expected `Tensor<Autodiff<NdArray>, 1>`, found `&Tensor`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 1>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> hw6/src/lib.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub fn softplus(_x: Tensor<B, 1>, _beta: f64) -> Tensor<B, 1> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:348:20
[INFO] [stdout]     |
[INFO] [stdout] 348 |     let out: f32 = softplus(&x, beta)?.to_scalar::<f32>()?;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw6_tests-38897c9bb9a17184.long-type-16000134937707452449.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:361:29
[INFO] [stdout]     |
[INFO] [stdout] 361 |     let out: f32 = softplus(&x, beta)?.to_scalar::<f32>()?;
[INFO] [stdout]     |                    -------- ^^ expected `Tensor<Autodiff<NdArray>, 1>`, found `&Tensor`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 1>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> hw6/src/lib.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub fn softplus(_x: Tensor<B, 1>, _beta: f64) -> Tensor<B, 1> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:361:20
[INFO] [stdout]     |
[INFO] [stdout] 361 |     let out: f32 = softplus(&x, beta)?.to_scalar::<f32>()?;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw6_tests-38897c9bb9a17184.long-type-16000134937707452449.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in closure arguments
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:388:25
[INFO] [stdout]     |
[INFO] [stdout] 372 |     let model = |_x: &Tensor| -> Result<Tensor> {
[INFO] [stdout]     |                 ------------------------------- found signature defined here
[INFO] [stdout] ...
[INFO] [stdout] 388 |     let loss = dpo_loss(&model, &model_ref, &xp, &yp, &maskp, &xn, &yn, &maskn, 0.3)?;
[INFO] [stdout]     |                         ^^^^^^ expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected closure signature `fn(burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>) -> _`
[INFO] [stdout]                found closure signature `fn(&candle_core::Tensor) -> _`
[INFO] [stdout]     = note: required for the cast from `&{closure@hw6/tests/hw6_tests.rs:372:17: 372:48}` to `&dyn Fn(Tensor<Autodiff<NdArray>, 2, Int>) -> Tensor<Autodiff<...>, 3>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw6_tests-38897c9bb9a17184.long-type-15297255539326023862.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in closure arguments
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:388:33
[INFO] [stdout]     |
[INFO] [stdout] 375 |     let model_ref = |_x: &Tensor| -> Result<Tensor> {
[INFO] [stdout]     |                     ------------------------------- found signature defined here
[INFO] [stdout] ...
[INFO] [stdout] 388 |     let loss = dpo_loss(&model, &model_ref, &xp, &yp, &maskp, &xn, &yn, &maskn, 0.3)?;
[INFO] [stdout]     |                                 ^^^^^^^^^^ expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected closure signature `fn(burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>) -> _`
[INFO] [stdout]                found closure signature `fn(&candle_core::Tensor) -> _`
[INFO] [stdout]     = note: required for the cast from `&{closure@hw6/tests/hw6_tests.rs:375:21: 375:52}` to `&dyn Fn(Tensor<Autodiff<NdArray>, 2, Int>) -> Tensor<Autodiff<...>, 3>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw6_tests-38897c9bb9a17184.long-type-1877630171148465932.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:388:16
[INFO] [stdout]     |
[INFO] [stdout] 388 |     let loss = dpo_loss(&model, &model_ref, &xp, &yp, &maskp, &xn, &yn, &maskn, 0.3)?;
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: expected `Tensor<Autodiff<NdArray>, 2, Int>`, found `&Tensor`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:388:45
[INFO] [stdout]     |
[INFO] [stdout] 388 |     let loss = dpo_loss(&model, &model_ref, &xp, &yp, &maskp, &xn, &yn, &maskn, 0.3)?;
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: expected `Tensor<Autodiff<NdArray>, 2, Int>`, found `&Tensor`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:388:50
[INFO] [stdout]     |
[INFO] [stdout] 388 |     let loss = dpo_loss(&model, &model_ref, &xp, &yp, &maskp, &xn, &yn, &maskn, 0.3)?;
[INFO] [stdout]     |                                                  ^^^
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: expected `Tensor<Autodiff<NdArray>, 2>`, found `&Tensor`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:388:55
[INFO] [stdout]     |
[INFO] [stdout] 388 |     let loss = dpo_loss(&model, &model_ref, &xp, &yp, &maskp, &xn, &yn, &maskn, 0.3)?;
[INFO] [stdout]     |                                                       ^^^^^^
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: expected `Tensor<Autodiff<NdArray>, 2, Int>`, found `&Tensor`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:388:63
[INFO] [stdout]     |
[INFO] [stdout] 388 |     let loss = dpo_loss(&model, &model_ref, &xp, &yp, &maskp, &xn, &yn, &maskn, 0.3)?;
[INFO] [stdout]     |                                                               ^^^
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: expected `Tensor<Autodiff<NdArray>, 2, Int>`, found `&Tensor`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:388:68
[INFO] [stdout]     |
[INFO] [stdout] 388 |     let loss = dpo_loss(&model, &model_ref, &xp, &yp, &maskp, &xn, &yn, &maskn, 0.3)?;
[INFO] [stdout]     |                                                                    ^^^
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2, burn_backend::tensor::kind::Int>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: expected `Tensor<Autodiff<NdArray>, 2>`, found `&Tensor`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:388:73
[INFO] [stdout]     |
[INFO] [stdout] 388 |     let loss = dpo_loss(&model, &model_ref, &xp, &yp, &maskp, &xn, &yn, &maskn, 0.3)?;
[INFO] [stdout]     |                                                                         ^^^^^^
[INFO] [stdout]     = note: expected struct `burn_tensor::tensor::api::base::Tensor<burn_autodiff::backend::Autodiff<burn_ndarray::backend::NdArray>, 2>`
[INFO] [stdout]             found reference `&candle_core::Tensor`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> hw6/src/lib.rs:134:8
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub fn dpo_loss(
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:388:16
[INFO] [stdout]     |
[INFO] [stdout] 388 |     let loss = dpo_loss(&model, &model_ref, &xp, &yp, &maskp, &xn, &yn, &maskn, 0.3)?;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Tensor<Autodiff<NdArray>, 1>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw6_tests-38897c9bb9a17184.long-type-16000134937707452449.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:410:24
[INFO] [stdout]     |
[INFO] [stdout] 410 |     let mut model_fn = eval_llm_chat()?;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Box<dyn FnMut(Tensor<Autodiff<NdArray>, 2, Int>, usize, bool) -> ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Box<dyn FnMut(Tensor<Autodiff<NdArray>, 2, Int>, usize, bool) -> ...>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw6_tests-38897c9bb9a17184.long-type-10546590185931248579.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:427:25
[INFO] [stdout]     |
[INFO] [stdout] 427 |     let mut model_fn2 = eval_llm_chat()?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Box<dyn FnMut(Tensor<Autodiff<NdArray>, 2, Int>, usize, bool) -> ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Box<dyn FnMut(Tensor<Autodiff<NdArray>, 2, Int>, usize, bool) -> ...>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw6_tests-38897c9bb9a17184.long-type-677430727397065127.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:448:24
[INFO] [stdout]     |
[INFO] [stdout] 448 |     let mut model_fn = eval_llm_dpo()?;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Box<dyn FnMut(Tensor<Autodiff<NdArray>, 2, Int>, usize, bool) -> ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Box<dyn FnMut(Tensor<Autodiff<NdArray>, 2, Int>, usize, bool) -> ...>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw6_tests-38897c9bb9a17184.long-type-10546590185931248579.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> hw6/tests/hw6_tests.rs:465:25
[INFO] [stdout]     |
[INFO] [stdout] 465 |     let mut model_fn2 = eval_llm_dpo()?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Box<dyn FnMut(Tensor<Autodiff<NdArray>, 2, Int>, usize, bool) -> ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Box<dyn FnMut(Tensor<Autodiff<NdArray>, 2, Int>, usize, bool) -> ...>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hw6_tests-38897c9bb9a17184.long-type-677430727397065127.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0631.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hw6` (test "hw6_tests") due to 25 previous errors
[INFO] running `Command { std: "docker" "inspect" "229c462b1348a6e6cf62a1d8ab5f37fdb991f35813b65f5a003b82a6d241d945", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "229c462b1348a6e6cf62a1d8ab5f37fdb991f35813b65f5a003b82a6d241d945", kill_on_drop: false }`
[INFO] [stdout] 229c462b1348a6e6cf62a1d8ab5f37fdb991f35813b65f5a003b82a6d241d945
