[INFO] cloning repository https://github.com/j4orz/picograd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/j4orz/picograd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj4orz%2Fpicograd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj4orz%2Fpicograd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35a77f6c32636ac966bd9bd7e8b49df73ed9590b [INFO] testing j4orz/picograd against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj4orz%2Fpicograd" "/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/j4orz/picograd [INFO] finished tweaking git repo https://github.com/j4orz/picograd [INFO] tweaked toml for git repo https://github.com/j4orz/picograd written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/j4orz/picograd on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/j4orz/picograd 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28edf44c17623ebb6cc2f403888f2716495568fa67eb5ad8c80c9de42ef69c18 [INFO] running `Command { std: "docker" "start" "-a" "28edf44c17623ebb6cc2f403888f2716495568fa67eb5ad8c80c9de42ef69c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28edf44c17623ebb6cc2f403888f2716495568fa67eb5ad8c80c9de42ef69c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28edf44c17623ebb6cc2f403888f2716495568fa67eb5ad8c80c9de42ef69c18", kill_on_drop: false }` [INFO] [stdout] 28edf44c17623ebb6cc2f403888f2716495568fa67eb5ad8c80c9de42ef69c18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5dc3e1d8b9fda17234ea892414183c776b42b765e5669e684e30aea4b85db30 [INFO] running `Command { std: "docker" "start" "-a" "d5dc3e1d8b9fda17234ea892414183c776b42b765e5669e684e30aea4b85db30", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling pyo3-build-config v0.23.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.23.5 [INFO] [stderr] Compiling pyo3-ffi v0.23.5 [INFO] [stderr] Compiling pyo3 v0.23.5 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling pyo3-macros v0.23.5 [INFO] [stderr] Compiling numpy v0.23.0 [INFO] [stderr] Compiling picograd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/nn.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{eagker::cpu::ReduceDimInput, tensor::rsten::Tensor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `pyten::tensor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tensor` in the crate root [INFO] [stdout] --> src/pyten.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | tensor::rsten::{self, Tensor, ViewOpError}, [INFO] [stdout] | ^^^^^^ could not find `tensor` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::tensor`, `crate::tensor` [INFO] [stdout] --> src/pyten.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | Device, Dtype, DtypeVal, Layout, tensor::nn, [INFO] [stdout] | ^^^^^^ could not find `tensor` in the crate root [INFO] [stdout] 3 | eagker::cpu::{OpForwardError, ReduceDimInput}, [INFO] [stdout] 4 | tensor::rsten::{self, Tensor, ViewOpError}, [INFO] [stdout] | ^^^^^^ could not find `tensor` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/eagker/cpu.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ tensor::{pyten::{self}, rsten::{self, Storage, Tensor, ViewOpError}}, uop::UOp, Dtype, DtypeVal }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `pyten::tensor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::tensor`, `crate::uop` [INFO] [stdout] --> src/eagker/cpu.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ tensor::{pyten::{self}, rsten::{self, Storage, Tensor, ViewOpError}}, uop::UOp, Dtype, DtypeVal }; [INFO] [stdout] | ^^^^^^ ^^^ could not find `uop` in the crate root [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `pyten::tensor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::uop` [INFO] [stdout] --> src/graph/scheduler.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::uop::UOp; [INFO] [stdout] | ^^^ could not find `uop` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eagker::cpu::ReduceDimInput` [INFO] [stdout] --> src/nn.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{eagker::cpu::ReduceDimInput, tensor::rsten::Tensor}; [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: `Div` and `Sub` [INFO] [stdout] --> src/nn.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Div, Sub}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/pyten.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::{Add, Div, Mul, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/rsten.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::engine::{self, Execution, Storage}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReduceDimInput` and `forward_cpu` [INFO] [stdout] --> src/rsten.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::eagker::cpu::{forward_cpu, OpForwardError, ReduceDimInput}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/eagker/cpu.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ cell::RefCell, cmp, ops::{Add, AddAssign, Div, Mul, Neg, Sub}, rc::Rc }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/nn.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn cross_entropy(p: Tensor, q: Tensor) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/nn.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn _softmax(x: Tensor, dim: usize) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(data: Vec) -> Tensor { [INFO] [stdout] | ^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn zeros(shape: Vec, dtype: Dtype) -> Tensor { [INFO] [stdout] | ^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn ones(shape: Vec) -> Tensor { [INFO] [stdout] | ^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:97:73 [INFO] [stdout] | [INFO] [stdout] 97 | #[pyfunction] pub fn randint(low: i32, high: i32, shape: Vec) -> Tensor { Tensor::randint(low, high, &shape) } [INFO] [stdout] | ^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:98:50 [INFO] [stdout] | [INFO] [stdout] 98 | #[pyfunction] pub fn randn(shape: Vec) -> Tensor { Tensor::randn(&shape) } [INFO] [stdout] | ^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:101:77 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn multinomial(dist: &Tensor, num_samples: usize, replacement: bool) -> Tensor { [INFO] [stdout] | ^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:106:44 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn arange(start: usize, end: usize) -> Tensor { [INFO] [stdout] | ^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:130:46 [INFO] [stdout] | [INFO] [stdout] 130 | fn numpy<'py>(&self, py: Python<'py>) -> PyResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn detach(&self) -> Self { [INFO] [stdout] | ^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:196:53 [INFO] [stdout] | [INFO] [stdout] 196 | fn reshape(&self, shape: Bound<'_, PyTuple>) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:201:53 [INFO] [stdout] | [INFO] [stdout] 201 | fn permute(&self, shape: Bound<'_, PyTuple>) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | fn T(&self) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:216:52 [INFO] [stdout] | [INFO] [stdout] 216 | fn squeeze(&self, args: Bound<'_, PyTuple>) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:225:51 [INFO] [stdout] | [INFO] [stdout] 225 | fn unsqueeze(&self, dim: Bound<'_, PyInt>) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | fn item(&self) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:261:65 [INFO] [stdout] | [INFO] [stdout] 261 | fn sum(&self, dim: Option, keepdim: Option) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:288:36 [INFO] [stdout] | [INFO] [stdout] 288 | fn softmax(x: Tensor, dim: i32) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:294:48 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn tensor<'py>(data: Bound<'py, PyAny>) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:349:37 [INFO] [stdout] | [INFO] [stdout] 349 | #[pyfunction] fn tanh(x: Tensor) -> PyResult { x.tanh().map_err(|e| PyRuntimeError::new_err(e.to_string())) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:350:36 [INFO] [stdout] | [INFO] [stdout] 350 | #[pyfunction] fn exp(x: Tensor) -> PyResult { x.exp().map_err(|e| PyRuntimeError::new_err(e.to_string())) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pyten.rs:351:36 [INFO] [stdout] | [INFO] [stdout] 351 | #[pyfunction] fn log(x: Tensor) -> PyResult { x.log().map_err(|e| PyRuntimeError::new_err(e.to_string())) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `wrap` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `IntoPyObjectConverter>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `IntoPyObjectConverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/rsten.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 119 | let foo = match d { [INFO] [stdout] | ___________________- [INFO] [stdout] 120 | | Device::Cpu => todo!(), [INFO] [stdout] 121 | | Device::Gpu => todo!(), [INFO] [stdout] 122 | | Device::Amd => todo!(), [INFO] [stdout] 123 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 124 | [INFO] [stdout] 125 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Tensor` has no field named `input_op` [INFO] [stdout] --> src/rsten.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | input_op: self.input_op.clone(), // Box<_>.clone()? [INFO] [stdout] | ^^^^^^^^ `Tensor` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `input_op` on type `&Tensor` [INFO] [stdout] --> src/rsten.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | input_op: self.input_op.clone(), // Box<_>.clone()? [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ndim`, `shape`, `stride`, `device`, `dtype` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Tensor` has no field named `input_op` [INFO] [stdout] --> src/rsten.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | input_op: self.input_op.clone(), [INFO] [stdout] | ^^^^^^^^ `Tensor` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `input_op` on type `&Tensor` [INFO] [stdout] --> src/rsten.rs:542:28 [INFO] [stdout] | [INFO] [stdout] 542 | input_op: self.input_op.clone(), [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ndim`, `shape`, `stride`, `device`, `dtype` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Tensor` has no field named `input_op` [INFO] [stdout] --> src/rsten.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | input_op: None, requires_grad: false, [INFO] [stdout] | ^^^^^^^^ `Tensor` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/rsten.rs:19:83 [INFO] [stdout] | [INFO] [stdout] 19 | impl Add for &Tensor { type Output = Result; fn add(self, rhs: &Tensor) -> Self::Output { unimplemented!() }} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/rsten.rs:20:88 [INFO] [stdout] | [INFO] [stdout] 20 | impl Add for &Tensor { type Output = Result; fn add(self, rhs: f32) -> Self::Output { unimplemented!() }} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/rsten.rs:21:83 [INFO] [stdout] | [INFO] [stdout] 21 | impl Sub for &Tensor { type Output = Result; fn sub(self, rhs: &Tensor) -> Self::Output { unimplemented!() }} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/rsten.rs:22:88 [INFO] [stdout] | [INFO] [stdout] 22 | impl Sub for &Tensor { type Output = Result; fn sub(self, rhs: f32) -> Self::Output { unimplemented!() }} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/rsten.rs:23:88 [INFO] [stdout] | [INFO] [stdout] 23 | impl Mul for &Tensor { type Output = Result; fn mul(self, rhs: f32) -> Self::Output { unimplemented!() }} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/rsten.rs:24:88 [INFO] [stdout] | [INFO] [stdout] 24 | impl Mul<&Tensor> for f32 { type Output = Result; fn mul(self, rhs: &Tensor) -> Self::Output { unimplemented!()} } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/rsten.rs:25:83 [INFO] [stdout] | [INFO] [stdout] 25 | impl Div for &Tensor { type Output = Result; fn div(self, rhs: &Tensor) -> Self::Output { unimplemented!() }} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/rsten.rs:26:88 [INFO] [stdout] | [INFO] [stdout] 26 | impl Div for &Tensor { type Output = Result; fn div(self, rhs: f32) -> Self::Output { unimplemented!() }} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/rsten.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn matmul(&self, other: &Tensor) -> Result { unimplemented!() } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foo` [INFO] [stdout] --> src/rsten.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let foo = match d { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rsten.rs:223:23 [INFO] [stdout] | [INFO] [stdout] 223 | .filter(|(i, x)| **x == 1) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/rsten.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | .map(|(i, x)| i) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/rsten.rs:239:30 [INFO] [stdout] | [INFO] [stdout] 239 | .filter(|(i, x)| !squeezed_noop_indices.contains(i)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rsten.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | .map(|(i, x)| x) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/rsten.rs:246:30 [INFO] [stdout] | [INFO] [stdout] 246 | .filter(|(i, x)| !squeezed_noop_indices.contains(i)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rsten.rs:247:24 [INFO] [stdout] | [INFO] [stdout] 247 | .map(|(i, x)| x) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replacement` [INFO] [stdout] --> src/rsten.rs:491:55 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn multinomial(dist: &Tensor, samples: usize, replacement: bool) -> Tensor { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replacement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/graph/realizer.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn lower_schedule(input: &[ScheduleItem]) -> ExecItem { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0432, E0433, E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `picograd` (lib) due to 34 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d5dc3e1d8b9fda17234ea892414183c776b42b765e5669e684e30aea4b85db30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5dc3e1d8b9fda17234ea892414183c776b42b765e5669e684e30aea4b85db30", kill_on_drop: false }` [INFO] [stdout] d5dc3e1d8b9fda17234ea892414183c776b42b765e5669e684e30aea4b85db30