[INFO] cloning repository https://github.com/yangfa-zhang/rust-mlp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yangfa-zhang/rust-mlp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangfa-zhang%2Frust-mlp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangfa-zhang%2Frust-mlp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a4d3fb8ff6d7b79c31cb2042f64aeb35d7a03405
[INFO] checking yangfa-zhang/rust-mlp against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangfa-zhang%2Frust-mlp" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/yangfa-zhang/rust-mlp
[INFO] finished tweaking git repo https://github.com/yangfa-zhang/rust-mlp
[INFO] tweaked toml for git repo https://github.com/yangfa-zhang/rust-mlp written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yangfa-zhang/rust-mlp on toolchain 52995a223f2919dd3e2e427231db90a257350ded
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/yangfa-zhang/rust-mlp 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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 950868fd90cc3fb6b5c71f157dc9b9854ed0245816f6adb063e675a098a6cc48
[INFO] running `Command { std: "docker" "start" "950868fd90cc3fb6b5c71f157dc9b9854ed0245816f6adb063e675a098a6cc48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "950868fd90cc3fb6b5c71f157dc9b9854ed0245816f6adb063e675a098a6cc48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "950868fd90cc3fb6b5c71f157dc9b9854ed0245816f6adb063e675a098a6cc48" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "950868fd90cc3fb6b5c71f157dc9b9854ed0245816f6adb063e675a098a6cc48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "950868fd90cc3fb6b5c71f157dc9b9854ed0245816f6adb063e675a098a6cc48" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]     Checking reborrow v0.5.5
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling seq-macro v0.3.6
[INFO] [stderr]    Compiling target-lexicon v0.13.3
[INFO] [stderr]    Compiling pulp v0.21.5
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]    Compiling dyn-stack-macros v0.1.3
[INFO] [stderr]     Checking raw-cpuid v11.6.0
[INFO] [stderr]     Checking raw-cpuid v10.7.0
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling toml_datetime v0.7.3
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]     Checking tracing-core v0.1.35
[INFO] [stderr]    Compiling zip v1.1.4
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]     Checking libloading v0.8.9
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling pyo3-build-config v0.27.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking unindent v0.2.4
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking memmap2 v0.9.9
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling pyo3-macros-backend v0.27.2
[INFO] [stderr]    Compiling pyo3-ffi v0.27.2
[INFO] [stderr]    Compiling pyo3 v0.27.2
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]    Compiling toml_edit v0.23.9
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling zerocopy-derive v0.8.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling num_enum_derive v0.7.5
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]     Checking num_enum v0.7.5
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking dyn-stack v0.13.2
[INFO] [stderr]     Checking dyn-stack v0.10.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking tracing v0.1.43
[INFO] [stderr]     Checking pulp v0.18.22
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]    Compiling pyo3-macros v0.27.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking safetensors v0.4.5
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking rand_distr v0.5.1
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking gemm-common v0.18.2
[INFO] [stderr]     Checking gemm-common v0.17.1
[INFO] [stderr]     Checking gemm-f32 v0.17.1
[INFO] [stderr]     Checking gemm-f64 v0.17.1
[INFO] [stderr]     Checking gemm-c32 v0.17.1
[INFO] [stderr]     Checking gemm-c64 v0.17.1
[INFO] [stderr]     Checking gemm-f32 v0.18.2
[INFO] [stderr]     Checking gemm-c32 v0.18.2
[INFO] [stderr]     Checking gemm-f64 v0.18.2
[INFO] [stderr]     Checking gemm-c64 v0.18.2
[INFO] [stderr]     Checking gemm-f16 v0.17.1
[INFO] [stderr]     Checking gemm-f16 v0.18.2
[INFO] [stderr]     Checking gemm v0.18.2
[INFO] [stderr]     Checking ug v0.4.0
[INFO] [stderr]     Checking gemm v0.17.1
[INFO] [stderr]     Checking candle-core v0.9.1
[INFO] [stderr]     Checking candle-nn v0.9.1
[INFO] [stderr]     Checking rust-mlp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `pyo3::exceptions::PyRuntimeError`
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use pyo3::exceptions::PyRuntimeError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DType`, `Device`, and `Tensor`
[INFO] [stdout]  --> src/lib.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use candle_core::{DType, Device, Tensor};
[INFO] [stdout]   |                   ^^^^^  ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Linear`, `Module`, `VarBuilder`, `VarMap`, and `linear`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     linear, Linear, Module, VarBuilder, VarMap, Optimizer,
[INFO] [stdout]    |     ^^^^^^  ^^^^^^  ^^^^^^  ^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pyo3::exceptions::PyRuntimeError`
[INFO] [stdout]  --> src/base.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use pyo3::exceptions::PyRuntimeError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pyo3::types::PyModule`
[INFO] [stdout]  --> src/base.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pyo3::types::PyModule;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pyo3::exceptions::PyRuntimeError`
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use pyo3::exceptions::PyRuntimeError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DType`, `Device`, and `Tensor`
[INFO] [stdout]  --> src/lib.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use candle_core::{DType, Device, Tensor};
[INFO] [stdout]   |                   ^^^^^  ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Linear`, `Module`, `VarBuilder`, `VarMap`, and `linear`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     linear, Linear, Module, VarBuilder, VarMap, Optimizer,
[INFO] [stdout]    |     ^^^^^^  ^^^^^^  ^^^^^^  ^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pyo3::exceptions::PyRuntimeError`
[INFO] [stdout]  --> src/base.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use pyo3::exceptions::PyRuntimeError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pyo3::types::PyModule`
[INFO] [stdout]  --> src/base.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pyo3::types::PyModule;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Optimizer`
[INFO] [stdout]   --> src/lib.rs:11:49
[INFO] [stdout]    |
[INFO] [stdout] 11 |     linear, Linear, Module, VarBuilder, VarMap, Optimizer,
[INFO] [stdout]    |                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Optimizer`
[INFO] [stdout]   --> src/lib.rs:11:49
[INFO] [stdout]    |
[INFO] [stdout] 11 |     linear, Linear, Module, VarBuilder, VarMap, Optimizer,
[INFO] [stdout]    |                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]   --> src/mlp.rs:30:74
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn train(&mut self, x: Vec<Vec<f32>>, y: Vec<f32>, epochs: usize) -> PyResult<()> {
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]   --> src/mlp.rs:36:58
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn evaluate(&self, x: Vec<Vec<f32>>, y: Vec<f32>) -> PyResult<()> {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]   --> src/mlp.rs:30:74
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn train(&mut self, x: Vec<Vec<f32>>, y: Vec<f32>, epochs: usize) -> PyResult<()> {
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]   --> src/mlp.rs:36:58
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn evaluate(&self, x: Vec<Vec<f32>>, y: Vec<f32>) -> PyResult<()> {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-mlp` (lib) due to 2 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-mlp` (lib test) due to 2 previous errors; 6 warnings emitted
[INFO] [stderr] warning: unused dependency `anyhow`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | anyhow = "1.0.100"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `anyhow`
[INFO] [stderr] warning: `rust-mlp` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "inspect" "950868fd90cc3fb6b5c71f157dc9b9854ed0245816f6adb063e675a098a6cc48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "950868fd90cc3fb6b5c71f157dc9b9854ed0245816f6adb063e675a098a6cc48", kill_on_drop: false }`
[INFO] [stdout] 950868fd90cc3fb6b5c71f157dc9b9854ed0245816f6adb063e675a098a6cc48
