Skip to content

error: internal compiler error: src/librustc_metadata/decoder.rs:483: entry: id not found: DefIndex(86) in crate aljabar with number 15 #64730

Closed
@GalOz666

Description

@GalOz666

Hey everybody :) I was trying to test matrix*vector in aljabar crate by
running "cargo test" on:



extern crate aljabar;
use aljabar::{matrix, vector};



#[cfg(test)]
mod tests {
    use super::*;
    #[test]
    fn identity() {
        let pixel = vector![0,255,255,15];
        let kernel = matrix![
        [0,0,0],
        [0,1,0],
        [0,0,0]];
        assert_eq!(pixel*kernel, pixel);
    }
}


and got this:

error: internal compiler error: src/librustc_metadata/decoder.rs:483: entry: id not found: DefIndex(86) in crate aljabar with number 15

thread 'rustc' panicked at 'Box', src/librustc_errors/lib.rs:644:9
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.
error: aborting due to previous error

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.38.0-nightly (60960a2 2019-08-12) running on x86_64-apple-darwin

note: compiler flags: -C debuginfo=2 -C incremental

note: some of the compiler flags provided by cargo are hidden

error: Could not compile KernelFiltering.

Not sure if it's a known issue or not but if there's anything else you need from me please let me know :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-const-genericsArea: const generics (parameters and arguments)A-metadataArea: Crate metadataC-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions