[INFO] fetching crate abstraps 0.1.8... [INFO] testing abstraps-0.1.8 against 1.60.0 for beta-1.61-1 [INFO] extracting crate abstraps 0.1.8 into /workspace/builds/worker-87/source [INFO] validating manifest of crates.io crate abstraps 0.1.8 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate abstraps 0.1.8 [INFO] finished tweaking crates.io crate abstraps 0.1.8 [INFO] tweaked toml for crates.io crate abstraps 0.1.8 written to /workspace/builds/worker-87/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded owo-colors v1.3.0 [INFO] [stderr] Downloaded eyre v0.6.8 [INFO] [stderr] Downloaded cranelift-bforest v0.79.1 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.79.1 [INFO] [stderr] Downloaded color-eyre v0.5.11 [INFO] [stderr] Downloaded cranelift v0.79.1 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.79.1 [INFO] [stderr] Downloaded cranelift-entity v0.79.1 [INFO] [stderr] Downloaded cranelift-codegen v0.79.1 [INFO] [stderr] Downloaded cranelift-frontend v0.79.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1ae066873f20b01fd78c4a5197132dd99eb1f7c12804923eb440ab98647271f [INFO] running `Command { std: "docker" "start" "-a" "e1ae066873f20b01fd78c4a5197132dd99eb1f7c12804923eb440ab98647271f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1ae066873f20b01fd78c4a5197132dd99eb1f7c12804923eb440ab98647271f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1ae066873f20b01fd78c4a5197132dd99eb1f7c12804923eb440ab98647271f", kill_on_drop: false }` [INFO] [stdout] e1ae066873f20b01fd78c4a5197132dd99eb1f7c12804923eb440ab98647271f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 770540163e400b8457ba30f1099da1739a1ef058d88c27b7fa2fdd43cda13bbb [INFO] running `Command { std: "docker" "start" "-a" "770540163e400b8457ba30f1099da1739a1ef058d88c27b7fa2fdd43cda13bbb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling owo-colors v1.3.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling clang-sys v1.3.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling color-spantrace v0.1.6 [INFO] [stderr] Compiling color-eyre v0.5.11 [INFO] [stderr] Compiling abstraps v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AttributeValue`, `Var` [INFO] [stdout] --> src/dialects/arith/traits.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::{AttributeValue, SupportsInterfaceTraits, Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dialects::builtin::*` [INFO] [stdout] --> src/dialects/arith/traits.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dialects::builtin::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/dialects/arith/traits.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{bail, Report}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/dialects/arith/traits.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yansi::Paint` [INFO] [stdout] --> src/dialects/arith/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use yansi::Paint; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dialects::base::*` [INFO] [stdout] --> src/dialects/base/intrinsics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dialects::base::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/dialects/memref/traits.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{bail, Report}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yansi::Paint` [INFO] [stdout] --> src/dialects/memref/traits.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use yansi::Paint; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Private` is named the same as one of the variants of the type `attributes::LinkageAttr` [INFO] [stdout] --> src/dialects/builtin/attributes.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Private => write!(f, "{}", Paint::blue("private").bold()), [INFO] [stdout] | ^^^^^^^ help: to match on the variant, qualify the path: `attributes::LinkageAttr::Private` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `External` is named the same as one of the variants of the type `attributes::LinkageAttr` [INFO] [stdout] --> src/dialects/builtin/attributes.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | External => write!(f, "{}", Paint::blue("external").bold()), [INFO] [stdout] | ^^^^^^^^ help: to match on the variant, qualify the path: `attributes::LinkageAttr::External` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/dialects/builtin/attributes.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 51 | Private => write!(f, "{}", Paint::blue("private").bold()), [INFO] [stdout] | ------- matches any value [INFO] [stdout] 52 | External => write!(f, "{}", Paint::blue("external").bold()), [INFO] [stdout] | ^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/dialects/arith/traits.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/dialects/arith/traits.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/dialects/arith/traits.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed` [INFO] [stdout] --> src/core/ir.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/base/intrinsics.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | intrinsic!(Call: ["base", "call"], [], extern: []); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/core/ir.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/base/intrinsics.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | intrinsic!(Call: ["base", "call"], [], extern: []); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Private` [INFO] [stdout] --> src/dialects/builtin/attributes.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Private => write!(f, "{}", Paint::blue("private").bold()), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Private` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `External` [INFO] [stdout] --> src/dialects/builtin/attributes.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | External => write!(f, "{}", Paint::blue("external").bold()), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_External` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/dialects/builtin/traits.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blk` [INFO] [stdout] --> src/dialects/builtin/traits.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | for (ind, blk) in r.get_blocks().iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_blk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed` [INFO] [stdout] --> src/core/ir.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/memref/intrinsics.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | intrinsic!(Alloc: ["memref", "alloc"], [], extern: []); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/core/ir.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/memref/intrinsics.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | intrinsic!(Alloc: ["memref", "alloc"], [], extern: []); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed` [INFO] [stdout] --> src/core/ir.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/memref/intrinsics.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | intrinsic!(Alloca: ["memref", "alloca"], [], extern: []); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/core/ir.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/memref/intrinsics.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | intrinsic!(Alloca: ["memref", "alloca"], [], extern: []); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/dialects/memref/traits.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Inactive` [INFO] [stdout] --> src/core/absint.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Inactive, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `InterpreterState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Waiting` [INFO] [stdout] --> src/core/absint.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Waiting(Signature), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InterpreterState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/core/absint.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Error(InterpreterError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InterpreterState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Finished` [INFO] [stdout] --> src/core/absint.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Finished, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InterpreterState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `trace` [INFO] [stdout] --> src/core/absint.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | trace: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InterpreterFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/core/absint.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | state: InterpreterState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `block_queue` [INFO] [stdout] --> src/core/absint.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | block_queue: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `trace` [INFO] [stdout] --> src/core/absint.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | trace: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `diagnostics_color_disable` [INFO] [stdout] --> src/core/diagnostics.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn diagnostics_color_disable() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_op_mut` [INFO] [stdout] --> src/core/region.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn get_op_mut(&mut self, id: Var) -> Option<(Var, &mut Operation)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_builder` [INFO] [stdout] --> src/dialects/base/intrinsics.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_builder( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_builder` [INFO] [stdout] --> src/dialects/base/intrinsics.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn get_builder( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Private` should have a snake case name [INFO] [stdout] --> src/dialects/builtin/attributes.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Private => write!(f, "{}", Paint::blue("private").bold()), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `private` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `External` should have a snake case name [INFO] [stdout] --> src/dialects/builtin/attributes.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | External => write!(f, "{}", Paint::blue("external").bold()), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `external` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dialects/builtin/attributes.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | write!(f, ", "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dialects/builtin/attributes.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | write!(f, "{} => {}", Paint::blue(elem.0), elem.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dialects/builtin/intrinsics.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | b.push_block(blk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dialects/builtin/intrinsics.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | b.push_block(blk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.30s [INFO] running `Command { std: "docker" "inspect" "770540163e400b8457ba30f1099da1739a1ef058d88c27b7fa2fdd43cda13bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "770540163e400b8457ba30f1099da1739a1ef058d88c27b7fa2fdd43cda13bbb", kill_on_drop: false }` [INFO] [stdout] 770540163e400b8457ba30f1099da1739a1ef058d88c27b7fa2fdd43cda13bbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 908ede7b0e05d4c29441df3edd3b471c7a224453a5ed428caecc7964b5370d27 [INFO] running `Command { std: "docker" "start" "-a" "908ede7b0e05d4c29441df3edd3b471c7a224453a5ed428caecc7964b5370d27", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused imports: `AttributeValue`, `Var` [INFO] [stdout] --> src/dialects/arith/traits.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::{AttributeValue, SupportsInterfaceTraits, Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dialects::builtin::*` [INFO] [stdout] --> src/dialects/arith/traits.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dialects::builtin::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/dialects/arith/traits.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{bail, Report}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/dialects/arith/traits.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yansi::Paint` [INFO] [stdout] --> src/dialects/arith/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use yansi::Paint; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dialects::base::*` [INFO] [stdout] --> src/dialects/base/intrinsics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dialects::base::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/dialects/memref/traits.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{bail, Report}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yansi::Paint` [INFO] [stdout] --> src/dialects/memref/traits.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use yansi::Paint; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Private` is named the same as one of the variants of the type `attributes::LinkageAttr` [INFO] [stdout] --> src/dialects/builtin/attributes.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Private => write!(f, "{}", Paint::blue("private").bold()), [INFO] [stdout] | ^^^^^^^ help: to match on the variant, qualify the path: `attributes::LinkageAttr::Private` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `External` is named the same as one of the variants of the type `attributes::LinkageAttr` [INFO] [stdout] --> src/dialects/builtin/attributes.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | External => write!(f, "{}", Paint::blue("external").bold()), [INFO] [stdout] | ^^^^^^^^ help: to match on the variant, qualify the path: `attributes::LinkageAttr::External` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/dialects/builtin/attributes.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 51 | Private => write!(f, "{}", Paint::blue("private").bold()), [INFO] [stdout] | ------- matches any value [INFO] [stdout] 52 | External => write!(f, "{}", Paint::blue("external").bold()), [INFO] [stdout] | ^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/dialects/arith/traits.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/dialects/arith/traits.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/dialects/arith/traits.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed` [INFO] [stdout] --> src/core/ir.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/base/intrinsics.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | intrinsic!(Call: ["base", "call"], [], extern: []); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/core/ir.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/base/intrinsics.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | intrinsic!(Call: ["base", "call"], [], extern: []); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Private` [INFO] [stdout] --> src/dialects/builtin/attributes.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Private => write!(f, "{}", Paint::blue("private").bold()), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Private` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `External` [INFO] [stdout] --> src/dialects/builtin/attributes.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | External => write!(f, "{}", Paint::blue("external").bold()), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_External` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/dialects/builtin/traits.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blk` [INFO] [stdout] --> src/dialects/builtin/traits.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | for (ind, blk) in r.get_blocks().iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_blk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed` [INFO] [stdout] --> src/core/ir.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/memref/intrinsics.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | intrinsic!(Alloc: ["memref", "alloc"], [], extern: []); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/core/ir.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/memref/intrinsics.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | intrinsic!(Alloc: ["memref", "alloc"], [], extern: []); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed` [INFO] [stdout] --> src/core/ir.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/memref/intrinsics.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | intrinsic!(Alloca: ["memref", "alloca"], [], extern: []); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling abstraps v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/core/ir.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/memref/intrinsics.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | intrinsic!(Alloca: ["memref", "alloca"], [], extern: []); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/dialects/memref/traits.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Inactive` [INFO] [stdout] --> src/core/absint.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Inactive, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `InterpreterState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Waiting` [INFO] [stdout] --> src/core/absint.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Waiting(Signature), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InterpreterState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/core/absint.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Error(InterpreterError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InterpreterState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Finished` [INFO] [stdout] --> src/core/absint.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Finished, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InterpreterState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `trace` [INFO] [stdout] --> src/core/absint.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | trace: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InterpreterFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/core/absint.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | state: InterpreterState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `block_queue` [INFO] [stdout] --> src/core/absint.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | block_queue: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `trace` [INFO] [stdout] --> src/core/absint.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | trace: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `diagnostics_color_disable` [INFO] [stdout] --> src/core/diagnostics.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn diagnostics_color_disable() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_op_mut` [INFO] [stdout] --> src/core/region.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn get_op_mut(&mut self, id: Var) -> Option<(Var, &mut Operation)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_builder` [INFO] [stdout] --> src/dialects/base/intrinsics.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_builder( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_builder` [INFO] [stdout] --> src/dialects/base/intrinsics.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn get_builder( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Private` should have a snake case name [INFO] [stdout] --> src/dialects/builtin/attributes.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Private => write!(f, "{}", Paint::blue("private").bold()), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `private` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `External` should have a snake case name [INFO] [stdout] --> src/dialects/builtin/attributes.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | External => write!(f, "{}", Paint::blue("external").bold()), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `external` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dialects/builtin/attributes.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | write!(f, ", "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dialects/builtin/attributes.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | write!(f, "{} => {}", Paint::blue(elem.0), elem.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dialects/builtin/intrinsics.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | b.push_block(blk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dialects/builtin/intrinsics.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | b.push_block(blk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/builtins.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | diagnostics_setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bottom` [INFO] [stdout] --> tests/typeinf.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Bottom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ArithLattice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> tests/typeinf.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Clone, Hash, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/typeinf.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | diagnostics_setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/passes.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | diagnostics_setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/passes.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pm.push(Box::new(PopulateSymbolTablePass)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/passes.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pm2.push(Box::new(PopulateSymbolTablePass)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/passes.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pm.nest(Box::new(pm2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AttributeValue`, `Var` [INFO] [stdout] --> src/dialects/arith/traits.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::{AttributeValue, SupportsInterfaceTraits, Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dialects::builtin::*` [INFO] [stdout] --> src/dialects/arith/traits.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dialects::builtin::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/dialects/arith/traits.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{bail, Report}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/dialects/arith/traits.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yansi::Paint` [INFO] [stdout] --> src/dialects/arith/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use yansi::Paint; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dialects::base::*` [INFO] [stdout] --> src/dialects/base/intrinsics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dialects::base::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/dialects/memref/traits.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{bail, Report}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yansi::Paint` [INFO] [stdout] --> src/dialects/memref/traits.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use yansi::Paint; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Private` is named the same as one of the variants of the type `attributes::LinkageAttr` [INFO] [stdout] --> src/dialects/builtin/attributes.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Private => write!(f, "{}", Paint::blue("private").bold()), [INFO] [stdout] | ^^^^^^^ help: to match on the variant, qualify the path: `attributes::LinkageAttr::Private` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `External` is named the same as one of the variants of the type `attributes::LinkageAttr` [INFO] [stdout] --> src/dialects/builtin/attributes.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | External => write!(f, "{}", Paint::blue("external").bold()), [INFO] [stdout] | ^^^^^^^^ help: to match on the variant, qualify the path: `attributes::LinkageAttr::External` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/dialects/builtin/attributes.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 51 | Private => write!(f, "{}", Paint::blue("private").bold()), [INFO] [stdout] | ------- matches any value [INFO] [stdout] 52 | External => write!(f, "{}", Paint::blue("external").bold()), [INFO] [stdout] | ^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/dialects/arith/traits.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/dialects/arith/traits.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/dialects/arith/traits.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed` [INFO] [stdout] --> src/core/ir.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/base/intrinsics.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | intrinsic!(Call: ["base", "call"], [], extern: []); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/core/ir.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/base/intrinsics.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | intrinsic!(Call: ["base", "call"], [], extern: []); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Private` [INFO] [stdout] --> src/dialects/builtin/attributes.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Private => write!(f, "{}", Paint::blue("private").bold()), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Private` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `External` [INFO] [stdout] --> src/dialects/builtin/attributes.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | External => write!(f, "{}", Paint::blue("external").bold()), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_External` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/dialects/builtin/traits.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blk` [INFO] [stdout] --> src/dialects/builtin/traits.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | for (ind, blk) in r.get_blocks().iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_blk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed` [INFO] [stdout] --> src/core/ir.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/memref/intrinsics.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | intrinsic!(Alloc: ["memref", "alloc"], [], extern: []); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/core/ir.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/memref/intrinsics.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | intrinsic!(Alloc: ["memref", "alloc"], [], extern: []); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed` [INFO] [stdout] --> src/core/ir.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/memref/intrinsics.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | intrinsic!(Alloca: ["memref", "alloca"], [], extern: []); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/core/ir.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] | [INFO] [stdout] ::: src/dialects/memref/intrinsics.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | intrinsic!(Alloca: ["memref", "alloca"], [], extern: []); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/dialects/memref/traits.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Inactive` [INFO] [stdout] --> src/core/absint.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Inactive, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `InterpreterState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Waiting` [INFO] [stdout] --> src/core/absint.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Waiting(Signature), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InterpreterState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/core/absint.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Error(InterpreterError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InterpreterState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Finished` [INFO] [stdout] --> src/core/absint.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Finished, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InterpreterState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `trace` [INFO] [stdout] --> src/core/absint.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | trace: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InterpreterFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/core/absint.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | state: InterpreterState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `block_queue` [INFO] [stdout] --> src/core/absint.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | block_queue: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `trace` [INFO] [stdout] --> src/core/absint.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | trace: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/absint.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `diagnostics_color_disable` [INFO] [stdout] --> src/core/diagnostics.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn diagnostics_color_disable() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_op_mut` [INFO] [stdout] --> src/core/region.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn get_op_mut(&mut self, id: Var) -> Option<(Var, &mut Operation)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query_mut` [INFO] [stdout] --> src/core/interfaces.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn query_mut(&mut self) -> Option<&mut U> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 667 | mopo!(dyn Custom); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `mopo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query_arc` [INFO] [stdout] --> src/core/interfaces.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | / pub fn query_arc( [INFO] [stdout] 107 | | self_: ::std::sync::Arc, [INFO] [stdout] 108 | | ) -> ::std::result::Result<::std::sync::Arc, ::std::sync::Arc> { [INFO] [stdout] 109 | | if let Some(vtable) = self_.query_vtable(::std::any::TypeId::of::()) { [INFO] [stdout] ... | [INFO] [stdout] 123 | | } [INFO] [stdout] 124 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 667 | mopo!(dyn Custom); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `mopo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query_rc` [INFO] [stdout] --> src/core/interfaces.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | / pub fn query_rc( [INFO] [stdout] 127 | | self_: ::std::rc::Rc, [INFO] [stdout] 128 | | ) -> ::std::result::Result<::std::rc::Rc, ::std::rc::Rc> { [INFO] [stdout] 129 | | if let Some(vtable) = self_.query_vtable(::std::any::TypeId::of::()) { [INFO] [stdout] ... | [INFO] [stdout] 143 | | } [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 667 | mopo!(dyn Custom); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `mopo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `obj_partial_eq` [INFO] [stdout] --> src/core/interfaces.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn obj_partial_eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 667 | mopo!(dyn Custom); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `mopo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `obj_partial_cmp` [INFO] [stdout] --> src/core/interfaces.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn obj_partial_cmp(&self, other: &Self) -> Option<::std::cmp::Ordering> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 667 | mopo!(dyn Custom); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `mopo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_builder` [INFO] [stdout] --> src/dialects/base/intrinsics.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_builder( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_builder` [INFO] [stdout] --> src/dialects/base/intrinsics.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn get_builder( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Private` should have a snake case name [INFO] [stdout] --> src/dialects/builtin/attributes.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Private => write!(f, "{}", Paint::blue("private").bold()), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `private` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `External` should have a snake case name [INFO] [stdout] --> src/dialects/builtin/attributes.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | External => write!(f, "{}", Paint::blue("external").bold()), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `external` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dialects/builtin/attributes.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | write!(f, ", "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dialects/builtin/attributes.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | write!(f, "{} => {}", Paint::blue(elem.0), elem.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dialects/builtin/intrinsics.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | b.push_block(blk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dialects/builtin/intrinsics.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | b.push_block(blk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.25s [INFO] running `Command { std: "docker" "inspect" "908ede7b0e05d4c29441df3edd3b471c7a224453a5ed428caecc7964b5370d27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "908ede7b0e05d4c29441df3edd3b471c7a224453a5ed428caecc7964b5370d27", kill_on_drop: false }` [INFO] [stdout] 908ede7b0e05d4c29441df3edd3b471c7a224453a5ed428caecc7964b5370d27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a8be757ea5a1e89074beef08b8568a08cf77ab7750920debd3585c52097ac636 [INFO] running `Command { std: "docker" "start" "-a" "a8be757ea5a1e89074beef08b8568a08cf77ab7750920debd3585c52097ac636", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `AttributeValue`, `Var` [INFO] [stderr] --> src/dialects/arith/traits.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::core::{AttributeValue, SupportsInterfaceTraits, Var}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dialects::builtin::*` [INFO] [stderr] --> src/dialects/arith/traits.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::dialects::builtin::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bail` [INFO] [stderr] --> src/dialects/arith/traits.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{bail, Report}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/dialects/arith/traits.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `yansi::Paint` [INFO] [stderr] --> src/dialects/arith/traits.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use yansi::Paint; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dialects::base::*` [INFO] [stderr] --> src/dialects/base/intrinsics.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::dialects::base::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bail` [INFO] [stderr] --> src/dialects/memref/traits.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::{bail, Report}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `yansi::Paint` [INFO] [stderr] --> src/dialects/memref/traits.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use yansi::Paint; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `Private` is named the same as one of the variants of the type `attributes::LinkageAttr` [INFO] [stderr] --> src/dialects/builtin/attributes.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | Private => write!(f, "{}", Paint::blue("private").bold()), [INFO] [stderr] | ^^^^^^^ help: to match on the variant, qualify the path: `attributes::LinkageAttr::Private` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `External` is named the same as one of the variants of the type `attributes::LinkageAttr` [INFO] [stderr] --> src/dialects/builtin/attributes.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | External => write!(f, "{}", Paint::blue("external").bold()), [INFO] [stderr] | ^^^^^^^^ help: to match on the variant, qualify the path: `attributes::LinkageAttr::External` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/dialects/builtin/attributes.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 51 | Private => write!(f, "{}", Paint::blue("private").bold()), [INFO] [stderr] | ------- matches any value [INFO] [stderr] 52 | External => write!(f, "{}", Paint::blue("external").bold()), [INFO] [stderr] | ^^^^^^^^ unreachable pattern [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `op` [INFO] [stderr] --> src/dialects/arith/traits.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `op` [INFO] [stderr] --> src/dialects/arith/traits.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `op` [INFO] [stderr] --> src/dialects/arith/traits.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `boxed` [INFO] [stderr] --> src/core/ir.rs:99:30 [INFO] [stderr] | [INFO] [stderr] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stderr] | [INFO] [stderr] ::: src/dialects/base/intrinsics.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | intrinsic!(Call: ["base", "call"], [], extern: []); [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `op` [INFO] [stderr] --> src/core/ir.rs:99:58 [INFO] [stderr] | [INFO] [stderr] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stderr] | [INFO] [stderr] ::: src/dialects/base/intrinsics.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | intrinsic!(Call: ["base", "call"], [], extern: []); [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `Private` [INFO] [stderr] --> src/dialects/builtin/attributes.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | Private => write!(f, "{}", Paint::blue("private").bold()), [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Private` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `External` [INFO] [stderr] --> src/dialects/builtin/attributes.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | External => write!(f, "{}", Paint::blue("external").bold()), [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_External` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `op` [INFO] [stderr] --> src/dialects/builtin/traits.rs:95:22 [INFO] [stderr] | [INFO] [stderr] 95 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `blk` [INFO] [stderr] --> src/dialects/builtin/traits.rs:103:23 [INFO] [stderr] | [INFO] [stderr] 103 | for (ind, blk) in r.get_blocks().iter().enumerate() { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_blk` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `boxed` [INFO] [stderr] --> src/core/ir.rs:99:30 [INFO] [stderr] | [INFO] [stderr] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stderr] | [INFO] [stderr] ::: src/dialects/memref/intrinsics.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | intrinsic!(Alloc: ["memref", "alloc"], [], extern: []); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `op` [INFO] [stderr] --> src/core/ir.rs:99:58 [INFO] [stderr] | [INFO] [stderr] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stderr] | [INFO] [stderr] ::: src/dialects/memref/intrinsics.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | intrinsic!(Alloc: ["memref", "alloc"], [], extern: []); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `boxed` [INFO] [stderr] --> src/core/ir.rs:99:30 [INFO] [stderr] | [INFO] [stderr] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stderr] | [INFO] [stderr] ::: src/dialects/memref/intrinsics.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | intrinsic!(Alloca: ["memref", "alloca"], [], extern: []); [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `op` [INFO] [stderr] --> src/core/ir.rs:99:58 [INFO] [stderr] | [INFO] [stderr] 99 | fn verify(&self, boxed: &Box, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stderr] | [INFO] [stderr] ::: src/dialects/memref/intrinsics.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | intrinsic!(Alloca: ["memref", "alloca"], [], extern: []); [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `op` [INFO] [stderr] --> src/dialects/memref/traits.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | fn verify(&self, op: &dyn SupportsInterfaceTraits) -> Result<(), Report> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Inactive` [INFO] [stderr] --> src/core/absint.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | Inactive, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `InterpreterState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/absint.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Waiting` [INFO] [stderr] --> src/core/absint.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | Waiting(Signature), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `InterpreterState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/absint.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Error` [INFO] [stderr] --> src/core/absint.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | Error(InterpreterError), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `InterpreterState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/absint.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Finished` [INFO] [stderr] --> src/core/absint.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | Finished, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `InterpreterState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/absint.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `trace` [INFO] [stderr] --> src/core/absint.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | trace: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `InterpreterFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/absint.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `state` [INFO] [stderr] --> src/core/absint.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | state: InterpreterState, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/absint.rs:55:10 [INFO] [stderr] | [INFO] [stderr] 55 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `block_queue` [INFO] [stderr] --> src/core/absint.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | block_queue: VecDeque, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/absint.rs:55:10 [INFO] [stderr] | [INFO] [stderr] 55 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `trace` [INFO] [stderr] --> src/core/absint.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | trace: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/absint.rs:55:10 [INFO] [stderr] | [INFO] [stderr] 55 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `diagnostics_color_disable` [INFO] [stderr] --> src/core/diagnostics.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn diagnostics_color_disable() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_op_mut` [INFO] [stderr] --> src/core/region.rs:164:8 [INFO] [stderr] | [INFO] [stderr] 164 | fn get_op_mut(&mut self, id: Var) -> Option<(Var, &mut Operation)> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_builder` [INFO] [stderr] --> src/dialects/base/intrinsics.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn get_builder( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_builder` [INFO] [stderr] --> src/dialects/base/intrinsics.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn get_builder( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `Private` should have a snake case name [INFO] [stderr] --> src/dialects/builtin/attributes.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | Private => write!(f, "{}", Paint::blue("private").bold()), [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `private` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `External` should have a snake case name [INFO] [stderr] --> src/dialects/builtin/attributes.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | External => write!(f, "{}", Paint::blue("external").bold()), [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `external` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/dialects/builtin/attributes.rs:126:17 [INFO] [stderr] | [INFO] [stderr] 126 | write!(f, ", "); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/dialects/builtin/attributes.rs:128:13 [INFO] [stderr] | [INFO] [stderr] 128 | write!(f, "{} => {}", Paint::blue(elem.0), elem.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/dialects/builtin/intrinsics.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | b.push_block(blk); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/dialects/builtin/intrinsics.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | b.push_block(blk); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0170`. [INFO] [stderr] warning: associated function is never used: `query_mut` [INFO] [stderr] --> src/core/interfaces.rs:72:13 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn query_mut(&mut self) -> Option<&mut U> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 667 | mopo!(dyn Custom); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `mopo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `query_arc` [INFO] [stderr] --> src/core/interfaces.rs:106:13 [INFO] [stderr] | [INFO] [stderr] 106 | / pub fn query_arc( [INFO] [stderr] 107 | | self_: ::std::sync::Arc, [INFO] [stderr] 108 | | ) -> ::std::result::Result<::std::sync::Arc, ::std::sync::Arc> { [INFO] [stderr] 109 | | if let Some(vtable) = self_.query_vtable(::std::any::TypeId::of::()) { [INFO] [stderr] ... | [INFO] [stderr] 123 | | } [INFO] [stderr] 124 | | } [INFO] [stderr] | |_____________^ [INFO] [stderr] ... [INFO] [stderr] 667 | mopo!(dyn Custom); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `mopo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `query_rc` [INFO] [stderr] --> src/core/interfaces.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | / pub fn query_rc( [INFO] [stderr] 127 | | self_: ::std::rc::Rc, [INFO] [stderr] 128 | | ) -> ::std::result::Result<::std::rc::Rc, ::std::rc::Rc> { [INFO] [stderr] 129 | | if let Some(vtable) = self_.query_vtable(::std::any::TypeId::of::()) { [INFO] [stderr] ... | [INFO] [stderr] 143 | | } [INFO] [stderr] 144 | | } [INFO] [stderr] | |_____________^ [INFO] [stderr] ... [INFO] [stderr] 667 | mopo!(dyn Custom); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `mopo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `obj_partial_eq` [INFO] [stderr] --> src/core/interfaces.rs:145:13 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn obj_partial_eq(&self, other: &Self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 667 | mopo!(dyn Custom); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `mopo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `obj_partial_cmp` [INFO] [stderr] --> src/core/interfaces.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | pub fn obj_partial_cmp(&self, other: &Self) -> Option<::std::cmp::Ordering> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 667 | mopo!(dyn Custom); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `mopo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `abstraps` (lib) generated 44 warnings [INFO] [stderr] warning: `abstraps` (lib test) generated 49 warnings (44 duplicates) [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> tests/builtins.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | diagnostics_setup(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Bottom` [INFO] [stderr] --> tests/typeinf.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Bottom, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ArithLattice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> tests/typeinf.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Clone, Hash, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> tests/typeinf.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | diagnostics_setup(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> tests/passes.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | diagnostics_setup(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> tests/passes.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | pm.push(Box::new(PopulateSymbolTablePass)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> tests/passes.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | pm2.push(Box::new(PopulateSymbolTablePass)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> tests/passes.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | pm.nest(Box::new(pm2)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `abstraps` (test "builtins") generated 1 warning [INFO] [stderr] warning: `abstraps` (test "typeinf") generated 2 warnings [INFO] [stderr] warning: `abstraps` (test "passes") generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/abstraps-e332870015a45c1a) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test core::interfaces::tests::test_arc ... ok [INFO] [stdout] test core::interfaces::tests::test_derived ... ok [INFO] [stdout] test core::interfaces::tests::test_dynamic ... ok [INFO] [stdout] test core::interfaces::tests::test_mut ... ok [INFO] [stdout] test core::interfaces::tests::test_owned ... ok [INFO] [stdout] test core::interfaces::tests::test_rc ... ok [INFO] [stdout] test core::interfaces::tests::test_ref ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/builtins.rs (/opt/rustwide/target/debug/deps/builtins-6f5b4e7a6ab6ac97) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test builtins_func_operation_0 ... ok [INFO] [stdout] test builtins_module_operation_0 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/extension.rs (/opt/rustwide/target/debug/deps/extension-459d5ef9951e12e5) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test extensions_0 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/interfaces.rs (/opt/rustwide/target/debug/deps/interfaces-f7fe293207d5fd69) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_dynamic_bad ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/passes.rs (/opt/rustwide/target/debug/deps/passes-8ecc1222719c6e89) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test passes_0 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/typeinf.rs (/opt/rustwide/target/debug/deps/typeinf-3ba44a744925f695) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test typeinf_0 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests abstraps [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/core/ir.rs - core::ir::intrinsic (line 65) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a8be757ea5a1e89074beef08b8568a08cf77ab7750920debd3585c52097ac636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8be757ea5a1e89074beef08b8568a08cf77ab7750920debd3585c52097ac636", kill_on_drop: false }` [INFO] [stdout] a8be757ea5a1e89074beef08b8568a08cf77ab7750920debd3585c52097ac636