[INFO] cloning repository https://github.com/vaibhav-gopal/dsp_lib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vaibhav-gopal/dsp_lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaibhav-gopal%2Fdsp_lib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaibhav-gopal%2Fdsp_lib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 255e2ef9850e52571e076197c383a50c278071c9 [INFO] checking vaibhav-gopal/dsp_lib against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaibhav-gopal%2Fdsp_lib" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vaibhav-gopal/dsp_lib [INFO] finished tweaking git repo https://github.com/vaibhav-gopal/dsp_lib [INFO] tweaked toml for git repo https://github.com/vaibhav-gopal/dsp_lib written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vaibhav-gopal/dsp_lib on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.6.0 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b353c6721841ce47f8d631ce101b4549bb014b509bae5e762212b5e29418bcf [INFO] running `Command { std: "docker" "start" "-a" "9b353c6721841ce47f8d631ce101b4549bb014b509bae5e762212b5e29418bcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b353c6721841ce47f8d631ce101b4549bb014b509bae5e762212b5e29418bcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b353c6721841ce47f8d631ce101b4549bb014b509bae5e762212b5e29418bcf", kill_on_drop: false }` [INFO] [stdout] 9b353c6721841ce47f8d631ce101b4549bb014b509bae5e762212b5e29418bcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d3173b8b6ccfdab96bbd508a0538cde1a7322da31fb6a998470a812879807e9 [INFO] running `Command { std: "docker" "start" "-a" "1d3173b8b6ccfdab96bbd508a0538cde1a7322da31fb6a998470a812879807e9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking clap_builder v4.5.47 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling delegate v0.13.4 [INFO] [stderr] Checking autodyne v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/flux/mod.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | //! Rust-first MLIR-ish IR — Phase 1 (updated for B) + Phase 2 (Operations) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] help: you might have meant to write a regular comment [INFO] [stdout] | [INFO] [stdout] 92 - //! Rust-first MLIR-ish IR — Phase 1 (updated for B) + Phase 2 (Operations) [INFO] [stdout] 92 + // Rust-first MLIR-ish IR — Phase 1 (updated for B) + Phase 2 (Operations) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/flux/mod.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | //! ---------------------------------------------------------------------------- [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] help: you might have meant to write a regular comment [INFO] [stdout] | [INFO] [stdout] 93 - //! ---------------------------------------------------------------------------- [INFO] [stdout] 93 + // ---------------------------------------------------------------------------- [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/flux/mod.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | //! This single-file crate carries: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] help: you might have meant to write a regular comment [INFO] [stdout] | [INFO] [stdout] 94 - //! This single-file crate carries: [INFO] [stdout] 94 + // This single-file crate carries: [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/flux/mod.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | //! Phase 1 (updated): Symbols, Types, ValueId/Value/ValueKind (design B), IRContext [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] help: you might have meant to write a regular comment [INFO] [stdout] | [INFO] [stdout] 95 - //! Phase 1 (updated): Symbols, Types, ValueId/Value/ValueKind (design B), IRContext [INFO] [stdout] 95 + // Phase 1 (updated): Symbols, Types, ValueId/Value/ValueKind (design B), IRContext [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/flux/mod.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | //! Phase 2: Operation, Opcode as Symbol, Attributes, Def–Use chains, basic builder [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] help: you might have meant to write a regular comment [INFO] [stdout] | [INFO] [stdout] 96 - //! Phase 2: Operation, Opcode as Symbol, Attributes, Def–Use chains, basic builder [INFO] [stdout] 96 + // Phase 2: Operation, Opcode as Symbol, Attributes, Def–Use chains, basic builder [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/flux/mod.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | //! [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] help: you might have meant to write a regular comment [INFO] [stdout] | [INFO] [stdout] 97 - //! [INFO] [stdout] 97 + // [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/flux/mod.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | //! Design notes: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] help: you might have meant to write a regular comment [INFO] [stdout] | [INFO] [stdout] 98 - //! Design notes: [INFO] [stdout] 98 + // Design notes: [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/flux/mod.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | //! - `Value` is the edge handle. Identity is `ValueId`; origin is in `ValueKind` side-table. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] help: you might have meant to write a regular comment [INFO] [stdout] | [INFO] [stdout] 99 - //! - `Value` is the edge handle. Identity is `ValueId`; origin is in `ValueKind` side-table. [INFO] [stdout] 99 + // - `Value` is the edge handle. Identity is `ValueId`; origin is in `ValueKind` side-table. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/flux/mod.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | //! - `Operation` stores `ValueId`s for inputs/results. IRContext owns arenas and tables. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] help: you might have meant to write a regular comment [INFO] [stdout] | [INFO] [stdout] 100 - //! - `Operation` stores `ValueId`s for inputs/results. IRContext owns arenas and tables. [INFO] [stdout] 100 + // - `Operation` stores `ValueId`s for inputs/results. IRContext owns arenas and tables. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/flux/mod.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | //! - Def–use is tracked incrementally on op creation and on RAUW. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] help: you might have meant to write a regular comment [INFO] [stdout] | [INFO] [stdout] 101 - //! - Def–use is tracked incrementally on op creation and on RAUW. [INFO] [stdout] 101 + // - Def–use is tracked incrementally on op creation and on RAUW. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/flux/mod.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | //! - Attributes: minimal `Attr` enum plus `AttrMap`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] help: you might have meant to write a regular comment [INFO] [stdout] | [INFO] [stdout] 102 - //! - Attributes: minimal `Attr` enum plus `AttrMap`. [INFO] [stdout] 102 + // - Attributes: minimal `Attr` enum plus `AttrMap`. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/flux/mod.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | //! - No control-flow regions/blocks yet; add in Phase 3. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] help: you might have meant to write a regular comment [INFO] [stdout] | [INFO] [stdout] 103 - //! - No control-flow regions/blocks yet; add in Phase 3. [INFO] [stdout] 103 + // - No control-flow regions/blocks yet; add in Phase 3. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/flux/mod.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | //! - No interning; easy to add inside IRContext later. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub struct Symbol(Arc); [INFO] [stdout] | ---------------------------- the inner doc comment doesn't annotate this struct [INFO] [stdout] | [INFO] [stdout] help: to annotate the struct, change the doc comment from inner to outer style [INFO] [stdout] | [INFO] [stdout] 104 - //! - No interning; easy to add inside IRContext later. [INFO] [stdout] 104 + /// - No interning; easy to add inside IRContext later. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Neg` [INFO] [stdout] --> src/units/ops.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{BitAnd, BitOr, BitXor, Neg, Not, Shl, Shr}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `Add`, `DerefMut`, `Deref`, `DivAssign`, `Div`, `MulAssign`, `Mul`, `Neg`, `SubAssign`, and `Sub` [INFO] [stdout] --> src/signal/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use std::ops::{Add, AddAssign, Deref, DerefMut, Div, DivAssign, Mul, MulAssign, Neg, Sub, SubAssign}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Debug` [INFO] [stdout] --> src/signal/mod.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use std::fmt::{Debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `Read`, `Seek`, and `Write` [INFO] [stdout] --> src/signal/mod.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io::{BufRead, Read, Seek, Write}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::units::*` [INFO] [stdout] --> src/signal/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::units::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/signal/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0072]: recursive types `TensorType` and `Type` have infinite size [INFO] [stdout] --> src/flux/mod.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct TensorType { pub shape: Vec, pub elem: Type } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ---- recursive without indirection [INFO] [stdout] ... [INFO] [stdout] 145 | pub enum Type { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | Tensor(TensorType), [INFO] [stdout] | ---------- recursive without indirection [INFO] [stdout] | [INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle [INFO] [stdout] | [INFO] [stdout] 142 ~ pub struct TensorType { pub shape: Vec, pub elem: Box } [INFO] [stdout] 143 | [INFO] [stdout] ... [INFO] [stdout] 148 | Index, [INFO] [stdout] 149 ~ Tensor(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/flux/mod.rs:125:69 [INFO] [stdout] | [INFO] [stdout] 125 | fn erased_eq(&self, other: &dyn ErasedHashEq) -> bool { if self.type_id() == other.type_id() { if let Some(rhs) = other.as_any().down... [INFO] [stdout] | ^^^^^^^ multiple `type_id` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Any` for the type `T` [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `ErasedHashEq` for the type `T` [INFO] [stdout] --> src/flux/mod.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | fn type_id(&self) -> std::any::TypeId { std::any::TypeId::of::() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 125 - fn erased_eq(&self, other: &dyn ErasedHashEq) -> bool { if self.type_id() == other.type_id() { if let Some(rhs) = other.as_any().downcast_ref::() { return self == rhs; } } false } [INFO] [stdout] 125 + fn erased_eq(&self, other: &dyn ErasedHashEq) -> bool { if Any::type_id(&self) == other.type_id() { if let Some(rhs) = other.as_any().downcast_ref::() { return self == rhs; } } false } [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 125 - fn erased_eq(&self, other: &dyn ErasedHashEq) -> bool { if self.type_id() == other.type_id() { if let Some(rhs) = other.as_any().downcast_ref::() { return self == rhs; } } false } [INFO] [stdout] 125 + fn erased_eq(&self, other: &dyn ErasedHashEq) -> bool { if ErasedHashEq::type_id(&self) == other.type_id() { if let Some(rhs) = other.as_any().downcast_ref::() { return self == rhs; } } false } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/flux/mod.rs:125:82 [INFO] [stdout] | [INFO] [stdout] 121 | impl ErasedHashEq for T where T: 'static + Send + Sync + Debug + Hash + Eq { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 125 | fn erased_eq(&self, other: &dyn ErasedHashEq) -> bool { if self.type_id() == other.type_id() { if let Some(rhs) = other.as_any().down... [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected type parameter `T`, found `TypeId` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found struct `TypeId` [INFO] [stdout] = note: `TypeId` implements `PartialEq<{type error}>` [INFO] [stdout] help: consider swapping the equality [INFO] [stdout] | [INFO] [stdout] 125 - fn erased_eq(&self, other: &dyn ErasedHashEq) -> bool { if self.type_id() == other.type_id() { if let Some(rhs) = other.as_any().downcast_ref::() { return self == rhs; } } false } [INFO] [stdout] 125 + fn erased_eq(&self, other: &dyn ErasedHashEq) -> bool { if other.type_id() == self.type_id() { if let Some(rhs) = other.as_any().downcast_ref::() { return self == rhs; } } false } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/flux/mod.rs:172:40 [INFO] [stdout] | [INFO] [stdout] 171 | match self{ [INFO] [stdout] | ---- this expression has type `&Type` [INFO] [stdout] 172 | Type::Int(w,_)|Type::Float(w)=>Some((w.bits() as usize +7)/8), [INFO] [stdout] | - ^ expected `&IntWidth`, found `&FloatWidth` [INFO] [stdout] | | [INFO] [stdout] | first introduced with type `&IntWidth` here [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&IntWidth` [INFO] [stdout] found reference `&FloatWidth` [INFO] [stdout] = note: in the same arm, a binding must have the same type in all alternatives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&Option>` [INFO] [stdout] --> src/flux/mod.rs:215:114 [INFO] [stdout] | [INFO] [stdout] 214 | ...g, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 215 | ...(bool), I64(i64), F64(f64), Str(Symbol), Type(Type), Opaque { dialect: Symbol, name: Symbol, payload: Option> } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when computing drop-check constraints for `flux::TensorType` [INFO] [stdout] --> src/flux/mod.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct TensorType { pub shape: Vec, pub elem: Type } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires computing drop-check constraints for `flux::Type`... [INFO] [stdout] --> src/flux/mod.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | pub enum Type { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which again requires computing drop-check constraints for `flux::TensorType`, completing the cycle [INFO] [stdout] = note: cycle used when computing dropck types for `flux::TensorType` [INFO] [stdout] = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0072, E0308, E0369, E0391, E0753. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `autodyne` (lib) due to 19 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1d3173b8b6ccfdab96bbd508a0538cde1a7322da31fb6a998470a812879807e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d3173b8b6ccfdab96bbd508a0538cde1a7322da31fb6a998470a812879807e9", kill_on_drop: false }` [INFO] [stdout] 1d3173b8b6ccfdab96bbd508a0538cde1a7322da31fb6a998470a812879807e9