[INFO] cloning repository https://github.com/219002940/Siyasanga-Mhlekude-02
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/219002940/Siyasanga-Mhlekude-02" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F219002940%2FSiyasanga-Mhlekude-02", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F219002940%2FSiyasanga-Mhlekude-02'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 68b50a00abc7970c1e84b4ad1dafcdc4e70d90a5
[INFO] checking 219002940/Siyasanga-Mhlekude-02 against try#51de2e90f91fdec6cf64ff542a4e15b9c177a797 for pr-147294
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F219002940%2FSiyasanga-Mhlekude-02" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/219002940/Siyasanga-Mhlekude-02
[INFO] finished tweaking git repo https://github.com/219002940/Siyasanga-Mhlekude-02
[INFO] tweaked toml for git repo https://github.com/219002940/Siyasanga-Mhlekude-02 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/219002940/Siyasanga-Mhlekude-02 on toolchain 51de2e90f91fdec6cf64ff542a4e15b9c177a797
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/219002940/Siyasanga-Mhlekude-02 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" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5b8e432b37065d3b130229b08b801a1e4af6bd479f68d2790a94fe265651bc52
[INFO] running `Command { std: "docker" "start" "-a" "5b8e432b37065d3b130229b08b801a1e4af6bd479f68d2790a94fe265651bc52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b8e432b37065d3b130229b08b801a1e4af6bd479f68d2790a94fe265651bc52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b8e432b37065d3b130229b08b801a1e4af6bd479f68d2790a94fe265651bc52", kill_on_drop: false }`
[INFO] [stdout] 5b8e432b37065d3b130229b08b801a1e4af6bd479f68d2790a94fe265651bc52
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f9d0fd96a553f336a2a73e1632d9c1046d5cff0eabdefd10a803822114816d65
[INFO] running `Command { std: "docker" "start" "-a" "f9d0fd96a553f336a2a73e1632d9c1046d5cff0eabdefd10a803822114816d65", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]     Checking once_cell v1.20.3
[INFO] [stderr]     Checking log v0.4.26
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking bitflags v2.8.0
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking itoa v1.0.14
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking either v1.14.0
[INFO] [stderr]     Checking ryu v1.0.19
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling portable-atomic v1.11.0
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]    Compiling serde_json v1.0.139
[INFO] [stderr]     Checking libloading v0.8.6
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling cubecl-common v0.4.0
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking event-listener v5.4.0
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking futures-lite v2.6.0
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]     Checking event-listener-strategy v0.5.3
[INFO] [stderr]    Compiling prettyplease v0.2.29
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking embassy-futures v0.1.1
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]    Compiling cubecl-runtime v0.4.0
[INFO] [stderr]    Compiling naga v23.1.0
[INFO] [stderr]     Checking async-channel v2.3.1
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking async-lock v3.4.0
[INFO] [stderr]    Compiling wgpu-hal v23.0.1
[INFO] [stderr]     Checking spirv v0.3.0+sdk-1.3.268.0
[INFO] [stderr]     Checking gpu-descriptor-types v0.2.0
[INFO] [stderr]     Checking gpu-alloc-types v0.3.0
[INFO] [stderr]     Checking ash v0.38.0+1.3.281
[INFO] [stderr]     Checking khronos-egl v6.0.0
[INFO] [stderr]     Checking gpu-alloc v0.6.0
[INFO] [stderr]    Compiling wgpu-core v23.0.1
[INFO] [stderr]     Checking wgpu-types v23.0.0
[INFO] [stderr]     Checking glow v0.14.2
[INFO] [stderr]    Compiling wgpu v23.0.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling cubecl-wgpu v0.4.0
[INFO] [stderr]     Checking getrandom v0.3.1
[INFO] [stderr]    Compiling rustversion v1.0.19
[INFO] [stderr]    Compiling cc v1.2.15
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling thiserror v2.0.11
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling anyhow v1.0.96
[INFO] [stderr]     Checking tinyvec v1.8.1
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking sanitize-filename v0.5.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling semver v1.0.25
[INFO] [stderr]     Checking v_frame v0.3.8
[INFO] [stderr]     Checking signal-hook v0.3.17
[INFO] [stderr]     Checking rand_core v0.9.2
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking gix-utils v0.1.14
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking gix-trace v0.1.12
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]     Checking av1-grain v0.2.3
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.7
[INFO] [stderr]     Checking avif-serialize v0.8.2
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]    Compiling winnow v0.7.3
[INFO] [stderr]     Checking time v0.3.37
[INFO] [stderr]     Checking r2d2 v0.8.10
[INFO] [stderr]     Checking tempfile v3.17.1
[INFO] [stderr]    Compiling rstest_macros v0.23.0
[INFO] [stderr]     Checking thread-tree v0.3.3
[INFO] [stderr]     Checking rmp v0.8.14
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]    Compiling serde_derive v1.0.218
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling bytemuck_derive v1.8.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]     Checking bytemuck v1.21.0
[INFO] [stderr]    Compiling profiling-procmacros v1.0.16
[INFO] [stderr]    Compiling derive-new v0.6.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking profiling v1.0.16
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling derive-new v0.7.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking rgb v0.8.50
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]     Checking rav1e v0.7.1
[INFO] [stderr]     Checking derive_more v1.0.0
[INFO] [stderr]     Checking uuid v1.14.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking dashmap v6.1.0
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]    Compiling toml_edit v0.22.24
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking csv-core v0.1.12
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]    Compiling cubecl-macros v0.4.0
[INFO] [stderr]     Checking gpu-descriptor v0.3.1
[INFO] [stderr]     Checking burn-common v0.16.0
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]     Checking faster-hex v0.9.0
[INFO] [stderr]     Checking gix-hash v0.15.1
[INFO] [stderr]     Checking rusqlite v0.32.1
[INFO] [stderr]     Checking text_placeholder v0.5.1
[INFO] [stderr]     Checking gix-features v0.39.1
[INFO] [stderr]     Checking exr v1.73.0
[INFO] [stderr]     Checking gix-fs v0.12.1
[INFO] [stderr]     Checking gix-tempfile v15.0.0
[INFO] [stderr]     Checking ravif v0.11.11
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking serde_rusqlite v0.36.0
[INFO] [stderr]     Checking r2d2_sqlite v0.25.0
[INFO] [stderr]    Compiling proc-macro-crate v3.2.0
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]     Checking rmp-serde v1.3.0
[INFO] [stderr]     Checking signal-hook-mio v0.2.4
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking castaway v0.2.3
[INFO] [stderr]     Checking sanitize-filename v0.6.0
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]    Compiling burn-ndarray v0.16.0
[INFO] [stderr]    Compiling instability v0.3.7
[INFO] [stderr]     Checking ndarray v0.16.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking compact_str v0.8.1
[INFO] [stderr]     Checking image v0.25.5
[INFO] [stderr]     Checking crossterm v0.28.1
[INFO] [stderr]     Checking unicode-truncate v1.1.0
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking lru v0.12.5
[INFO] [stderr]     Checking bincode v2.0.0-rc.3
[INFO] [stderr]    Compiling burn-derive v0.16.0
[INFO] [stderr]    Compiling wrapcenum-derive v0.4.1
[INFO] [stderr]     Checking cubecl-core v0.4.0
[INFO] [stderr]     Checking nvml-wrapper-sys v0.8.0
[INFO] [stderr]     Checking data-encoding v2.8.0
[INFO] [stderr]     Checking atomic_float v1.1.0
[INFO] [stderr]     Checking bytesize v1.3.2
[INFO] [stderr]     Checking systemstat v0.2.4
[INFO] [stderr]     Checking ratatui v0.29.0
[INFO] [stderr]     Checking tracing-appender v0.2.3
[INFO] [stderr]     Checking sysinfo v0.32.1
[INFO] [stderr]     Checking nvml-wrapper v0.10.0
[INFO] [stderr]     Checking burn-dataset v0.16.0
[INFO] [stderr]     Checking rstest v0.23.0
[INFO] [stderr]     Checking drawille v0.3.0
[INFO] [stderr]     Checking textplots v0.8.7
[INFO] [stderr]     Checking cubecl-reduce v0.4.0
[INFO] [stderr]     Checking cubecl-linalg v0.4.0
[INFO] [stderr]     Checking cubecl v0.4.0
[INFO] [stderr]     Checking burn-tensor v0.16.0
[INFO] [stderr]     Checking burn-fusion v0.16.0
[INFO] [stderr]     Checking burn-autodiff v0.16.0
[INFO] [stderr]     Checking burn-jit v0.16.0
[INFO] [stderr]     Checking burn-wgpu v0.16.0
[INFO] [stderr]     Checking burn-core v0.16.0
[INFO] [stderr]     Checking burn-train v0.16.0
[INFO] [stderr]     Checking burn v0.16.0
[INFO] [stderr]     Checking linear_regression_model v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Adam`
[INFO] [stdout]  --> src/main.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 |     optim::{Adam, AdamConfig},
[INFO] [stdout]   |             ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `burn::tensor::Data`: the internal data format has changed, please use `TensorData` instead
[INFO] [stdout]  --> src/main.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 |     tensor::{backend::Backend, Data, Shape, Tensor},
[INFO] [stdout]   |                                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/main.rs:33:25
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `burn::tensor::Data`: the internal data format has changed, please use `TensorData` instead
[INFO] [stdout]   --> src/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         Data::from(x_train.iter().map(|x| vec![*x]).collect::<Vec<_>>()),
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `burn::tensor::Data`: the internal data format has changed, please use `TensorData` instead
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         Data::from(y_train.iter().map(|y| vec![*y]).collect::<Vec<_>>()),
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `burn::tensor::Data`: the internal data format has changed, please use `TensorData` instead
[INFO] [stdout]   --> src/main.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         Data::from(test_x.iter().map(|x| vec![*x]).collect::<Vec<_>>()),
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Adam`
[INFO] [stdout]  --> src/main.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 |     optim::{Adam, AdamConfig},
[INFO] [stdout]   |             ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/main.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let x = rng.gen_range(-10.0..10.0);
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/main.rs:39:30
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let noise: f32 = rng.gen_range(-1.0..1.0);
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `burn::tensor::Data`: the internal data format has changed, please use `TensorData` instead
[INFO] [stdout]  --> src/main.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 |     tensor::{backend::Backend, Data, Shape, Tensor},
[INFO] [stdout]   |                                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/main.rs:33:25
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `burn::tensor::Data`: the internal data format has changed, please use `TensorData` instead
[INFO] [stdout]   --> src/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         Data::from(x_train.iter().map(|x| vec![*x]).collect::<Vec<_>>()),
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `burn::tensor::Data`: the internal data format has changed, please use `TensorData` instead
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         Data::from(y_train.iter().map(|y| vec![*y]).collect::<Vec<_>>()),
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `burn::tensor::Data`: the internal data format has changed, please use `TensorData` instead
[INFO] [stdout]   --> src/main.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         Data::from(test_x.iter().map(|x| vec![*x]).collect::<Vec<_>>()),
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Data<_, _>: From<Vec<Vec<f32>>>` is not satisfied
[INFO] [stdout]   --> src/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         Data::from(x_train.iter().map(|x| vec![*x]).collect::<Vec<_>>()),
[INFO] [stdout]    |         ^^^^ the trait `From<Vec<Vec<f32>>>` is not implemented for `Data<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              `Data<E, 1>` implements `From<&[E]>`
[INFO] [stdout]              `Data<E, 1>` implements `From<[E; A]>`
[INFO] [stdout]              `Data<E, 2>` implements `From<[[E; B]; A]>`
[INFO] [stdout]              `Data<E, 3>` implements `From<[[[E; C]; B]; A]>`
[INFO] [stdout]              `Data<E, 4>` implements `From<[[[[E; D]; C]; B]; A]>`
[INFO] [stdout]              `Data<E, D>` implements `From<&DataSerialize<E>>`
[INFO] [stdout]              `Data<E, D>` implements `From<DataSerialize<E>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TensorData: From<Data<_, _>>` is not satisfied
[INFO] [stdout]    --> src/main.rs:53:9
[INFO] [stdout]     |
[INFO] [stdout]  52 |     let x_tensor = Tensor::<BackendImpl, 2>::from_data(
[INFO] [stdout]     |                    ----------------------------------- required by a bound introduced by this call
[INFO] [stdout]  53 |         Data::from(x_train.iter().map(|x| vec![*x]).collect::<Vec<_>>()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<Data<_, _>>` is not implemented for `TensorData`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               `TensorData` implements `From<&[E]>`
[INFO] [stdout]               `TensorData` implements `From<&[usize]>`
[INFO] [stdout]               `TensorData` implements `From<[E; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[E; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[E; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[[E; D]; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[[[Elem; E]; D]; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[usize; A]>`
[INFO] [stdout]     = note: required for `Data<_, _>` to implement `Into<TensorData>`
[INFO] [stdout] note: required by a bound in `Tensor::<B, D, K>::from_data`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/burn-tensor-0.16.0/src/tensor/api/base.rs:952:12
[INFO] [stdout]     |
[INFO] [stdout] 950 |     pub fn from_data<T>(data: T, device: &B::Device) -> Self
[INFO] [stdout]     |            --------- required by a bound in this associated function
[INFO] [stdout] 951 |     where
[INFO] [stdout] 952 |         T: Into<TensorData>,
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ required by this bound in `Tensor::<B, D, K>::from_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:54:9
[INFO] [stdout]     |
[INFO] [stdout]  52 |     let x_tensor = Tensor::<BackendImpl, 2>::from_data(
[INFO] [stdout]     |                    ----------------------------------- arguments to this function are incorrect
[INFO] [stdout]  53 |         Data::from(x_train.iter().map(|x| vec![*x]).collect::<Vec<_>>()),
[INFO] [stdout]  54 |         Shape::new([samples, 1]), // Define tensor shape
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ expected `&NdArrayDevice`, found `Shape`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/burn-tensor-0.16.0/src/tensor/api/base.rs:950:12
[INFO] [stdout]     |
[INFO] [stdout] 950 |     pub fn from_data<T>(data: T, device: &B::Device) -> Self
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Data<_, _>: From<Vec<Vec<f32>>>` is not satisfied
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         Data::from(y_train.iter().map(|y| vec![*y]).collect::<Vec<_>>()),
[INFO] [stdout]    |         ^^^^ the trait `From<Vec<Vec<f32>>>` is not implemented for `Data<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              `Data<E, 1>` implements `From<&[E]>`
[INFO] [stdout]              `Data<E, 1>` implements `From<[E; A]>`
[INFO] [stdout]              `Data<E, 2>` implements `From<[[E; B]; A]>`
[INFO] [stdout]              `Data<E, 3>` implements `From<[[[E; C]; B]; A]>`
[INFO] [stdout]              `Data<E, 4>` implements `From<[[[[E; D]; C]; B]; A]>`
[INFO] [stdout]              `Data<E, D>` implements `From<&DataSerialize<E>>`
[INFO] [stdout]              `Data<E, D>` implements `From<DataSerialize<E>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TensorData: From<Data<_, _>>` is not satisfied
[INFO] [stdout]    --> src/main.rs:58:9
[INFO] [stdout]     |
[INFO] [stdout]  57 |     let y_tensor = Tensor::<BackendImpl, 2>::from_data(
[INFO] [stdout]     |                    ----------------------------------- required by a bound introduced by this call
[INFO] [stdout]  58 |         Data::from(y_train.iter().map(|y| vec![*y]).collect::<Vec<_>>()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<Data<_, _>>` is not implemented for `TensorData`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               `TensorData` implements `From<&[E]>`
[INFO] [stdout]               `TensorData` implements `From<&[usize]>`
[INFO] [stdout]               `TensorData` implements `From<[E; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[E; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[E; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[[E; D]; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[[[Elem; E]; D]; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[usize; A]>`
[INFO] [stdout]     = note: required for `Data<_, _>` to implement `Into<TensorData>`
[INFO] [stdout] note: required by a bound in `Tensor::<B, D, K>::from_data`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/burn-tensor-0.16.0/src/tensor/api/base.rs:952:12
[INFO] [stdout]     |
[INFO] [stdout] 950 |     pub fn from_data<T>(data: T, device: &B::Device) -> Self
[INFO] [stdout]     |            --------- required by a bound in this associated function
[INFO] [stdout] 951 |     where
[INFO] [stdout] 952 |         T: Into<TensorData>,
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ required by this bound in `Tensor::<B, D, K>::from_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:59:9
[INFO] [stdout]     |
[INFO] [stdout]  57 |     let y_tensor = Tensor::<BackendImpl, 2>::from_data(
[INFO] [stdout]     |                    ----------------------------------- arguments to this function are incorrect
[INFO] [stdout]  58 |         Data::from(y_train.iter().map(|y| vec![*y]).collect::<Vec<_>>()),
[INFO] [stdout]  59 |         Shape::new([samples, 1]), // Define tensor shape
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ expected `&NdArrayDevice`, found `Shape`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/burn-tensor-0.16.0/src/tensor/api/base.rs:950:12
[INFO] [stdout]     |
[INFO] [stdout] 950 |     pub fn from_data<T>(data: T, device: &B::Device) -> Self
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/main.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let x = rng.gen_range(-10.0..10.0);
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/main.rs:39:30
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let noise: f32 = rng.gen_range(-1.0..1.0);
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `update_module` found for struct `OptimizerAdaptor<O, M, B>` in the current scope
[INFO] [stdout]   --> src/main.rs:72:19
[INFO] [stdout]    |
[INFO] [stdout] 72 |         optimizer.update_module(&mut model, loss.backward()); // Update model weights
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ method not found in `OptimizerAdaptor<Adam, _, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Data<_, _>: From<Vec<Vec<f32>>>` is not satisfied
[INFO] [stdout]   --> src/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         Data::from(x_train.iter().map(|x| vec![*x]).collect::<Vec<_>>()),
[INFO] [stdout]    |         ^^^^ the trait `From<Vec<Vec<f32>>>` is not implemented for `Data<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              `Data<E, 1>` implements `From<&[E]>`
[INFO] [stdout]              `Data<E, 1>` implements `From<[E; A]>`
[INFO] [stdout]              `Data<E, 2>` implements `From<[[E; B]; A]>`
[INFO] [stdout]              `Data<E, 3>` implements `From<[[[E; C]; B]; A]>`
[INFO] [stdout]              `Data<E, 4>` implements `From<[[[[E; D]; C]; B]; A]>`
[INFO] [stdout]              `Data<E, D>` implements `From<&DataSerialize<E>>`
[INFO] [stdout]              `Data<E, D>` implements `From<DataSerialize<E>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TensorData: From<Data<_, _>>` is not satisfied
[INFO] [stdout]    --> src/main.rs:53:9
[INFO] [stdout]     |
[INFO] [stdout]  52 |     let x_tensor = Tensor::<BackendImpl, 2>::from_data(
[INFO] [stdout]     |                    ----------------------------------- required by a bound introduced by this call
[INFO] [stdout]  53 |         Data::from(x_train.iter().map(|x| vec![*x]).collect::<Vec<_>>()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<Data<_, _>>` is not implemented for `TensorData`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               `TensorData` implements `From<&[E]>`
[INFO] [stdout]               `TensorData` implements `From<&[usize]>`
[INFO] [stdout]               `TensorData` implements `From<[E; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[E; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[E; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[[E; D]; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[[[Elem; E]; D]; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[usize; A]>`
[INFO] [stdout]     = note: required for `Data<_, _>` to implement `Into<TensorData>`
[INFO] [stdout] note: required by a bound in `Tensor::<B, D, K>::from_data`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/burn-tensor-0.16.0/src/tensor/api/base.rs:952:12
[INFO] [stdout]     |
[INFO] [stdout] 950 |     pub fn from_data<T>(data: T, device: &B::Device) -> Self
[INFO] [stdout]     |            --------- required by a bound in this associated function
[INFO] [stdout] 951 |     where
[INFO] [stdout] 952 |         T: Into<TensorData>,
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ required by this bound in `Tensor::<B, D, K>::from_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `backward` exists for struct `Tensor<NdArray, 1>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/main.rs:72:50
[INFO] [stdout]    |
[INFO] [stdout] 72 |         optimizer.update_module(&mut model, loss.backward()); // Update model weights
[INFO] [stdout]    |                                                  ^^^^^^^^ method cannot be called on `Tensor<NdArray, 1>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/burn-ndarray-0.16.0/src/backend.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct NdArray<E = f32, I = i64, Q = i8> {
[INFO] [stdout]    | -------------------------------------------- doesn't satisfy `NdArray: AutodiffBackend`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `NdArray: AutodiffBackend`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:54:9
[INFO] [stdout]     |
[INFO] [stdout]  52 |     let x_tensor = Tensor::<BackendImpl, 2>::from_data(
[INFO] [stdout]     |                    ----------------------------------- arguments to this function are incorrect
[INFO] [stdout]  53 |         Data::from(x_train.iter().map(|x| vec![*x]).collect::<Vec<_>>()),
[INFO] [stdout]  54 |         Shape::new([samples, 1]), // Define tensor shape
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ expected `&NdArrayDevice`, found `Shape`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/burn-tensor-0.16.0/src/tensor/api/base.rs:950:12
[INFO] [stdout]     |
[INFO] [stdout] 950 |     pub fn from_data<T>(data: T, device: &B::Device) -> Self
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Data<_, _>: From<Vec<Vec<f32>>>` is not satisfied
[INFO] [stdout]   --> src/main.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         Data::from(test_x.iter().map(|x| vec![*x]).collect::<Vec<_>>()),
[INFO] [stdout]    |         ^^^^ the trait `From<Vec<Vec<f32>>>` is not implemented for `Data<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              `Data<E, 1>` implements `From<&[E]>`
[INFO] [stdout]              `Data<E, 1>` implements `From<[E; A]>`
[INFO] [stdout]              `Data<E, 2>` implements `From<[[E; B]; A]>`
[INFO] [stdout]              `Data<E, 3>` implements `From<[[[E; C]; B]; A]>`
[INFO] [stdout]              `Data<E, 4>` implements `From<[[[[E; D]; C]; B]; A]>`
[INFO] [stdout]              `Data<E, D>` implements `From<&DataSerialize<E>>`
[INFO] [stdout]              `Data<E, D>` implements `From<DataSerialize<E>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Data<_, _>: From<Vec<Vec<f32>>>` is not satisfied
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         Data::from(y_train.iter().map(|y| vec![*y]).collect::<Vec<_>>()),
[INFO] [stdout]    |         ^^^^ the trait `From<Vec<Vec<f32>>>` is not implemented for `Data<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              `Data<E, 1>` implements `From<&[E]>`
[INFO] [stdout]              `Data<E, 1>` implements `From<[E; A]>`
[INFO] [stdout]              `Data<E, 2>` implements `From<[[E; B]; A]>`
[INFO] [stdout]              `Data<E, 3>` implements `From<[[[E; C]; B]; A]>`
[INFO] [stdout]              `Data<E, 4>` implements `From<[[[[E; D]; C]; B]; A]>`
[INFO] [stdout]              `Data<E, D>` implements `From<&DataSerialize<E>>`
[INFO] [stdout]              `Data<E, D>` implements `From<DataSerialize<E>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TensorData: From<Data<_, _>>` is not satisfied
[INFO] [stdout]    --> src/main.rs:86:9
[INFO] [stdout]     |
[INFO] [stdout]  85 |     let test_x_tensor = Tensor::<BackendImpl, 2>::from_data(
[INFO] [stdout]     |                         ----------------------------------- required by a bound introduced by this call
[INFO] [stdout]  86 |         Data::from(test_x.iter().map(|x| vec![*x]).collect::<Vec<_>>()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<Data<_, _>>` is not implemented for `TensorData`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               `TensorData` implements `From<&[E]>`
[INFO] [stdout]               `TensorData` implements `From<&[usize]>`
[INFO] [stdout]               `TensorData` implements `From<[E; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[E; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[E; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[[E; D]; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[[[Elem; E]; D]; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[usize; A]>`
[INFO] [stdout]     = note: required for `Data<_, _>` to implement `Into<TensorData>`
[INFO] [stdout] note: required by a bound in `Tensor::<B, D, K>::from_data`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/burn-tensor-0.16.0/src/tensor/api/base.rs:952:12
[INFO] [stdout]     |
[INFO] [stdout] 950 |     pub fn from_data<T>(data: T, device: &B::Device) -> Self
[INFO] [stdout]     |            --------- required by a bound in this associated function
[INFO] [stdout] 951 |     where
[INFO] [stdout] 952 |         T: Into<TensorData>,
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ required by this bound in `Tensor::<B, D, K>::from_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TensorData: From<Data<_, _>>` is not satisfied
[INFO] [stdout]    --> src/main.rs:58:9
[INFO] [stdout]     |
[INFO] [stdout]  57 |     let y_tensor = Tensor::<BackendImpl, 2>::from_data(
[INFO] [stdout]     |                    ----------------------------------- required by a bound introduced by this call
[INFO] [stdout]  58 |         Data::from(y_train.iter().map(|y| vec![*y]).collect::<Vec<_>>()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<Data<_, _>>` is not implemented for `TensorData`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               `TensorData` implements `From<&[E]>`
[INFO] [stdout]               `TensorData` implements `From<&[usize]>`
[INFO] [stdout]               `TensorData` implements `From<[E; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[E; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[E; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[[E; D]; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[[[Elem; E]; D]; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[usize; A]>`
[INFO] [stdout]     = note: required for `Data<_, _>` to implement `Into<TensorData>`
[INFO] [stdout] note: required by a bound in `Tensor::<B, D, K>::from_data`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/burn-tensor-0.16.0/src/tensor/api/base.rs:952:12
[INFO] [stdout]     |
[INFO] [stdout] 950 |     pub fn from_data<T>(data: T, device: &B::Device) -> Self
[INFO] [stdout]     |            --------- required by a bound in this associated function
[INFO] [stdout] 951 |     where
[INFO] [stdout] 952 |         T: Into<TensorData>,
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ required by this bound in `Tensor::<B, D, K>::from_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:59:9
[INFO] [stdout]     |
[INFO] [stdout]  57 |     let y_tensor = Tensor::<BackendImpl, 2>::from_data(
[INFO] [stdout]     |                    ----------------------------------- arguments to this function are incorrect
[INFO] [stdout]  58 |         Data::from(y_train.iter().map(|y| vec![*y]).collect::<Vec<_>>()),
[INFO] [stdout]  59 |         Shape::new([samples, 1]), // Define tensor shape
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ expected `&NdArrayDevice`, found `Shape`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/burn-tensor-0.16.0/src/tensor/api/base.rs:950:12
[INFO] [stdout]     |
[INFO] [stdout] 950 |     pub fn from_data<T>(data: T, device: &B::Device) -> Self
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:87:9
[INFO] [stdout]     |
[INFO] [stdout]  85 |     let test_x_tensor = Tensor::<BackendImpl, 2>::from_data(
[INFO] [stdout]     |                         ----------------------------------- arguments to this function are incorrect
[INFO] [stdout]  86 |         Data::from(test_x.iter().map(|x| vec![*x]).collect::<Vec<_>>()),
[INFO] [stdout]  87 |         Shape::new([test_x.len(), 1]), // Define shape
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&NdArrayDevice`, found `Shape`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/burn-tensor-0.16.0/src/tensor/api/base.rs:950:12
[INFO] [stdout]     |
[INFO] [stdout] 950 |     pub fn from_data<T>(data: T, device: &B::Device) -> Self
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: a value of type `Vec<(f32, f32)>` cannot be built from an iterator over elements of type `(f32, Vec<_>)`
[INFO] [stdout]   --> src/main.rs:96:78
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let points: Vec<(f32, f32)> = test_x.into_iter().zip(test_y.into_iter()).collect();
[INFO] [stdout]    |                                                                              ^^^^^^^ value of type `Vec<(f32, f32)>` cannot be built from `std::iter::Iterator<Item=(f32, Vec<_>)>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromIterator<(_, Vec<_>)>` is not implemented for `Vec<(f32, f32)>`
[INFO] [stdout]            but trait `FromIterator<(_, f32)>` is implemented for it
[INFO] [stdout]    = help: for that trait implementation, expected `f32`, found `Vec<_>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]   --> src/main.rs:96:54
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let test_x: Vec<f32> = (-100..100).map(|x| x as f32 / 10.0).collect();
[INFO] [stdout]    |                            ----------- ------------------------ `Iterator::Item` is `f32` here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            this expression has type `Range<{integer}>`
[INFO] [stdout] ...
[INFO] [stdout] 96 |     let points: Vec<(f32, f32)> = test_x.into_iter().zip(test_y.into_iter()).collect();
[INFO] [stdout]    |                                          ----------- ^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `(f32, Vec<_>)` here
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          `Iterator::Item` is `f32` here
[INFO] [stdout] note: required by a bound in `collect`
[INFO] [stdout]   --> /rustc/51de2e90f91fdec6cf64ff542a4e15b9c177a797/library/core/src/iter/traits/iterator.rs:2015:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `update_module` found for struct `OptimizerAdaptor<O, M, B>` in the current scope
[INFO] [stdout]   --> src/main.rs:72:19
[INFO] [stdout]    |
[INFO] [stdout] 72 |         optimizer.update_module(&mut model, loss.backward()); // Update model weights
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ method not found in `OptimizerAdaptor<Adam, _, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `backward` exists for struct `Tensor<NdArray, 1>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/main.rs:72:50
[INFO] [stdout]    |
[INFO] [stdout] 72 |         optimizer.update_module(&mut model, loss.backward()); // Update model weights
[INFO] [stdout]    |                                                  ^^^^^^^^ method cannot be called on `Tensor<NdArray, 1>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/burn-ndarray-0.16.0/src/backend.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct NdArray<E = f32, I = i64, Q = i8> {
[INFO] [stdout]    | -------------------------------------------- doesn't satisfy `NdArray: AutodiffBackend`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `NdArray: AutodiffBackend`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Data<_, _>: From<Vec<Vec<f32>>>` is not satisfied
[INFO] [stdout]   --> src/main.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         Data::from(test_x.iter().map(|x| vec![*x]).collect::<Vec<_>>()),
[INFO] [stdout]    |         ^^^^ the trait `From<Vec<Vec<f32>>>` is not implemented for `Data<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              `Data<E, 1>` implements `From<&[E]>`
[INFO] [stdout]              `Data<E, 1>` implements `From<[E; A]>`
[INFO] [stdout]              `Data<E, 2>` implements `From<[[E; B]; A]>`
[INFO] [stdout]              `Data<E, 3>` implements `From<[[[E; C]; B]; A]>`
[INFO] [stdout]              `Data<E, 4>` implements `From<[[[[E; D]; C]; B]; A]>`
[INFO] [stdout]              `Data<E, D>` implements `From<&DataSerialize<E>>`
[INFO] [stdout]              `Data<E, D>` implements `From<DataSerialize<E>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TensorData: From<Data<_, _>>` is not satisfied
[INFO] [stdout]    --> src/main.rs:86:9
[INFO] [stdout]     |
[INFO] [stdout]  85 |     let test_x_tensor = Tensor::<BackendImpl, 2>::from_data(
[INFO] [stdout]     |                         ----------------------------------- required by a bound introduced by this call
[INFO] [stdout]  86 |         Data::from(test_x.iter().map(|x| vec![*x]).collect::<Vec<_>>()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<Data<_, _>>` is not implemented for `TensorData`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               `TensorData` implements `From<&[E]>`
[INFO] [stdout]               `TensorData` implements `From<&[usize]>`
[INFO] [stdout]               `TensorData` implements `From<[E; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[E; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[E; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[[E; D]; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[[[[[Elem; E]; D]; C]; B]; A]>`
[INFO] [stdout]               `TensorData` implements `From<[usize; A]>`
[INFO] [stdout]     = note: required for `Data<_, _>` to implement `Into<TensorData>`
[INFO] [stdout] note: required by a bound in `Tensor::<B, D, K>::from_data`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/burn-tensor-0.16.0/src/tensor/api/base.rs:952:12
[INFO] [stdout]     |
[INFO] [stdout] 950 |     pub fn from_data<T>(data: T, device: &B::Device) -> Self
[INFO] [stdout]     |            --------- required by a bound in this associated function
[INFO] [stdout] 951 |     where
[INFO] [stdout] 952 |         T: Into<TensorData>,
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ required by this bound in `Tensor::<B, D, K>::from_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:87:9
[INFO] [stdout]     |
[INFO] [stdout]  85 |     let test_x_tensor = Tensor::<BackendImpl, 2>::from_data(
[INFO] [stdout]     |                         ----------------------------------- arguments to this function are incorrect
[INFO] [stdout]  86 |         Data::from(test_x.iter().map(|x| vec![*x]).collect::<Vec<_>>()),
[INFO] [stdout]  87 |         Shape::new([test_x.len(), 1]), // Define shape
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&NdArrayDevice`, found `Shape`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/burn-tensor-0.16.0/src/tensor/api/base.rs:950:12
[INFO] [stdout]     |
[INFO] [stdout] 950 |     pub fn from_data<T>(data: T, device: &B::Device) -> Self
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linear_regression_model` (bin "linear_regression_model" test) due to 12 previous errors; 8 warnings emitted
[INFO] [stdout] error[E0277]: a value of type `Vec<(f32, f32)>` cannot be built from an iterator over elements of type `(f32, Vec<_>)`
[INFO] [stdout]   --> src/main.rs:96:78
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let points: Vec<(f32, f32)> = test_x.into_iter().zip(test_y.into_iter()).collect();
[INFO] [stdout]    |                                                                              ^^^^^^^ value of type `Vec<(f32, f32)>` cannot be built from `std::iter::Iterator<Item=(f32, Vec<_>)>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromIterator<(_, Vec<_>)>` is not implemented for `Vec<(f32, f32)>`
[INFO] [stdout]            but trait `FromIterator<(_, f32)>` is implemented for it
[INFO] [stdout]    = help: for that trait implementation, expected `f32`, found `Vec<_>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]   --> src/main.rs:96:54
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let test_x: Vec<f32> = (-100..100).map(|x| x as f32 / 10.0).collect();
[INFO] [stdout]    |                            ----------- ------------------------ `Iterator::Item` is `f32` here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            this expression has type `Range<{integer}>`
[INFO] [stdout] ...
[INFO] [stdout] 96 |     let points: Vec<(f32, f32)> = test_x.into_iter().zip(test_y.into_iter()).collect();
[INFO] [stdout]    |                                          ----------- ^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `(f32, Vec<_>)` here
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          `Iterator::Item` is `f32` here
[INFO] [stdout] note: required by a bound in `collect`
[INFO] [stdout]   --> /rustc/51de2e90f91fdec6cf64ff542a4e15b9c177a797/library/core/src/iter/traits/iterator.rs:2015:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linear_regression_model` (bin "linear_regression_model") due to 12 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f9d0fd96a553f336a2a73e1632d9c1046d5cff0eabdefd10a803822114816d65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9d0fd96a553f336a2a73e1632d9c1046d5cff0eabdefd10a803822114816d65", kill_on_drop: false }`
[INFO] [stdout] f9d0fd96a553f336a2a73e1632d9c1046d5cff0eabdefd10a803822114816d65
