[INFO] fetching crate cranelift-codegen 0.102.1... [INFO] checking cranelift-codegen-0.102.1 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate cranelift-codegen 0.102.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate cranelift-codegen 0.102.1 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cranelift-codegen 0.102.1 [INFO] finished tweaking crates.io crate cranelift-codegen 0.102.1 [INFO] tweaked toml for crates.io crate cranelift-codegen 0.102.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 112 packages [INFO] [stderr] Adding anes v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding capstone v0.9.0 (latest: v0.12.0) [INFO] [stderr] Adding capstone-sys v0.13.0 (latest: v0.16.0) [INFO] [stderr] Adding cranelift-bforest v0.102.1 (latest: v0.106.1) [INFO] [stderr] Adding cranelift-codegen-meta v0.102.1 (latest: v0.106.1) [INFO] [stderr] Adding cranelift-codegen-shared v0.102.1 (latest: v0.106.1) [INFO] [stderr] Adding cranelift-control v0.102.1 (latest: v0.106.1) [INFO] [stderr] Adding cranelift-entity v0.102.1 (latest: v0.106.1) [INFO] [stderr] Adding cranelift-isle v0.102.1 (latest: v0.106.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding hashbrown v0.13.2 (latest: v0.14.3) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cranelift-entity v0.102.1 [INFO] [stderr] Downloaded id-arena v2.2.1 [INFO] [stderr] Downloaded cranelift-control v0.102.1 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.102.1 [INFO] [stderr] Downloaded slice-group-by v0.3.1 [INFO] [stderr] Downloaded souper-ir v2.1.0 [INFO] [stderr] Downloaded fallible-iterator v0.3.0 [INFO] [stderr] Downloaded regalloc2 v0.9.3 [INFO] [stderr] Downloaded capstone v0.9.0 [INFO] [stderr] Downloaded cranelift-bforest v0.102.1 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.102.1 [INFO] [stderr] Downloaded cranelift-isle v0.102.1 [INFO] [stderr] Downloaded capstone-sys v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 617d3ce91708ae06c9392f9f05d47a422e08875995f55e1a6075d474fa677bbf [INFO] running `Command { std: "docker" "start" "-a" "617d3ce91708ae06c9392f9f05d47a422e08875995f55e1a6075d474fa677bbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "617d3ce91708ae06c9392f9f05d47a422e08875995f55e1a6075d474fa677bbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "617d3ce91708ae06c9392f9f05d47a422e08875995f55e1a6075d474fa677bbf", kill_on_drop: false }` [INFO] [stdout] 617d3ce91708ae06c9392f9f05d47a422e08875995f55e1a6075d474fa677bbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a9c4300d2db0e8a44146b148eaab0e5c979327e7c8f21a7605433010afb7001 [INFO] running `Command { std: "docker" "start" "-a" "8a9c4300d2db0e8a44146b148eaab0e5c979327e7c8f21a7605433010afb7001", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling cranelift-isle v0.102.1 [INFO] [stderr] Compiling cranelift-codegen-shared v0.102.1 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking cranelift-entity v0.102.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking bumpalo v3.15.4 [INFO] [stderr] Compiling cranelift-codegen-meta v0.102.1 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking cranelift-bforest v0.102.1 [INFO] [stderr] Checking regalloc2 v0.9.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking cranelift-control v0.102.1 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling cranelift-codegen v0.102.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] warning: cranelift-codegen@0.102.1: Failed to run `rustfmt` on ISLE-generated code: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" } [INFO] [stderr] warning: cranelift-codegen@0.102.1: Failed to run `rustfmt` on ISLE-generated code: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" } [INFO] [stderr] warning: cranelift-codegen@0.102.1: Failed to run `rustfmt` on ISLE-generated code: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" } [INFO] [stderr] warning: cranelift-codegen@0.102.1: Failed to run `rustfmt` on ISLE-generated code: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" } [INFO] [stderr] warning: cranelift-codegen@0.102.1: Failed to run `rustfmt` on ISLE-generated code: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" } [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stdout] warning: unused imports: `ArgumentExtension`, `ArgumentPurpose` [INFO] [stdout] --> src/machinst/isle.rs:10:55 [INFO] [stdout] | [INFO] [stdout] 10 | condcodes, condcodes::CondCode, dynamic_to_fixed, ArgumentExtension, ArgumentPurpose, Constant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::isa::unwind::UnwindInst` [INFO] [stdout] --> src/machinst/isle.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::isa::unwind::UnwindInst; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputSourceInst` [INFO] [stdout] --> src/machinst/isle.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | ABIArg, ABIArgSlot, InputSourceInst, Lower, LowerBackend, RealReg, Reg, RelocDistance, Sig, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptLevel` [INFO] [stdout] --> src/machinst/isle.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub use crate::settings::{OptLevel, TlsModel}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RelSourceLoc` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::ir::RelSourceLoc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | use crate::ir::{self, types, Constant, ConstantData, DynamicStackSlot, ValueLabel}; [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `RelSourceLoc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DynamicStackSlot` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::ir::{self, types, Constant, ConstantData, DynamicStackSlot, ValueLabel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `DynamicStackSlot` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ControlPlane` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `ControlPlane` is already imported here [INFO] [stdout] ... [INFO] [stdout] 30 | use cranelift_control::ControlPlane; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VReg` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `VReg` is already imported here [INFO] [stdout] ... [INFO] [stdout] 33 | PRegSet, RegClass, VReg, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `Vec` is already imported here [INFO] [stdout] ... [INFO] [stdout] 36 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimaryMap` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `PrimaryMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 37 | use cranelift_entity::{entity_impl, Keys, PrimaryMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmallVec` is imported redundantly [INFO] [stdout] --> src/machinst/blockorder.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `SmallVec` is already imported here [INFO] [stdout] 69 | [INFO] [stdout] 70 | use smallvec::SmallVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StackMap` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | use crate::binemit::StackMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `StackMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimaryMap` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | use crate::entity::{PrimaryMap, SecondaryMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `PrimaryMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DynamicStackSlot` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:108:53 [INFO] [stdout] | [INFO] [stdout] 108 | use crate::ir::{ArgumentExtension, ArgumentPurpose, DynamicStackSlot, Signature, StackSlot}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `DynamicStackSlot` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StackSlot` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:108:82 [INFO] [stdout] | [INFO] [stdout] 108 | use crate::ir::{ArgumentExtension, ArgumentPurpose, DynamicStackSlot, Signature, StackSlot}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `StackSlot` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `settings` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | use crate::settings; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `settings` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CodegenResult` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `CodegenResult` is already imported here [INFO] [stdout] 114 | use crate::{CodegenError, CodegenResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `Vec` is already imported here [INFO] [stdout] 114 | use crate::{CodegenError, CodegenResult}; [INFO] [stdout] 115 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmallVec` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `SmallVec` is already imported here [INFO] [stdout] ... [INFO] [stdout] 117 | use smallvec::{smallvec, SmallVec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/machinst/buffer.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/data_value.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:65:39 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/ir/constant.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use core::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:61:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/ir/dynamic_type.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ir::types::*; [INFO] [stdout] | ------------------- the item `Type` is already imported here [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::ir::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/ir/immediates.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/ir/layout.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use core::iter::{IntoIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/ir/layout.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | use core::iter::{IntoIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/ir/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/isa/x64/abi.rs:3:78 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ir::{self, types, LibCall, MemFlags, Opcode, Signature, TrapCode, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use crate::ir::{types::*, ExternalName}; [INFO] [stdout] | -------- the item `Type` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/isa/x64/abi.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/args.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ir::types::*; [INFO] [stdout] | ------------------- the item `Type` is already imported here [INFO] [stdout] 7 | use crate::ir::{MemFlags, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Addend` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::binemit::{Addend, Reloc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `Addend` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Reloc` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::binemit::{Addend, Reloc}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `Reloc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TrapCode` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ir::TrapCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `TrapCode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LibCall` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ir::{KnownSymbol, LibCall, MemFlags}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `LibCall` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `inst_common` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `inst_common` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MachBuffer` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `MachBuffer` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MachInstEmit` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `MachInstEmit` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MachLabel` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:62 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `MachLabel` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Reg` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:73 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `Reg` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Writable` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:78 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `Writable` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:65:39 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `isle_lower_prelude_methods` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | isa, isle_common_prelude_methods, isle_lower_prelude_methods, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/machinst/isle.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / macro_rules! isle_lower_prelude_methods { [INFO] [stdout] 48 | | () => { [INFO] [stdout] 49 | | isle_common_prelude_methods!(); [INFO] [stdout] ... | [INFO] [stdout] 691 | | }; [INFO] [stdout] 692 | | } [INFO] [stdout] | |_- the item `isle_lower_prelude_methods` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InputSourceInst` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | machinst::{InputSourceInst, Reg, Writable}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | isle::*, valueregs, ArgPair, InsnInput, InstOutput, Lower, MachAtomicRmwOp, MachInst, [INFO] [stdout] | ------- the item `InputSourceInst` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Writable` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | machinst::{InputSourceInst, Reg, Writable}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | isle::*, valueregs, ArgPair, InsnInput, InstOutput, Lower, MachAtomicRmwOp, MachInst, [INFO] [stdout] | ------- the item `Writable` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CondCode` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | condcodes::{CondCode, FloatCC, IntCC}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | isle::*, valueregs, ArgPair, InsnInput, InstOutput, Lower, MachAtomicRmwOp, MachInst, [INFO] [stdout] | ------- the item `CondCode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Lower` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:33:61 [INFO] [stdout] | [INFO] [stdout] 33 | isle::*, valueregs, ArgPair, InsnInput, InstOutput, Lower, MachAtomicRmwOp, MachInst, [INFO] [stdout] | ------- the item `Lower` is already imported here ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmallInstVec` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::machinst::abi::SmallInstVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use crate::machinst::lower::*; [INFO] [stdout] 15 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `SmallInstVec` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/isa/x64/pcc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ir::types::*; [INFO] [stdout] | ------------------- the item `Type` is already imported here [INFO] [stdout] 5 | use crate::ir::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/bitset.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use core::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/bitset.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use core::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/fx.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `condcodes` is imported redundantly [INFO] [stdout] --> src/opts.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ir::condcodes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::machinst::isle::*; [INFO] [stdout] | ------------------------ the item `condcodes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Uimm32`, `Uimm64` [INFO] [stdout] --> src/opts.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::ir::immediates::{Ieee32, Ieee64, Imm64, Offset32, Uimm32, Uimm64, Uimm8, V128Imm}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `DataFlowGraph`, `JumpTable` [INFO] [stdout] --> src/opts.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | dynamic_to_fixed, AtomicRmwOp, Block, BlockCall, Constant, DataFlowGraph, DynamicStackSlot, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 11 | FuncRef, GlobalValue, Immediate, InstructionData, JumpTable, MemFlags, Opcode, StackSlot, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `dynamic_to_fixed` is imported redundantly [INFO] [stdout] --> src/opts.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | dynamic_to_fixed, AtomicRmwOp, Block, BlockCall, Constant, DataFlowGraph, DynamicStackSlot, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::machinst::isle::*; [INFO] [stdout] | ------------------------ the item `dynamic_to_fixed` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unused imports: `ArgumentExtension`, `ArgumentPurpose` [INFO] [stdout] --> src/machinst/isle.rs:10:55 [INFO] [stdout] | [INFO] [stdout] 10 | condcodes, condcodes::CondCode, dynamic_to_fixed, ArgumentExtension, ArgumentPurpose, Constant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::isa::unwind::UnwindInst` [INFO] [stdout] --> src/machinst/isle.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::isa::unwind::UnwindInst; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputSourceInst` [INFO] [stdout] --> src/machinst/isle.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | ABIArg, ABIArgSlot, InputSourceInst, Lower, LowerBackend, RealReg, Reg, RelocDistance, Sig, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptLevel` [INFO] [stdout] --> src/machinst/isle.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub use crate::settings::{OptLevel, TlsModel}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RelSourceLoc` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::ir::RelSourceLoc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | use crate::ir::{self, types, Constant, ConstantData, DynamicStackSlot, ValueLabel}; [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `RelSourceLoc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DynamicStackSlot` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::ir::{self, types, Constant, ConstantData, DynamicStackSlot, ValueLabel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `DynamicStackSlot` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ControlPlane` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `ControlPlane` is already imported here [INFO] [stdout] ... [INFO] [stdout] 30 | use cranelift_control::ControlPlane; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VReg` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `VReg` is already imported here [INFO] [stdout] ... [INFO] [stdout] 33 | PRegSet, RegClass, VReg, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `Vec` is already imported here [INFO] [stdout] ... [INFO] [stdout] 36 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmallVec` is imported redundantly [INFO] [stdout] --> src/machinst/blockorder.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `SmallVec` is already imported here [INFO] [stdout] 69 | [INFO] [stdout] 70 | use smallvec::SmallVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Function` is imported redundantly [INFO] [stdout] --> src/machinst/blockorder.rs:333:31 [INFO] [stdout] | [INFO] [stdout] 328 | use super::*; [INFO] [stdout] | -------- the item `Function` is already imported here [INFO] [stdout] ... [INFO] [stdout] 333 | use crate::ir::{AbiParam, Function, InstBuilder, Signature}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StackMap` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | use crate::binemit::StackMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `StackMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimaryMap` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | use crate::entity::{PrimaryMap, SecondaryMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `PrimaryMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DynamicStackSlot` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:108:53 [INFO] [stdout] | [INFO] [stdout] 108 | use crate::ir::{ArgumentExtension, ArgumentPurpose, DynamicStackSlot, Signature, StackSlot}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `DynamicStackSlot` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StackSlot` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:108:82 [INFO] [stdout] | [INFO] [stdout] 108 | use crate::ir::{ArgumentExtension, ArgumentPurpose, DynamicStackSlot, Signature, StackSlot}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `StackSlot` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `settings` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | use crate::settings; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `settings` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CodegenResult` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `CodegenResult` is already imported here [INFO] [stdout] 114 | use crate::{CodegenError, CodegenResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `Vec` is already imported here [INFO] [stdout] 114 | use crate::{CodegenError, CodegenResult}; [INFO] [stdout] 115 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmallVec` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `SmallVec` is already imported here [INFO] [stdout] ... [INFO] [stdout] 117 | use smallvec::{smallvec, SmallVec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/machinst/buffer.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ControlFlowGraph` is imported redundantly [INFO] [stdout] --> src/dominator_tree.rs:589:9 [INFO] [stdout] | [INFO] [stdout] 587 | use super::*; [INFO] [stdout] | -------- the item `ControlFlowGraph` is already imported here [INFO] [stdout] 588 | use crate::cursor::{Cursor, FuncCursor}; [INFO] [stdout] 589 | use crate::flowgraph::ControlFlowGraph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Function` is imported redundantly [INFO] [stdout] --> src/dominator_tree.rs:591:21 [INFO] [stdout] | [INFO] [stdout] 587 | use super::*; [INFO] [stdout] | -------- the item `Function` is already imported here [INFO] [stdout] ... [INFO] [stdout] 591 | use crate::ir::{Function, InstBuilder, TrapCode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Function` is imported redundantly [INFO] [stdout] --> src/flowgraph.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 198 | use super::*; [INFO] [stdout] | -------- the item `Function` is already imported here [INFO] [stdout] 199 | use crate::cursor::{Cursor, FuncCursor}; [INFO] [stdout] 200 | use crate::ir::{types, Function, InstBuilder}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/ir/constant.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use core::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:61:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `types` is imported redundantly [INFO] [stdout] --> src/ir/dfg.rs:1525:9 [INFO] [stdout] | [INFO] [stdout] 1523 | use super::*; [INFO] [stdout] | -------- the item `types` is already imported here [INFO] [stdout] 1524 | use crate::cursor::{Cursor, FuncCursor}; [INFO] [stdout] 1525 | use crate::ir::types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InstructionData` is imported redundantly [INFO] [stdout] --> src/ir/dfg.rs:1526:31 [INFO] [stdout] | [INFO] [stdout] 1523 | use super::*; [INFO] [stdout] | -------- the item `InstructionData` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1526 | use crate::ir::{Function, InstructionData, Opcode, TrapCode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/ir/dynamic_type.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ir::types::*; [INFO] [stdout] | ------------------- the item `Type` is already imported here [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::ir::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `u32` is imported redundantly [INFO] [stdout] --> src/ir/entities.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 562 | use super::*; [INFO] [stdout] | -------- the item `u32` is already imported here [INFO] [stdout] 563 | use alloc::string::ToString; [INFO] [stdout] 564 | use core::u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/ir/immediates.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Display` is imported redundantly [INFO] [stdout] --> src/ir/immediates.rs:1184:9 [INFO] [stdout] | [INFO] [stdout] 1182 | use super::*; [INFO] [stdout] | -------- the item `Display` is already imported here [INFO] [stdout] 1183 | use alloc::string::ToString; [INFO] [stdout] 1184 | use core::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/ir/immediates.rs:1186:9 [INFO] [stdout] | [INFO] [stdout] 1182 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1186 | use core::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/ir/layout.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use core::iter::{IntoIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/ir/layout.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | use core::iter::{IntoIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Block` is imported redundantly [INFO] [stdout] --> src/ir/progpoint.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 60 | use super::*; [INFO] [stdout] | -------- the item `Block` is already imported here [INFO] [stdout] 61 | use crate::entity::EntityRef; [INFO] [stdout] 62 | use crate::ir::{Block, Inst}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Inst` is imported redundantly [INFO] [stdout] --> src/ir/progpoint.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 60 | use super::*; [INFO] [stdout] | -------- the item `Inst` is already imported here [INFO] [stdout] 61 | use crate::entity::EntityRef; [INFO] [stdout] 62 | use crate::ir::{Block, Inst}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/ir/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/isa/x64/abi.rs:3:78 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ir::{self, types, LibCall, MemFlags, Opcode, Signature, TrapCode, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use crate::ir::{types::*, ExternalName}; [INFO] [stdout] | -------- the item `Type` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/isa/x64/abi.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/args.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ir::types::*; [INFO] [stdout] | ------------------- the item `Type` is already imported here [INFO] [stdout] 7 | use crate::ir::{MemFlags, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Addend` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::binemit::{Addend, Reloc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `Addend` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Reloc` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::binemit::{Addend, Reloc}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `Reloc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TrapCode` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ir::TrapCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `TrapCode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LibCall` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ir::{KnownSymbol, LibCall, MemFlags}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `LibCall` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `inst_common` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `inst_common` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MachBuffer` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `MachBuffer` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MachInstEmit` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `MachInstEmit` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MachLabel` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:62 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `MachLabel` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Reg` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:73 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `Reg` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Writable` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:78 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `Writable` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:65:39 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit_tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 15 | use super::*; [INFO] [stdout] | -------- the item `Box` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `isle_lower_prelude_methods` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | isa, isle_common_prelude_methods, isle_lower_prelude_methods, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/machinst/isle.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / macro_rules! isle_lower_prelude_methods { [INFO] [stdout] 48 | | () => { [INFO] [stdout] 49 | | isle_common_prelude_methods!(); [INFO] [stdout] ... | [INFO] [stdout] 691 | | }; [INFO] [stdout] 692 | | } [INFO] [stdout] | |_- the item `isle_lower_prelude_methods` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InputSourceInst` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | machinst::{InputSourceInst, Reg, Writable}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | isle::*, valueregs, ArgPair, InsnInput, InstOutput, Lower, MachAtomicRmwOp, MachInst, [INFO] [stdout] | ------- the item `InputSourceInst` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Writable` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | machinst::{InputSourceInst, Reg, Writable}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | isle::*, valueregs, ArgPair, InsnInput, InstOutput, Lower, MachAtomicRmwOp, MachInst, [INFO] [stdout] | ------- the item `Writable` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CondCode` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | condcodes::{CondCode, FloatCC, IntCC}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | isle::*, valueregs, ArgPair, InsnInput, InstOutput, Lower, MachAtomicRmwOp, MachInst, [INFO] [stdout] | ------- the item `CondCode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Lower` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:33:61 [INFO] [stdout] | [INFO] [stdout] 33 | isle::*, valueregs, ArgPair, InsnInput, InstOutput, Lower, MachAtomicRmwOp, MachInst, [INFO] [stdout] | ------- the item `Lower` is already imported here ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmallInstVec` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::machinst::abi::SmallInstVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use crate::machinst::lower::*; [INFO] [stdout] 15 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `SmallInstVec` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/isa/x64/pcc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ir::types::*; [INFO] [stdout] | ------------------- the item `Type` is already imported here [INFO] [stdout] 5 | use crate::ir::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/bitset.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use core::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/bitset.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use core::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/ctxhash.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 127 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] 128 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/fx.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `condcodes` is imported redundantly [INFO] [stdout] --> src/opts.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ir::condcodes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::machinst::isle::*; [INFO] [stdout] | ------------------------ the item `condcodes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Uimm32`, `Uimm64` [INFO] [stdout] --> src/opts.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::ir::immediates::{Ieee32, Ieee64, Imm64, Offset32, Uimm32, Uimm64, Uimm8, V128Imm}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `DataFlowGraph`, `JumpTable` [INFO] [stdout] --> src/opts.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | dynamic_to_fixed, AtomicRmwOp, Block, BlockCall, Constant, DataFlowGraph, DynamicStackSlot, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 11 | FuncRef, GlobalValue, Immediate, InstructionData, JumpTable, MemFlags, Opcode, StackSlot, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `dynamic_to_fixed` is imported redundantly [INFO] [stdout] --> src/opts.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | dynamic_to_fixed, AtomicRmwOp, Block, BlockCall, Constant, DataFlowGraph, DynamicStackSlot, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::machinst::isle::*; [INFO] [stdout] | ------------------------ the item `dynamic_to_fixed` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.56s [INFO] running `Command { std: "docker" "inspect" "8a9c4300d2db0e8a44146b148eaab0e5c979327e7c8f21a7605433010afb7001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a9c4300d2db0e8a44146b148eaab0e5c979327e7c8f21a7605433010afb7001", kill_on_drop: false }` [INFO] [stdout] 8a9c4300d2db0e8a44146b148eaab0e5c979327e7c8f21a7605433010afb7001 [INFO] checking cranelift-codegen-0.102.1 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate cranelift-codegen 0.102.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate cranelift-codegen 0.102.1 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cranelift-codegen 0.102.1 [INFO] finished tweaking crates.io crate cranelift-codegen 0.102.1 [INFO] tweaked toml for crates.io crate cranelift-codegen 0.102.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4983286480e00f84a96fb8e26df885f04d6b781cf83a4f9ec360b1f5a5370f85 [INFO] running `Command { std: "docker" "start" "-a" "4983286480e00f84a96fb8e26df885f04d6b781cf83a4f9ec360b1f5a5370f85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4983286480e00f84a96fb8e26df885f04d6b781cf83a4f9ec360b1f5a5370f85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4983286480e00f84a96fb8e26df885f04d6b781cf83a4f9ec360b1f5a5370f85", kill_on_drop: false }` [INFO] [stdout] 4983286480e00f84a96fb8e26df885f04d6b781cf83a4f9ec360b1f5a5370f85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6d049e2c2f7f6d8e8acdc4ee139494423ac7f149578ed61bcffaaff04690cce [INFO] running `Command { std: "docker" "start" "-a" "e6d049e2c2f7f6d8e8acdc4ee139494423ac7f149578ed61bcffaaff04690cce", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling cranelift-isle v0.102.1 [INFO] [stderr] Compiling cranelift-codegen-shared v0.102.1 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking cranelift-entity v0.102.1 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.102.1 [INFO] [stderr] Checking bumpalo v3.15.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking cranelift-bforest v0.102.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking regalloc2 v0.9.3 [INFO] [stderr] Checking cranelift-control v0.102.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling cranelift-codegen v0.102.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] warning: cranelift-codegen@0.102.1: Failed to run `rustfmt` on ISLE-generated code: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" } [INFO] [stderr] warning: cranelift-codegen@0.102.1: Failed to run `rustfmt` on ISLE-generated code: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" } [INFO] [stderr] warning: cranelift-codegen@0.102.1: Failed to run `rustfmt` on ISLE-generated code: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" } [INFO] [stderr] warning: cranelift-codegen@0.102.1: Failed to run `rustfmt` on ISLE-generated code: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" } [INFO] [stderr] warning: cranelift-codegen@0.102.1: Failed to run `rustfmt` on ISLE-generated code: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" } [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stdout] warning: unused imports: `ArgumentExtension`, `ArgumentPurpose` [INFO] [stdout] --> src/machinst/isle.rs:10:55 [INFO] [stdout] | [INFO] [stdout] 10 | condcodes, condcodes::CondCode, dynamic_to_fixed, ArgumentExtension, ArgumentPurpose, Constant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::isa::unwind::UnwindInst` [INFO] [stdout] --> src/machinst/isle.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::isa::unwind::UnwindInst; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputSourceInst` [INFO] [stdout] --> src/machinst/isle.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | ABIArg, ABIArgSlot, InputSourceInst, Lower, LowerBackend, RealReg, Reg, RelocDistance, Sig, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptLevel` [INFO] [stdout] --> src/machinst/isle.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub use crate::settings::{OptLevel, TlsModel}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RelSourceLoc` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::ir::RelSourceLoc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | use crate::ir::{self, types, Constant, ConstantData, DynamicStackSlot, ValueLabel}; [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `RelSourceLoc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DynamicStackSlot` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::ir::{self, types, Constant, ConstantData, DynamicStackSlot, ValueLabel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `DynamicStackSlot` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ControlPlane` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `ControlPlane` is already imported here [INFO] [stdout] ... [INFO] [stdout] 30 | use cranelift_control::ControlPlane; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VReg` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `VReg` is already imported here [INFO] [stdout] ... [INFO] [stdout] 33 | PRegSet, RegClass, VReg, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `Vec` is already imported here [INFO] [stdout] ... [INFO] [stdout] 36 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimaryMap` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `PrimaryMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 37 | use cranelift_entity::{entity_impl, Keys, PrimaryMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmallVec` is imported redundantly [INFO] [stdout] --> src/machinst/blockorder.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `SmallVec` is already imported here [INFO] [stdout] 69 | [INFO] [stdout] 70 | use smallvec::SmallVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StackMap` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | use crate::binemit::StackMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `StackMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimaryMap` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | use crate::entity::{PrimaryMap, SecondaryMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `PrimaryMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DynamicStackSlot` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:108:53 [INFO] [stdout] | [INFO] [stdout] 108 | use crate::ir::{ArgumentExtension, ArgumentPurpose, DynamicStackSlot, Signature, StackSlot}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `DynamicStackSlot` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StackSlot` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:108:82 [INFO] [stdout] | [INFO] [stdout] 108 | use crate::ir::{ArgumentExtension, ArgumentPurpose, DynamicStackSlot, Signature, StackSlot}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `StackSlot` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `settings` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | use crate::settings; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `settings` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CodegenResult` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `CodegenResult` is already imported here [INFO] [stdout] 114 | use crate::{CodegenError, CodegenResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `Vec` is already imported here [INFO] [stdout] 114 | use crate::{CodegenError, CodegenResult}; [INFO] [stdout] 115 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmallVec` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `SmallVec` is already imported here [INFO] [stdout] ... [INFO] [stdout] 117 | use smallvec::{smallvec, SmallVec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/machinst/buffer.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/data_value.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:65:39 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/ir/constant.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use core::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:61:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/ir/dynamic_type.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ir::types::*; [INFO] [stdout] | ------------------- the item `Type` is already imported here [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::ir::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/ir/immediates.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/ir/layout.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use core::iter::{IntoIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/ir/layout.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | use core::iter::{IntoIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/ir/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/isa/x64/abi.rs:3:78 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ir::{self, types, LibCall, MemFlags, Opcode, Signature, TrapCode, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use crate::ir::{types::*, ExternalName}; [INFO] [stdout] | -------- the item `Type` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/isa/x64/abi.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/args.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ir::types::*; [INFO] [stdout] | ------------------- the item `Type` is already imported here [INFO] [stdout] 7 | use crate::ir::{MemFlags, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Addend` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::binemit::{Addend, Reloc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `Addend` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Reloc` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::binemit::{Addend, Reloc}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `Reloc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TrapCode` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ir::TrapCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `TrapCode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LibCall` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ir::{KnownSymbol, LibCall, MemFlags}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `LibCall` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `inst_common` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `inst_common` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MachBuffer` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `MachBuffer` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MachInstEmit` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `MachInstEmit` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MachLabel` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:62 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `MachLabel` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Reg` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:73 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `Reg` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Writable` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:78 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `Writable` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:65:39 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `isle_lower_prelude_methods` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | isa, isle_common_prelude_methods, isle_lower_prelude_methods, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/machinst/isle.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / macro_rules! isle_lower_prelude_methods { [INFO] [stdout] 48 | | () => { [INFO] [stdout] 49 | | isle_common_prelude_methods!(); [INFO] [stdout] ... | [INFO] [stdout] 691 | | }; [INFO] [stdout] 692 | | } [INFO] [stdout] | |_- the item `isle_lower_prelude_methods` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InputSourceInst` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | machinst::{InputSourceInst, Reg, Writable}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | isle::*, valueregs, ArgPair, InsnInput, InstOutput, Lower, MachAtomicRmwOp, MachInst, [INFO] [stdout] | ------- the item `InputSourceInst` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Writable` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | machinst::{InputSourceInst, Reg, Writable}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | isle::*, valueregs, ArgPair, InsnInput, InstOutput, Lower, MachAtomicRmwOp, MachInst, [INFO] [stdout] | ------- the item `Writable` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CondCode` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | condcodes::{CondCode, FloatCC, IntCC}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | isle::*, valueregs, ArgPair, InsnInput, InstOutput, Lower, MachAtomicRmwOp, MachInst, [INFO] [stdout] | ------- the item `CondCode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Lower` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:33:61 [INFO] [stdout] | [INFO] [stdout] 33 | isle::*, valueregs, ArgPair, InsnInput, InstOutput, Lower, MachAtomicRmwOp, MachInst, [INFO] [stdout] | ------- the item `Lower` is already imported here ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmallInstVec` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::machinst::abi::SmallInstVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use crate::machinst::lower::*; [INFO] [stdout] 15 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `SmallInstVec` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/isa/x64/pcc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ir::types::*; [INFO] [stdout] | ------------------- the item `Type` is already imported here [INFO] [stdout] 5 | use crate::ir::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/bitset.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use core::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/bitset.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use core::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/fx.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `condcodes` is imported redundantly [INFO] [stdout] --> src/opts.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ir::condcodes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::machinst::isle::*; [INFO] [stdout] | ------------------------ the item `condcodes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Uimm32`, `Uimm64` [INFO] [stdout] --> src/opts.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::ir::immediates::{Ieee32, Ieee64, Imm64, Offset32, Uimm32, Uimm64, Uimm8, V128Imm}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `DataFlowGraph`, `JumpTable` [INFO] [stdout] --> src/opts.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | dynamic_to_fixed, AtomicRmwOp, Block, BlockCall, Constant, DataFlowGraph, DynamicStackSlot, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 11 | FuncRef, GlobalValue, Immediate, InstructionData, JumpTable, MemFlags, Opcode, StackSlot, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `dynamic_to_fixed` is imported redundantly [INFO] [stdout] --> src/opts.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | dynamic_to_fixed, AtomicRmwOp, Block, BlockCall, Constant, DataFlowGraph, DynamicStackSlot, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::machinst::isle::*; [INFO] [stdout] | ------------------------ the item `dynamic_to_fixed` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unused imports: `ArgumentExtension`, `ArgumentPurpose` [INFO] [stdout] --> src/machinst/isle.rs:10:55 [INFO] [stdout] | [INFO] [stdout] 10 | condcodes, condcodes::CondCode, dynamic_to_fixed, ArgumentExtension, ArgumentPurpose, Constant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::isa::unwind::UnwindInst` [INFO] [stdout] --> src/machinst/isle.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::isa::unwind::UnwindInst; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputSourceInst` [INFO] [stdout] --> src/machinst/isle.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | ABIArg, ABIArgSlot, InputSourceInst, Lower, LowerBackend, RealReg, Reg, RelocDistance, Sig, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptLevel` [INFO] [stdout] --> src/machinst/isle.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub use crate::settings::{OptLevel, TlsModel}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RelSourceLoc` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::ir::RelSourceLoc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | use crate::ir::{self, types, Constant, ConstantData, DynamicStackSlot, ValueLabel}; [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `RelSourceLoc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DynamicStackSlot` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::ir::{self, types, Constant, ConstantData, DynamicStackSlot, ValueLabel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `DynamicStackSlot` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ControlPlane` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `ControlPlane` is already imported here [INFO] [stdout] ... [INFO] [stdout] 30 | use cranelift_control::ControlPlane; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VReg` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `VReg` is already imported here [INFO] [stdout] ... [INFO] [stdout] 33 | PRegSet, RegClass, VReg, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/machinst/vcode.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `Vec` is already imported here [INFO] [stdout] ... [INFO] [stdout] 36 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmallVec` is imported redundantly [INFO] [stdout] --> src/machinst/blockorder.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `SmallVec` is already imported here [INFO] [stdout] 69 | [INFO] [stdout] 70 | use smallvec::SmallVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Function` is imported redundantly [INFO] [stdout] --> src/machinst/blockorder.rs:333:31 [INFO] [stdout] | [INFO] [stdout] 328 | use super::*; [INFO] [stdout] | -------- the item `Function` is already imported here [INFO] [stdout] ... [INFO] [stdout] 333 | use crate::ir::{AbiParam, Function, InstBuilder, Signature}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StackMap` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | use crate::binemit::StackMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `StackMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimaryMap` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | use crate::entity::{PrimaryMap, SecondaryMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `PrimaryMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DynamicStackSlot` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:108:53 [INFO] [stdout] | [INFO] [stdout] 108 | use crate::ir::{ArgumentExtension, ArgumentPurpose, DynamicStackSlot, Signature, StackSlot}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `DynamicStackSlot` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StackSlot` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:108:82 [INFO] [stdout] | [INFO] [stdout] 108 | use crate::ir::{ArgumentExtension, ArgumentPurpose, DynamicStackSlot, Signature, StackSlot}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `StackSlot` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `settings` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | use crate::settings; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `settings` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CodegenResult` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `CodegenResult` is already imported here [INFO] [stdout] 114 | use crate::{CodegenError, CodegenResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `Vec` is already imported here [INFO] [stdout] 114 | use crate::{CodegenError, CodegenResult}; [INFO] [stdout] 115 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmallVec` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 113 | use crate::{machinst::*, trace}; [INFO] [stdout] | ----------- the item `SmallVec` is already imported here [INFO] [stdout] ... [INFO] [stdout] 117 | use smallvec::{smallvec, SmallVec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/machinst/abi.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/machinst/buffer.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ControlFlowGraph` is imported redundantly [INFO] [stdout] --> src/dominator_tree.rs:589:9 [INFO] [stdout] | [INFO] [stdout] 587 | use super::*; [INFO] [stdout] | -------- the item `ControlFlowGraph` is already imported here [INFO] [stdout] 588 | use crate::cursor::{Cursor, FuncCursor}; [INFO] [stdout] 589 | use crate::flowgraph::ControlFlowGraph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Function` is imported redundantly [INFO] [stdout] --> src/dominator_tree.rs:591:21 [INFO] [stdout] | [INFO] [stdout] 587 | use super::*; [INFO] [stdout] | -------- the item `Function` is already imported here [INFO] [stdout] ... [INFO] [stdout] 591 | use crate::ir::{Function, InstBuilder, TrapCode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Function` is imported redundantly [INFO] [stdout] --> src/flowgraph.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 198 | use super::*; [INFO] [stdout] | -------- the item `Function` is already imported here [INFO] [stdout] 199 | use crate::cursor::{Cursor, FuncCursor}; [INFO] [stdout] 200 | use crate::ir::{types, Function, InstBuilder}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/ir/constant.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use core::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:61:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `types` is imported redundantly [INFO] [stdout] --> src/ir/dfg.rs:1525:9 [INFO] [stdout] | [INFO] [stdout] 1523 | use super::*; [INFO] [stdout] | -------- the item `types` is already imported here [INFO] [stdout] 1524 | use crate::cursor::{Cursor, FuncCursor}; [INFO] [stdout] 1525 | use crate::ir::types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InstructionData` is imported redundantly [INFO] [stdout] --> src/ir/dfg.rs:1526:31 [INFO] [stdout] | [INFO] [stdout] 1523 | use super::*; [INFO] [stdout] | -------- the item `InstructionData` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1526 | use crate::ir::{Function, InstructionData, Opcode, TrapCode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/ir/dynamic_type.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ir::types::*; [INFO] [stdout] | ------------------- the item `Type` is already imported here [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::ir::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `u32` is imported redundantly [INFO] [stdout] --> src/ir/entities.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 562 | use super::*; [INFO] [stdout] | -------- the item `u32` is already imported here [INFO] [stdout] 563 | use alloc::string::ToString; [INFO] [stdout] 564 | use core::u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/ir/immediates.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Display` is imported redundantly [INFO] [stdout] --> src/ir/immediates.rs:1184:9 [INFO] [stdout] | [INFO] [stdout] 1182 | use super::*; [INFO] [stdout] | -------- the item `Display` is already imported here [INFO] [stdout] 1183 | use alloc::string::ToString; [INFO] [stdout] 1184 | use core::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/ir/immediates.rs:1186:9 [INFO] [stdout] | [INFO] [stdout] 1182 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1186 | use core::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/ir/layout.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use core::iter::{IntoIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/ir/layout.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | use core::iter::{IntoIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Block` is imported redundantly [INFO] [stdout] --> src/ir/progpoint.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 60 | use super::*; [INFO] [stdout] | -------- the item `Block` is already imported here [INFO] [stdout] 61 | use crate::entity::EntityRef; [INFO] [stdout] 62 | use crate::ir::{Block, Inst}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Inst` is imported redundantly [INFO] [stdout] --> src/ir/progpoint.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 60 | use super::*; [INFO] [stdout] | -------- the item `Inst` is already imported here [INFO] [stdout] 61 | use crate::entity::EntityRef; [INFO] [stdout] 62 | use crate::ir::{Block, Inst}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/ir/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/isa/x64/abi.rs:3:78 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ir::{self, types, LibCall, MemFlags, Opcode, Signature, TrapCode, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use crate::ir::{types::*, ExternalName}; [INFO] [stdout] | -------- the item `Type` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/isa/x64/abi.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/args.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ir::types::*; [INFO] [stdout] | ------------------- the item `Type` is already imported here [INFO] [stdout] 7 | use crate::ir::{MemFlags, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Addend` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::binemit::{Addend, Reloc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `Addend` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Reloc` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::binemit::{Addend, Reloc}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `Reloc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TrapCode` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ir::TrapCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `TrapCode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LibCall` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ir::{KnownSymbol, LibCall, MemFlags}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `LibCall` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `inst_common` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `inst_common` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MachBuffer` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `MachBuffer` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MachInstEmit` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `MachInstEmit` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MachLabel` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:62 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `MachLabel` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Reg` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:73 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `Reg` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Writable` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:15:78 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::isa::x64::inst::*; [INFO] [stdout] | ------------------------ the item `Writable` is already imported here [INFO] [stdout] 15 | use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:65:39 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/isa/x64/inst/emit_tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 15 | use super::*; [INFO] [stdout] | -------- the item `Box` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `isle_lower_prelude_methods` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | isa, isle_common_prelude_methods, isle_lower_prelude_methods, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/machinst/isle.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / macro_rules! isle_lower_prelude_methods { [INFO] [stdout] 48 | | () => { [INFO] [stdout] 49 | | isle_common_prelude_methods!(); [INFO] [stdout] ... | [INFO] [stdout] 691 | | }; [INFO] [stdout] 692 | | } [INFO] [stdout] | |_- the item `isle_lower_prelude_methods` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InputSourceInst` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | machinst::{InputSourceInst, Reg, Writable}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | isle::*, valueregs, ArgPair, InsnInput, InstOutput, Lower, MachAtomicRmwOp, MachInst, [INFO] [stdout] | ------- the item `InputSourceInst` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Writable` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | machinst::{InputSourceInst, Reg, Writable}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | isle::*, valueregs, ArgPair, InsnInput, InstOutput, Lower, MachAtomicRmwOp, MachInst, [INFO] [stdout] | ------- the item `Writable` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CondCode` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | condcodes::{CondCode, FloatCC, IntCC}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | isle::*, valueregs, ArgPair, InsnInput, InstOutput, Lower, MachAtomicRmwOp, MachInst, [INFO] [stdout] | ------- the item `CondCode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Lower` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:33:61 [INFO] [stdout] | [INFO] [stdout] 33 | isle::*, valueregs, ArgPair, InsnInput, InstOutput, Lower, MachAtomicRmwOp, MachInst, [INFO] [stdout] | ------- the item `Lower` is already imported here ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower/isle.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmallInstVec` is imported redundantly [INFO] [stdout] --> src/isa/x64/lower.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::machinst::abi::SmallInstVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use crate::machinst::lower::*; [INFO] [stdout] 15 | use crate::machinst::*; [INFO] [stdout] | ------------------ the item `SmallInstVec` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/isa/x64/pcc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ir::types::*; [INFO] [stdout] | ------------------- the item `Type` is already imported here [INFO] [stdout] 5 | use crate::ir::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/bitset.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use core::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/bitset.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use core::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/ctxhash.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 127 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] 128 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/fx.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `condcodes` is imported redundantly [INFO] [stdout] --> src/opts.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ir::condcodes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::machinst::isle::*; [INFO] [stdout] | ------------------------ the item `condcodes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Uimm32`, `Uimm64` [INFO] [stdout] --> src/opts.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::ir::immediates::{Ieee32, Ieee64, Imm64, Offset32, Uimm32, Uimm64, Uimm8, V128Imm}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `DataFlowGraph`, `JumpTable` [INFO] [stdout] --> src/opts.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | dynamic_to_fixed, AtomicRmwOp, Block, BlockCall, Constant, DataFlowGraph, DynamicStackSlot, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 11 | FuncRef, GlobalValue, Immediate, InstructionData, JumpTable, MemFlags, Opcode, StackSlot, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `dynamic_to_fixed` is imported redundantly [INFO] [stdout] --> src/opts.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | dynamic_to_fixed, AtomicRmwOp, Block, BlockCall, Constant, DataFlowGraph, DynamicStackSlot, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::machinst::isle::*; [INFO] [stdout] | ------------------------ the item `dynamic_to_fixed` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.73s [INFO] running `Command { std: "docker" "inspect" "e6d049e2c2f7f6d8e8acdc4ee139494423ac7f149578ed61bcffaaff04690cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6d049e2c2f7f6d8e8acdc4ee139494423ac7f149578ed61bcffaaff04690cce", kill_on_drop: false }` [INFO] [stdout] e6d049e2c2f7f6d8e8acdc4ee139494423ac7f149578ed61bcffaaff04690cce