[INFO] fetching crate alexcrichton-cranelift-codegen 0.53.0... [INFO] testing alexcrichton-cranelift-codegen-0.53.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate alexcrichton-cranelift-codegen 0.53.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate alexcrichton-cranelift-codegen 0.53.0 [INFO] finished tweaking crates.io crate alexcrichton-cranelift-codegen 0.53.0 [INFO] tweaked toml for crates.io crate alexcrichton-cranelift-codegen 0.53.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate alexcrichton-cranelift-codegen 0.53.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.6.3 (available: v0.15.4) [INFO] [stderr] Adding target-lexicon v0.10.0 (available: v0.13.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 alexcrichton-cranelift-codegen-shared v0.53.0 [INFO] [stderr] Downloaded alexcrichton-cranelift-bforest v0.53.0 [INFO] [stderr] Downloaded alexcrichton-cranelift-entity v0.53.0 [INFO] [stderr] Downloaded target-lexicon v0.10.0 [INFO] [stderr] Downloaded alexcrichton-cranelift-codegen-meta v0.53.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b0262bc87496ef2522cceecc038d4f2e58f0b49a52760e5ffaca1b0e6653501 [INFO] running `Command { std: "docker" "start" "-a" "9b0262bc87496ef2522cceecc038d4f2e58f0b49a52760e5ffaca1b0e6653501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b0262bc87496ef2522cceecc038d4f2e58f0b49a52760e5ffaca1b0e6653501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b0262bc87496ef2522cceecc038d4f2e58f0b49a52760e5ffaca1b0e6653501", kill_on_drop: false }` [INFO] [stdout] 9b0262bc87496ef2522cceecc038d4f2e58f0b49a52760e5ffaca1b0e6653501 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0216aa3ca3aac13a9ddb9f451c1fa9b8485f1251d0984e4970395ebf46854f81 [INFO] running `Command { std: "docker" "start" "-a" "0216aa3ca3aac13a9ddb9f451c1fa9b8485f1251d0984e4970395ebf46854f81", kill_on_drop: false }` [INFO] [stderr] Compiling alexcrichton-cranelift-entity v0.53.0 [INFO] [stderr] Compiling alexcrichton-cranelift-codegen-shared v0.53.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling alexcrichton-cranelift-codegen-meta v0.53.0 [INFO] [stderr] Compiling alexcrichton-cranelift-bforest v0.53.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling alexcrichton-cranelift-codegen v0.53.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | #![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | #![cfg_attr(feature="cargo-clippy", allow( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/binemit/memorysink.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::cast_ptr_alignment))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cursor.rs:801:20 [INFO] [stdout] | [INFO] [stdout] 801 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::match_wild_err_arm))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/licm.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::block_in_if_condition_stmt))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/regalloc/virtregs.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::trivially_copy_pass_by_ref))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/regalloc/solver.rs:299:16 [INFO] [stdout] | [INFO] [stdout] 299 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::wrong_self_convention))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::safepoint::emit_stackmaps` [INFO] [stdout] --> src/regalloc/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use self::safepoint::emit_stackmaps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/isa/x86/abi.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | let mut cfa_state = cfa_state [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/isa/x86/abi.rs:736:17 [INFO] [stdout] | [INFO] [stdout] 736 | let mut cfa_state = cfa_state [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cursor.rs:597:16 [INFO] [stdout] | [INFO] [stdout] 597 | pub fn ins(&mut self) -> ir::InsertBuilder<&mut FuncCursor<'f>> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 597 | pub fn ins(&mut self) -> ir::InsertBuilder<'_, &mut FuncCursor<'f>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cursor.rs:708:16 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn ins(&mut self) -> ir::InsertBuilder<&mut EncCursor<'f>> { [INFO] [stdout] | ^^^^^^^^^ ------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 708 | pub fn ins(&mut self) -> ir::InsertBuilder<'_, &mut EncCursor<'f>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cursor.rs:723:25 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn display_inst(&self, inst: ir::Inst) -> ir::dfg::DisplayInst { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 723 | pub fn display_inst(&self, inst: ir::Inst) -> ir::dfg::DisplayInst<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dominator_tree.rs:568:21 [INFO] [stdout] | [INFO] [stdout] 568 | pub fn children(&self, ebb: Ebb) -> ChildIter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 568 | pub fn children(&self, ebb: Ebb) -> ChildIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/flowgraph.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn pred_iter(&self, ebb: Ebb) -> PredIter { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 176 | pub fn pred_iter(&self, ebb: Ebb) -> PredIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/flowgraph.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn succ_iter(&self, ebb: Ebb) -> SuccIter { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 181 | pub fn succ_iter(&self, ebb: Ebb) -> SuccIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/constant.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn iter(&self) -> Iter<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/dfg.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn values<'a>(&'a self) -> Values { [INFO] [stdout] | ^^ ------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 224 | pub fn values<'a>(&'a self) -> Values<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/dfg.rs:569:20 [INFO] [stdout] | [INFO] [stdout] 569 | pub fn replace(&mut self, inst: Inst) -> ReplaceBuilder { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 569 | pub fn replace(&mut self, inst: Inst) -> ReplaceBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/dfg.rs:694:27 [INFO] [stdout] | [INFO] [stdout] 694 | pub fn analyze_branch(&self, inst: Inst) -> BranchInfo { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 694 | pub fn analyze_branch(&self, inst: Inst) -> BranchInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/function.rs:313:26 [INFO] [stdout] | [INFO] [stdout] 313 | fn from(isa: Option<&'a dyn TargetIsa>) -> DisplayFunctionAnnotations { [INFO] [stdout] | ^^ -------------------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 313 | fn from(isa: Option<&'a dyn TargetIsa>) -> DisplayFunctionAnnotations<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alexcrichton-cranelift-codegen-a9702d3d2420c570/out/opcodes.rs:652:27 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn arguments<'a>(&'a self, pool: &'a ir::ValueListPool) -> &[Value] { [INFO] [stdout] | ^^ ^^ -------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 652 | pub fn arguments<'a>(&'a self, pool: &'a ir::ValueListPool) -> &'a [Value] { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alexcrichton-cranelift-codegen-a9702d3d2420c570/out/opcodes.rs:719:31 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn arguments_mut<'a>(&'a mut self, pool: &'a mut ir::ValueListPool) -> &mut [Value] { [INFO] [stdout] | ^^ ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 719 | pub fn arguments_mut<'a>(&'a mut self, pool: &'a mut ir::ValueListPool) -> &'a mut [Value] { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/instructions.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 74 | fn from_str(s: &str) -> Result { [INFO] [stdout] | -------------------------------------------------- move the `impl` block outside of this associated function `from_str` [INFO] [stdout] ... [INFO] [stdout] 77 | impl<'a> Table<&'a str> for [Option] { [INFO] [stdout] | ^^^^^^^^^-----^^^^^^^^^^^^^^^------^------^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Opcode` is not local [INFO] [stdout] | | `Option` is not local [INFO] [stdout] | `Table` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/jumptable.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> Iter<'_, Ebb> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/jumptable.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn iter_mut(&mut self) -> IterMut<'_, Ebb> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/layout.rs:440:17 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn ebbs(&self) -> Ebbs { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 440 | pub fn ebbs(&self) -> Ebbs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/layout.rs:623:22 [INFO] [stdout] | [INFO] [stdout] 623 | pub fn ebb_insts(&self, ebb: Ebb) -> Insts { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 623 | pub fn ebb_insts(&self, ebb: Ebb) -> Insts<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/stackslot.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn iter(&self) -> Iter<'_, StackSlot, StackSlotData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/stackslot.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ --------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn iter_mut(&mut self) -> IterMut<'_, StackSlot, StackSlotData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/stackslot.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn values(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 234 | pub fn values(&self) -> slice::Iter<'_, StackSlotData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/stackslot.rs:239:23 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn values_mut(&mut self) -> slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 239 | pub fn values_mut(&mut self) -> slice::IterMut<'_, StackSlotData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alexcrichton-cranelift-codegen-a9702d3d2420c570/out/settings-x86.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn predicate_view(&self) -> crate::settings::PredicateView { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn predicate_view(&self) -> crate::settings::PredicateView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/isa/registers.rs:300:28 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn display_regunit(&self, regunit: RegUnit) -> DisplayRegUnit { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 300 | pub fn display_regunit(&self, regunit: RegUnit) -> DisplayRegUnit<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alexcrichton-cranelift-codegen-a9702d3d2420c570/out/settings.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn predicate_view(&self) -> crate::settings::PredicateView { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn predicate_view(&self) -> crate::settings::PredicateView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/settings.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | fn from(flags: &'a Flags) -> FlagsOrIsa { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 353 | fn from(flags: &'a Flags) -> FlagsOrIsa<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/settings.rs:359:19 [INFO] [stdout] | [INFO] [stdout] 359 | fn from(isa: &'a dyn TargetIsa) -> FlagsOrIsa { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 359 | fn from(isa: &'a dyn TargetIsa) -> FlagsOrIsa<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/regalloc/coalescing.rs:1019:22 [INFO] [stdout] | [INFO] [stdout] 1019 | pub fn iter<'a>(&'a self, func: &'a Function) -> VCopyIter { [INFO] [stdout] | ^^ ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1019 | pub fn iter<'a>(&'a self, func: &'a Function) -> VCopyIter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scoped_hash_map.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn entry(&mut self, key: K) -> Entry { [INFO] [stdout] | ^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: alexcrichton-cranelift-codegen-meta v0.53.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0216aa3ca3aac13a9ddb9f451c1fa9b8485f1251d0984e4970395ebf46854f81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0216aa3ca3aac13a9ddb9f451c1fa9b8485f1251d0984e4970395ebf46854f81", kill_on_drop: false }` [INFO] [stdout] 0216aa3ca3aac13a9ddb9f451c1fa9b8485f1251d0984e4970395ebf46854f81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 07d601856b61f416aaae3e7ec357703c4ed3a1ee7691e51f7a6f4ca8c290be3d [INFO] running `Command { std: "docker" "start" "-a" "07d601856b61f416aaae3e7ec357703c4ed3a1ee7691e51f7a6f4ca8c290be3d", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | #![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | #![cfg_attr(feature="cargo-clippy", allow( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/binemit/memorysink.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::cast_ptr_alignment))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cursor.rs:801:20 [INFO] [stdout] | [INFO] [stdout] 801 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::match_wild_err_arm))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/licm.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::block_in_if_condition_stmt))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/regalloc/virtregs.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::trivially_copy_pass_by_ref))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/regalloc/solver.rs:299:16 [INFO] [stdout] | [INFO] [stdout] 299 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::wrong_self_convention))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::safepoint::emit_stackmaps` [INFO] [stdout] --> src/regalloc/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use self::safepoint::emit_stackmaps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/isa/x86/abi.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | let mut cfa_state = cfa_state [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/isa/x86/abi.rs:736:17 [INFO] [stdout] | [INFO] [stdout] 736 | let mut cfa_state = cfa_state [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cursor.rs:597:16 [INFO] [stdout] | [INFO] [stdout] 597 | pub fn ins(&mut self) -> ir::InsertBuilder<&mut FuncCursor<'f>> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 597 | pub fn ins(&mut self) -> ir::InsertBuilder<'_, &mut FuncCursor<'f>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cursor.rs:708:16 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn ins(&mut self) -> ir::InsertBuilder<&mut EncCursor<'f>> { [INFO] [stdout] | ^^^^^^^^^ ------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 708 | pub fn ins(&mut self) -> ir::InsertBuilder<'_, &mut EncCursor<'f>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cursor.rs:723:25 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn display_inst(&self, inst: ir::Inst) -> ir::dfg::DisplayInst { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 723 | pub fn display_inst(&self, inst: ir::Inst) -> ir::dfg::DisplayInst<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dominator_tree.rs:568:21 [INFO] [stdout] | [INFO] [stdout] 568 | pub fn children(&self, ebb: Ebb) -> ChildIter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 568 | pub fn children(&self, ebb: Ebb) -> ChildIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/flowgraph.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn pred_iter(&self, ebb: Ebb) -> PredIter { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 176 | pub fn pred_iter(&self, ebb: Ebb) -> PredIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/flowgraph.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn succ_iter(&self, ebb: Ebb) -> SuccIter { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 181 | pub fn succ_iter(&self, ebb: Ebb) -> SuccIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/constant.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn iter(&self) -> Iter<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/dfg.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn values<'a>(&'a self) -> Values { [INFO] [stdout] | ^^ ------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 224 | pub fn values<'a>(&'a self) -> Values<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/dfg.rs:569:20 [INFO] [stdout] | [INFO] [stdout] 569 | pub fn replace(&mut self, inst: Inst) -> ReplaceBuilder { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 569 | pub fn replace(&mut self, inst: Inst) -> ReplaceBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/dfg.rs:694:27 [INFO] [stdout] | [INFO] [stdout] 694 | pub fn analyze_branch(&self, inst: Inst) -> BranchInfo { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 694 | pub fn analyze_branch(&self, inst: Inst) -> BranchInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/function.rs:313:26 [INFO] [stdout] | [INFO] [stdout] 313 | fn from(isa: Option<&'a dyn TargetIsa>) -> DisplayFunctionAnnotations { [INFO] [stdout] | ^^ -------------------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 313 | fn from(isa: Option<&'a dyn TargetIsa>) -> DisplayFunctionAnnotations<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling alexcrichton-cranelift-codegen v0.53.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alexcrichton-cranelift-codegen-a9702d3d2420c570/out/opcodes.rs:652:27 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn arguments<'a>(&'a self, pool: &'a ir::ValueListPool) -> &[Value] { [INFO] [stdout] | ^^ ^^ -------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 652 | pub fn arguments<'a>(&'a self, pool: &'a ir::ValueListPool) -> &'a [Value] { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alexcrichton-cranelift-codegen-a9702d3d2420c570/out/opcodes.rs:719:31 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn arguments_mut<'a>(&'a mut self, pool: &'a mut ir::ValueListPool) -> &mut [Value] { [INFO] [stdout] | ^^ ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 719 | pub fn arguments_mut<'a>(&'a mut self, pool: &'a mut ir::ValueListPool) -> &'a mut [Value] { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/instructions.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 74 | fn from_str(s: &str) -> Result { [INFO] [stdout] | -------------------------------------------------- move the `impl` block outside of this associated function `from_str` [INFO] [stdout] ... [INFO] [stdout] 77 | impl<'a> Table<&'a str> for [Option] { [INFO] [stdout] | ^^^^^^^^^-----^^^^^^^^^^^^^^^------^------^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Opcode` is not local [INFO] [stdout] | | `Option` is not local [INFO] [stdout] | `Table` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/jumptable.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> Iter<'_, Ebb> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/jumptable.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn iter_mut(&mut self) -> IterMut<'_, Ebb> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/layout.rs:440:17 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn ebbs(&self) -> Ebbs { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 440 | pub fn ebbs(&self) -> Ebbs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/layout.rs:623:22 [INFO] [stdout] | [INFO] [stdout] 623 | pub fn ebb_insts(&self, ebb: Ebb) -> Insts { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 623 | pub fn ebb_insts(&self, ebb: Ebb) -> Insts<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/stackslot.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn iter(&self) -> Iter<'_, StackSlot, StackSlotData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/stackslot.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ --------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn iter_mut(&mut self) -> IterMut<'_, StackSlot, StackSlotData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/stackslot.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn values(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 234 | pub fn values(&self) -> slice::Iter<'_, StackSlotData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/stackslot.rs:239:23 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn values_mut(&mut self) -> slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 239 | pub fn values_mut(&mut self) -> slice::IterMut<'_, StackSlotData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alexcrichton-cranelift-codegen-a9702d3d2420c570/out/settings-x86.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn predicate_view(&self) -> crate::settings::PredicateView { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn predicate_view(&self) -> crate::settings::PredicateView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/isa/registers.rs:300:28 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn display_regunit(&self, regunit: RegUnit) -> DisplayRegUnit { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 300 | pub fn display_regunit(&self, regunit: RegUnit) -> DisplayRegUnit<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alexcrichton-cranelift-codegen-a9702d3d2420c570/out/settings.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn predicate_view(&self) -> crate::settings::PredicateView { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn predicate_view(&self) -> crate::settings::PredicateView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/settings.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | fn from(flags: &'a Flags) -> FlagsOrIsa { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 353 | fn from(flags: &'a Flags) -> FlagsOrIsa<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/settings.rs:359:19 [INFO] [stdout] | [INFO] [stdout] 359 | fn from(isa: &'a dyn TargetIsa) -> FlagsOrIsa { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 359 | fn from(isa: &'a dyn TargetIsa) -> FlagsOrIsa<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/regalloc/coalescing.rs:1019:22 [INFO] [stdout] | [INFO] [stdout] 1019 | pub fn iter<'a>(&'a self, func: &'a Function) -> VCopyIter { [INFO] [stdout] | ^^ ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1019 | pub fn iter<'a>(&'a self, func: &'a Function) -> VCopyIter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scoped_hash_map.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn entry(&mut self, key: K) -> Entry { [INFO] [stdout] | ^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | #![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | #![cfg_attr(feature="cargo-clippy", allow( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/binemit/memorysink.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::cast_ptr_alignment))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cursor.rs:801:20 [INFO] [stdout] | [INFO] [stdout] 801 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::match_wild_err_arm))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/licm.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::block_in_if_condition_stmt))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/regalloc/virtregs.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::trivially_copy_pass_by_ref))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/regalloc/solver.rs:299:16 [INFO] [stdout] | [INFO] [stdout] 299 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::wrong_self_convention))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::safepoint::emit_stackmaps` [INFO] [stdout] --> src/regalloc/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use self::safepoint::emit_stackmaps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/isa/x86/abi.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | let mut cfa_state = cfa_state [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/isa/x86/abi.rs:736:17 [INFO] [stdout] | [INFO] [stdout] 736 | let mut cfa_state = cfa_state [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cursor.rs:597:16 [INFO] [stdout] | [INFO] [stdout] 597 | pub fn ins(&mut self) -> ir::InsertBuilder<&mut FuncCursor<'f>> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 597 | pub fn ins(&mut self) -> ir::InsertBuilder<'_, &mut FuncCursor<'f>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cursor.rs:708:16 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn ins(&mut self) -> ir::InsertBuilder<&mut EncCursor<'f>> { [INFO] [stdout] | ^^^^^^^^^ ------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 708 | pub fn ins(&mut self) -> ir::InsertBuilder<'_, &mut EncCursor<'f>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cursor.rs:723:25 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn display_inst(&self, inst: ir::Inst) -> ir::dfg::DisplayInst { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 723 | pub fn display_inst(&self, inst: ir::Inst) -> ir::dfg::DisplayInst<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dominator_tree.rs:568:21 [INFO] [stdout] | [INFO] [stdout] 568 | pub fn children(&self, ebb: Ebb) -> ChildIter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 568 | pub fn children(&self, ebb: Ebb) -> ChildIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/flowgraph.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn pred_iter(&self, ebb: Ebb) -> PredIter { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 176 | pub fn pred_iter(&self, ebb: Ebb) -> PredIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/flowgraph.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn succ_iter(&self, ebb: Ebb) -> SuccIter { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 181 | pub fn succ_iter(&self, ebb: Ebb) -> SuccIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/constant.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn iter(&self) -> Iter<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/dfg.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn values<'a>(&'a self) -> Values { [INFO] [stdout] | ^^ ------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 224 | pub fn values<'a>(&'a self) -> Values<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/dfg.rs:569:20 [INFO] [stdout] | [INFO] [stdout] 569 | pub fn replace(&mut self, inst: Inst) -> ReplaceBuilder { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 569 | pub fn replace(&mut self, inst: Inst) -> ReplaceBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/dfg.rs:694:27 [INFO] [stdout] | [INFO] [stdout] 694 | pub fn analyze_branch(&self, inst: Inst) -> BranchInfo { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 694 | pub fn analyze_branch(&self, inst: Inst) -> BranchInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/function.rs:313:26 [INFO] [stdout] | [INFO] [stdout] 313 | fn from(isa: Option<&'a dyn TargetIsa>) -> DisplayFunctionAnnotations { [INFO] [stdout] | ^^ -------------------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 313 | fn from(isa: Option<&'a dyn TargetIsa>) -> DisplayFunctionAnnotations<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alexcrichton-cranelift-codegen-a9702d3d2420c570/out/opcodes.rs:652:27 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn arguments<'a>(&'a self, pool: &'a ir::ValueListPool) -> &[Value] { [INFO] [stdout] | ^^ ^^ -------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 652 | pub fn arguments<'a>(&'a self, pool: &'a ir::ValueListPool) -> &'a [Value] { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alexcrichton-cranelift-codegen-a9702d3d2420c570/out/opcodes.rs:719:31 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn arguments_mut<'a>(&'a mut self, pool: &'a mut ir::ValueListPool) -> &mut [Value] { [INFO] [stdout] | ^^ ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 719 | pub fn arguments_mut<'a>(&'a mut self, pool: &'a mut ir::ValueListPool) -> &'a mut [Value] { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/instructions.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 74 | fn from_str(s: &str) -> Result { [INFO] [stdout] | -------------------------------------------------- move the `impl` block outside of this associated function `from_str` [INFO] [stdout] ... [INFO] [stdout] 77 | impl<'a> Table<&'a str> for [Option] { [INFO] [stdout] | ^^^^^^^^^-----^^^^^^^^^^^^^^^------^------^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Opcode` is not local [INFO] [stdout] | | `Option` is not local [INFO] [stdout] | `Table` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/jumptable.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> Iter<'_, Ebb> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/jumptable.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn iter_mut(&mut self) -> IterMut<'_, Ebb> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/layout.rs:440:17 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn ebbs(&self) -> Ebbs { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 440 | pub fn ebbs(&self) -> Ebbs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/layout.rs:623:22 [INFO] [stdout] | [INFO] [stdout] 623 | pub fn ebb_insts(&self, ebb: Ebb) -> Insts { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 623 | pub fn ebb_insts(&self, ebb: Ebb) -> Insts<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/stackslot.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn iter(&self) -> Iter<'_, StackSlot, StackSlotData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/stackslot.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ --------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn iter_mut(&mut self) -> IterMut<'_, StackSlot, StackSlotData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/stackslot.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn values(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 234 | pub fn values(&self) -> slice::Iter<'_, StackSlotData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/stackslot.rs:239:23 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn values_mut(&mut self) -> slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 239 | pub fn values_mut(&mut self) -> slice::IterMut<'_, StackSlotData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alexcrichton-cranelift-codegen-a9702d3d2420c570/out/settings-x86.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn predicate_view(&self) -> crate::settings::PredicateView { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn predicate_view(&self) -> crate::settings::PredicateView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/isa/registers.rs:300:28 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn display_regunit(&self, regunit: RegUnit) -> DisplayRegUnit { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 300 | pub fn display_regunit(&self, regunit: RegUnit) -> DisplayRegUnit<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alexcrichton-cranelift-codegen-a9702d3d2420c570/out/settings.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn predicate_view(&self) -> crate::settings::PredicateView { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn predicate_view(&self) -> crate::settings::PredicateView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/settings.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | fn from(flags: &'a Flags) -> FlagsOrIsa { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 353 | fn from(flags: &'a Flags) -> FlagsOrIsa<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/settings.rs:359:19 [INFO] [stdout] | [INFO] [stdout] 359 | fn from(isa: &'a dyn TargetIsa) -> FlagsOrIsa { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 359 | fn from(isa: &'a dyn TargetIsa) -> FlagsOrIsa<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/verifier/mod.rs:2018:32 [INFO] [stdout] | [INFO] [stdout] 2018 | panic!(format!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 2019 | | "'{}' did not contain the substring '{}'", [INFO] [stdout] 2020 | | message, $msg [INFO] [stdout] 2021 | | )); [INFO] [stdout] | |_________________________^ [INFO] [stdout] ... [INFO] [stdout] 2065 | assert_err_with_msg!(errors, "instruction format"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this warning originates in the macro `assert_err_with_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 2018 ~ panic!( [INFO] [stdout] 2019 | "'{}' did not contain the substring '{}'", [INFO] [stdout] 2020 | message, $msg [INFO] [stdout] 2021 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/verifier/mod.rs:2018:32 [INFO] [stdout] | [INFO] [stdout] 2018 | panic!(format!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 2019 | | "'{}' did not contain the substring '{}'", [INFO] [stdout] 2020 | | message, $msg [INFO] [stdout] 2021 | | )); [INFO] [stdout] | |_________________________^ [INFO] [stdout] ... [INFO] [stdout] 2078 | assert_err_with_msg!(errors, "Parameter at position 0 has an invalid type"); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_err_with_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 2018 ~ panic!( [INFO] [stdout] 2019 | "'{}' did not contain the substring '{}'", [INFO] [stdout] 2020 | message, $msg [INFO] [stdout] 2021 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/verifier/mod.rs:2018:32 [INFO] [stdout] | [INFO] [stdout] 2018 | panic!(format!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 2019 | | "'{}' did not contain the substring '{}'", [INFO] [stdout] 2020 | | message, $msg [INFO] [stdout] 2021 | | )); [INFO] [stdout] | |_________________________^ [INFO] [stdout] ... [INFO] [stdout] 2091 | assert_err_with_msg!(errors, "Return value at position 0 has an invalid type"); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_err_with_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 2018 ~ panic!( [INFO] [stdout] 2019 | "'{}' did not contain the substring '{}'", [INFO] [stdout] 2020 | message, $msg [INFO] [stdout] 2021 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/verifier/mod.rs:2018:32 [INFO] [stdout] | [INFO] [stdout] 2018 | panic!(format!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 2019 | | "'{}' did not contain the substring '{}'", [INFO] [stdout] 2020 | | message, $msg [INFO] [stdout] 2021 | | )); [INFO] [stdout] | |_________________________^ [INFO] [stdout] ... [INFO] [stdout] 2135 | assert_err_with_msg!(errors, "ebb0 cannot be empty"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_err_with_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 2018 ~ panic!( [INFO] [stdout] 2019 | "'{}' did not contain the substring '{}'", [INFO] [stdout] 2020 | message, $msg [INFO] [stdout] 2021 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/regalloc/coalescing.rs:1019:22 [INFO] [stdout] | [INFO] [stdout] 1019 | pub fn iter<'a>(&'a self, func: &'a Function) -> VCopyIter { [INFO] [stdout] | ^^ ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1019 | pub fn iter<'a>(&'a self, func: &'a Function) -> VCopyIter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scoped_hash_map.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn entry(&mut self, key: K) -> Entry { [INFO] [stdout] | ^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: alexcrichton-cranelift-codegen-meta v0.53.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "07d601856b61f416aaae3e7ec357703c4ed3a1ee7691e51f7a6f4ca8c290be3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07d601856b61f416aaae3e7ec357703c4ed3a1ee7691e51f7a6f4ca8c290be3d", kill_on_drop: false }` [INFO] [stdout] 07d601856b61f416aaae3e7ec357703c4ed3a1ee7691e51f7a6f4ca8c290be3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4de9ceb36a96dd1c38036391b97137f99466046d271b0d514cb1741c29f4f4ac [INFO] running `Command { std: "docker" "start" "-a" "4de9ceb36a96dd1c38036391b97137f99466046d271b0d514cb1741c29f4f4ac", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `clippy` [INFO] [stderr] --> src/lib.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | #![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stderr] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | #![cfg_attr(feature="cargo-clippy", allow( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | feature = "cargo-clippy", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/binemit/memorysink.rs:102:24 [INFO] [stderr] | [INFO] [stderr] 102 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::cast_ptr_alignment))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/cursor.rs:801:20 [INFO] [stderr] | [INFO] [stderr] 801 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::match_wild_err_arm))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/licm.rs:198:20 [INFO] [stderr] | [INFO] [stderr] 198 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::block_in_if_condition_stmt))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/regalloc/virtregs.rs:101:16 [INFO] [stderr] | [INFO] [stderr] 101 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::trivially_copy_pass_by_ref))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/regalloc/solver.rs:299:16 [INFO] [stderr] | [INFO] [stderr] 299 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::wrong_self_convention))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `all-arch`, `arm32`, `arm64`, `basic-blocks`, `core`, `default`, `enable-serde`, `hashbrown`, `riscv`, `serde`, `std`, `testing_hooks`, and `x86` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::safepoint::emit_stackmaps` [INFO] [stderr] --> src/regalloc/mod.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub use self::safepoint::emit_stackmaps; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/isa/x86/abi.rs:711:13 [INFO] [stderr] | [INFO] [stderr] 711 | let mut cfa_state = cfa_state [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/isa/x86/abi.rs:736:17 [INFO] [stderr] | [INFO] [stderr] 736 | let mut cfa_state = cfa_state [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cursor.rs:597:16 [INFO] [stderr] | [INFO] [stderr] 597 | pub fn ins(&mut self) -> ir::InsertBuilder<&mut FuncCursor<'f>> { [INFO] [stderr] | ^^^^^^^^^ -------------------------------------- [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 597 | pub fn ins(&mut self) -> ir::InsertBuilder<'_, &mut FuncCursor<'f>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cursor.rs:708:16 [INFO] [stderr] | [INFO] [stderr] 708 | pub fn ins(&mut self) -> ir::InsertBuilder<&mut EncCursor<'f>> { [INFO] [stderr] | ^^^^^^^^^ ------------------------------------- [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 708 | pub fn ins(&mut self) -> ir::InsertBuilder<'_, &mut EncCursor<'f>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cursor.rs:723:25 [INFO] [stderr] | [INFO] [stderr] 723 | pub fn display_inst(&self, inst: ir::Inst) -> ir::dfg::DisplayInst { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 723 | pub fn display_inst(&self, inst: ir::Inst) -> ir::dfg::DisplayInst<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/dominator_tree.rs:568:21 [INFO] [stderr] | [INFO] [stderr] 568 | pub fn children(&self, ebb: Ebb) -> ChildIter { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 568 | pub fn children(&self, ebb: Ebb) -> ChildIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/flowgraph.rs:176:22 [INFO] [stderr] | [INFO] [stderr] 176 | pub fn pred_iter(&self, ebb: Ebb) -> PredIter { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 176 | pub fn pred_iter(&self, ebb: Ebb) -> PredIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/flowgraph.rs:181:22 [INFO] [stderr] | [INFO] [stderr] 181 | pub fn succ_iter(&self, ebb: Ebb) -> SuccIter { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 181 | pub fn succ_iter(&self, ebb: Ebb) -> SuccIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ir/constant.rs:67:17 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn iter(&self) -> Iter<'_, u8> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ir/dfg.rs:224:24 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn values<'a>(&'a self) -> Values { [INFO] [stderr] | ^^ ------ the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 224 | pub fn values<'a>(&'a self) -> Values<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ir/dfg.rs:569:20 [INFO] [stderr] | [INFO] [stderr] 569 | pub fn replace(&mut self, inst: Inst) -> ReplaceBuilder { [INFO] [stderr] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 569 | pub fn replace(&mut self, inst: Inst) -> ReplaceBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ir/dfg.rs:694:27 [INFO] [stderr] | [INFO] [stderr] 694 | pub fn analyze_branch(&self, inst: Inst) -> BranchInfo { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 694 | pub fn analyze_branch(&self, inst: Inst) -> BranchInfo<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ir/function.rs:313:26 [INFO] [stderr] | [INFO] [stderr] 313 | fn from(isa: Option<&'a dyn TargetIsa>) -> DisplayFunctionAnnotations { [INFO] [stderr] | ^^ -------------------------- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 313 | fn from(isa: Option<&'a dyn TargetIsa>) -> DisplayFunctionAnnotations<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alexcrichton-cranelift-codegen-a9702d3d2420c570/out/opcodes.rs:652:27 [INFO] [stderr] | [INFO] [stderr] 652 | pub fn arguments<'a>(&'a self, pool: &'a ir::ValueListPool) -> &[Value] { [INFO] [stderr] | ^^ ^^ -------- the lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 652 | pub fn arguments<'a>(&'a self, pool: &'a ir::ValueListPool) -> &'a [Value] { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alexcrichton-cranelift-codegen-a9702d3d2420c570/out/opcodes.rs:719:31 [INFO] [stderr] | [INFO] [stderr] 719 | pub fn arguments_mut<'a>(&'a mut self, pool: &'a mut ir::ValueListPool) -> &mut [Value] { [INFO] [stderr] | ^^ ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 719 | pub fn arguments_mut<'a>(&'a mut self, pool: &'a mut ir::ValueListPool) -> &'a mut [Value] { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ir/instructions.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 74 | fn from_str(s: &str) -> Result { [INFO] [stderr] | -------------------------------------------------- move the `impl` block outside of this associated function `from_str` [INFO] [stderr] ... [INFO] [stderr] 77 | impl<'a> Table<&'a str> for [Option] { [INFO] [stderr] | ^^^^^^^^^-----^^^^^^^^^^^^^^^------^------^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | `Opcode` is not local [INFO] [stderr] | | `Option` is not local [INFO] [stderr] | `Table` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ir/jumptable.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 59 | pub fn iter(&self) -> Iter<'_, Ebb> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ir/jumptable.rs:64:21 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stderr] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 64 | pub fn iter_mut(&mut self) -> IterMut<'_, Ebb> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ir/layout.rs:440:17 [INFO] [stderr] | [INFO] [stderr] 440 | pub fn ebbs(&self) -> Ebbs { [INFO] [stderr] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 440 | pub fn ebbs(&self) -> Ebbs<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ir/layout.rs:623:22 [INFO] [stderr] | [INFO] [stderr] 623 | pub fn ebb_insts(&self, ebb: Ebb) -> Insts { [INFO] [stderr] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 623 | pub fn ebb_insts(&self, ebb: Ebb) -> Insts<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ir/stackslot.rs:224:17 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 224 | pub fn iter(&self) -> Iter<'_, StackSlot, StackSlotData> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ir/stackslot.rs:229:21 [INFO] [stderr] | [INFO] [stderr] 229 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stderr] | ^^^^^^^^^ --------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 229 | pub fn iter_mut(&mut self) -> IterMut<'_, StackSlot, StackSlotData> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ir/stackslot.rs:234:19 [INFO] [stderr] | [INFO] [stderr] 234 | pub fn values(&self) -> slice::Iter { [INFO] [stderr] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 234 | pub fn values(&self) -> slice::Iter<'_, StackSlotData> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ir/stackslot.rs:239:23 [INFO] [stderr] | [INFO] [stderr] 239 | pub fn values_mut(&mut self) -> slice::IterMut { [INFO] [stderr] | ^^^^^^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 239 | pub fn values_mut(&mut self) -> slice::IterMut<'_, StackSlotData> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alexcrichton-cranelift-codegen-a9702d3d2420c570/out/settings-x86.rs:73:27 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn predicate_view(&self) -> crate::settings::PredicateView { [INFO] [stderr] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 73 | pub fn predicate_view(&self) -> crate::settings::PredicateView<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/isa/registers.rs:300:28 [INFO] [stderr] | [INFO] [stderr] 300 | pub fn display_regunit(&self, regunit: RegUnit) -> DisplayRegUnit { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 300 | pub fn display_regunit(&self, regunit: RegUnit) -> DisplayRegUnit<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alexcrichton-cranelift-codegen-a9702d3d2420c570/out/settings.rs:101:27 [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 101 | pub fn predicate_view(&self) -> crate::settings::PredicateView { [INFO] [stdout] running 153 tests [INFO] [stderr] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 101 | pub fn predicate_view(&self) -> crate::settings::PredicateView<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/settings.rs:353:21 [INFO] [stderr] | [INFO] [stderr] 353 | fn from(flags: &'a Flags) -> FlagsOrIsa { [INFO] [stderr] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 353 | fn from(flags: &'a Flags) -> FlagsOrIsa<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/settings.rs:359:19 [INFO] [stderr] | [INFO] [stderr] 359 | fn from(isa: &'a dyn TargetIsa) -> FlagsOrIsa { [INFO] [stderr] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 359 | fn from(isa: &'a dyn TargetIsa) -> FlagsOrIsa<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/regalloc/coalescing.rs:1019:22 [INFO] [stderr] | [INFO] [stderr] 1019 | pub fn iter<'a>(&'a self, func: &'a Function) -> VCopyIter { [INFO] [stderr] | ^^ ^^ --------- the lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 1019 | pub fn iter<'a>(&'a self, func: &'a Function) -> VCopyIter<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/scoped_hash_map.rs:92:18 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn entry(&mut self, key: K) -> Entry { [INFO] [stderr] | ^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 92 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/verifier/mod.rs:2018:32 [INFO] [stderr] | [INFO] [stderr] 2018 | panic!(format!( [INFO] [stderr] | ________________________________^ [INFO] [stderr] 2019 | | "'{}' did not contain the substring '{}'", [INFO] [stderr] 2020 | | message, $msg [INFO] [stderr] 2021 | | )); [INFO] [stderr] | |_________________________^ [INFO] [stderr] ... [INFO] [stderr] 2065 | assert_err_with_msg!(errors, "instruction format"); [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this warning originates in the macro `assert_err_with_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 2018 ~ panic!( [INFO] [stderr] 2019 | "'{}' did not contain the substring '{}'", [INFO] [stderr] 2020 | message, $msg [INFO] [stderr] 2021 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/verifier/mod.rs:2018:32 [INFO] [stderr] | [INFO] [stderr] 2018 | panic!(format!( [INFO] [stderr] | ________________________________^ [INFO] [stderr] 2019 | | "'{}' did not contain the substring '{}'", [INFO] [stderr] 2020 | | message, $msg [INFO] [stderr] 2021 | | )); [INFO] [stderr] | |_________________________^ [INFO] [stderr] ... [INFO] [stderr] 2078 | assert_err_with_msg!(errors, "Parameter at position 0 has an invalid type"); [INFO] [stderr] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: this warning originates in the macro `assert_err_with_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 2018 ~ panic!( [INFO] [stderr] 2019 | "'{}' did not contain the substring '{}'", [INFO] [stderr] 2020 | message, $msg [INFO] [stderr] 2021 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/verifier/mod.rs:2018:32 [INFO] [stderr] | [INFO] [stderr] 2018 | panic!(format!( [INFO] [stderr] | ________________________________^ [INFO] [stderr] 2019 | | "'{}' did not contain the substring '{}'", [INFO] [stderr] 2020 | | message, $msg [INFO] [stderr] 2021 | | )); [INFO] [stderr] | |_________________________^ [INFO] [stderr] ... [INFO] [stderr] 2091 | assert_err_with_msg!(errors, "Return value at position 0 has an invalid type"); [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: this warning originates in the macro `assert_err_with_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 2018 ~ panic!( [INFO] [stderr] 2019 | "'{}' did not contain the substring '{}'", [INFO] [stderr] 2020 | message, $msg [INFO] [stderr] 2021 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/verifier/mod.rs:2018:32 [INFO] [stderr] | [INFO] [stderr] 2018 | panic!(format!( [INFO] [stderr] | ________________________________^ [INFO] [stderr] 2019 | | "'{}' did not contain the substring '{}'", [INFO] [stderr] 2020 | | message, $msg [INFO] [stderr] 2021 | | )); [INFO] [stderr] | |_________________________^ [INFO] [stderr] ... [INFO] [stderr] 2135 | assert_err_with_msg!(errors, "ebb0 cannot be empty"); [INFO] [stderr] | ---------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: this warning originates in the macro `assert_err_with_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 2018 ~ panic!( [INFO] [stderr] 2019 | "'{}' did not contain the substring '{}'", [INFO] [stderr] 2020 | message, $msg [INFO] [stderr] 2021 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `alexcrichton-cranelift-codegen` (lib) generated 40 warnings (run `cargo fix --lib -p alexcrichton-cranelift-codegen` to apply 31 suggestions) [INFO] [stderr] warning: `alexcrichton-cranelift-codegen` (lib test) generated 44 warnings (40 duplicates) (run `cargo fix --lib -p alexcrichton-cranelift-codegen --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: alexcrichton-cranelift-codegen-meta v0.53.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cranelift_codegen-ab58085d7e0128b1) [INFO] [stdout] test bitset::tests::contains ... ok [INFO] [stdout] test bitset::tests::from_range ... ok [INFO] [stdout] test abi::tests::legalize ... ok [INFO] [stdout] test divconst_magic_numbers::tests::test_magic_s64 ... ok [INFO] [stdout] test divconst_magic_numbers::tests::test_magic_u32 ... ok [INFO] [stdout] test divconst_magic_numbers::tests::test_magic_s32 ... ok [INFO] [stdout] test divconst_magic_numbers::tests::test_magic_u64 ... ok [INFO] [stdout] test dominator_tree::tests::non_zero_entry_block ... ok [INFO] [stdout] test dominator_tree::tests::empty ... ok [INFO] [stdout] test bitset::tests::minmax ... ok [INFO] [stdout] test binemit::stackmap::tests::stackmaps ... ok [INFO] [stdout] test dominator_tree::tests::unreachable_node ... ok [INFO] [stdout] test flowgraph::tests::branches_and_jumps ... ok [INFO] [stdout] test dominator_tree::tests::backwards_layout ... ok [INFO] [stdout] test flowgraph::tests::empty ... ok [INFO] [stdout] test flowgraph::tests::no_predecessors ... ok [INFO] [stdout] test ir::builder::tests::reuse_results ... ok [INFO] [stdout] test ir::builder::tests::types ... ok [INFO] [stdout] test ir::constant::tests::add_to_constant_data ... ok [INFO] [stdout] test ir::constant::tests::check_constant_data_endianness_as_uimm128 ... ok [INFO] [stdout] test ir::constant::tests::display_constant_data ... ok [INFO] [stdout] test ir::constant::tests::empty ... ok [INFO] [stdout] test ir::constant::tests::extend_constant_data ... ok [INFO] [stdout] test ir::constant::tests::clear ... ok [INFO] [stdout] test ir::constant::tests::get ... ok [INFO] [stdout] test ir::constant::tests::verify_stored_bytes_in_constant_data ... ok [INFO] [stdout] test ir::dfg::tests::ebb ... ok [INFO] [stdout] test ir::dfg::tests::aliases ... ok [INFO] [stdout] test ir::constant::tests::get_offset ... ok [INFO] [stdout] test ir::constant::tests::insert ... ok [INFO] [stdout] test ir::constant::tests::insert_duplicate ... ok [INFO] [stdout] test ir::constant::tests::iterate_over_constant_data ... ok [INFO] [stdout] test ir::constant::tests::iteration_order ... ok [INFO] [stdout] test ir::dfg::tests::replace_ebb_params ... ok [INFO] [stdout] test ir::dfg::tests::make_inst ... ok [INFO] [stdout] test ir::constant::tests::parse_constant_data_and_restringify ... ok [INFO] [stdout] test ir::dfg::tests::swap_remove_ebb_params ... ok [INFO] [stdout] test ir::entities::tests::constant_with_number ... ok [INFO] [stdout] test ir::dfg::tests::no_results ... ok [INFO] [stdout] test ir::entities::tests::value_with_number ... ok [INFO] [stdout] test ir::extfunc::tests::argument_purpose ... ok [INFO] [stdout] test ir::extfunc::tests::argument_type ... ok [INFO] [stdout] test ir::extfunc::tests::signatures ... ok [INFO] [stdout] test ir::extname::tests::display_testcase ... ok [INFO] [stdout] test ir::entities::tests::memory ... ok [INFO] [stdout] test ir::extname::tests::display_user ... ok [INFO] [stdout] test ir::extname::tests::parsing ... ok [INFO] [stdout] test ir::extfunc::tests::call_conv ... ok [INFO] [stdout] test ir::immediates::tests::fcvt_to_sint_negative_overflow_ieee32 ... ok [INFO] [stdout] test ir::immediates::tests::format_ieee32 ... ok [INFO] [stdout] test ir::immediates::tests::format_ieee64 ... ok [INFO] [stdout] test ir::immediates::tests::format_offset32 ... ok [INFO] [stdout] test ir::immediates::tests::fcvt_to_sint_negative_overflow_ieee64 ... ok [INFO] [stdout] test ir::immediates::tests::format_uimm64 ... ok [INFO] [stdout] test ir::immediates::tests::format_imm64 ... ok [INFO] [stdout] test ir::immediates::tests::parse_ieee32 ... ok [INFO] [stdout] test ir::immediates::tests::parse_ieee64 ... ok [INFO] [stdout] test ir::immediates::tests::parse_offset32 ... ok [INFO] [stdout] test ir::immediates::tests::parse_uimm64 ... ok [INFO] [stdout] test ir::immediates::tests::parse_imm64 ... ok [INFO] [stdout] test ir::immediates::tests::pow2_ieee32 ... ok [INFO] [stdout] test ir::instructions::tests::constraints ... ok [INFO] [stdout] test ir::instructions::tests::instruction_data ... ok [INFO] [stdout] test ir::immediates::tests::pow2_ieee64 ... ok [INFO] [stdout] test ir::instructions::tests::opcodes ... ok [INFO] [stdout] test ir::instructions::tests::value_set ... ok [INFO] [stdout] test ir::jumptable::tests::empty ... ok [INFO] [stdout] test ir::jumptable::tests::insert ... ok [INFO] [stdout] test ir::layout::test_midpoint ... ok [INFO] [stdout] test ir::layout::tests::append_ebb ... ok [INFO] [stdout] test ir::layout::tests::append_inst ... ok [INFO] [stdout] test ir::layout::tests::insert_ebb ... ok [INFO] [stdout] test ir::layout::tests::multiple_ebbs ... ok [INFO] [stdout] test ir::layout::tests::insert_ebb_after ... ok [INFO] [stdout] test ir::layout::tests::insert_inst ... ok [INFO] [stdout] test ir::layout::tests::split_ebb ... ok [INFO] [stdout] test ir::libcall::tests::display ... ok [INFO] [stdout] test ir::libcall::tests::parsing ... ok [INFO] [stdout] test ir::progpoint::tests::convert ... ok [INFO] [stdout] test ir::sourceloc::tests::display ... ok [INFO] [stdout] test ir::stackslot::tests::alignment ... ok [INFO] [stdout] test ir::stackslot::tests::emergency ... ok [INFO] [stdout] test ir::stackslot::tests::outgoing ... ok [INFO] [stdout] test ir::stackslot::tests::stack_slot ... ok [INFO] [stdout] test ir::types::tests::as_bool ... ok [INFO] [stdout] test ir::types::tests::basic_scalars ... ok [INFO] [stdout] test ir::trapcode::tests::display ... ok [INFO] [stdout] test ir::types::tests::format_scalars ... ok [INFO] [stdout] test ir::types::tests::format_vectors ... ok [INFO] [stdout] test ir::types::tests::typevar_functions ... ok [INFO] [stdout] test ir::types::tests::vectors ... ok [INFO] [stdout] test isa::constraints::tests::branch_range ... ok [INFO] [stdout] test isa::registers::assert_sizes ... ok [INFO] [stdout] test isa::x86::registers::tests::unit_encodings ... ok [INFO] [stdout] test isa::x86::registers::tests::regclasses ... ok [INFO] [stdout] test isa::x86::registers::tests::unit_names ... ok [INFO] [stdout] test isa::x86::settings::tests::display_presets ... ok [INFO] [stdout] test isa::x86::settings::tests::presets ... ok [INFO] [stdout] test legalizer::boundary::tests::round_up_to_multiple_of_pow2_works ... ok [INFO] [stdout] test isa::x86::unwind::tests::test_medium_alloc ... ok [INFO] [stdout] test iterators::tests::adjpairs ... ok [INFO] [stdout] test isa::x86::unwind::tests::test_small_alloc ... ok [INFO] [stdout] test loop_analysis::tests::nested_loops_detection ... ok [INFO] [stdout] test partition_slice::tests::doubles ... ok [INFO] [stdout] test partition_slice::tests::empty ... ok [INFO] [stdout] test partition_slice::tests::longer ... ok [INFO] [stdout] test isa::x86::unwind::tests::test_large_alloc ... ok [INFO] [stdout] test isa::x86::unwind::tests::test_wrong_calling_convention ... ok [INFO] [stdout] test loop_analysis::tests::complex_loop_detection ... ok [INFO] [stdout] test predicates::tests::check_is_all_ones ... ok [INFO] [stdout] test partition_slice::tests::singles ... ok [INFO] [stdout] test predicates::tests::check_is_all_zeroes ... ok [INFO] [stdout] test predicates::tests::cvt_imm64 ... ok [INFO] [stdout] test predicates::tests::cvt_u32 ... ok [INFO] [stdout] test regalloc::diversion::tests::inserts ... ok [INFO] [stdout] test regalloc::liverange::tests::dead_arg_range ... ok [INFO] [stdout] test regalloc::liverange::tests::dead_def_range ... ok [INFO] [stdout] test regalloc::liverange::tests::coalesce ... ok [INFO] [stdout] test regalloc::liverange::tests::global_def ... ok [INFO] [stdout] test regalloc::liverange::tests::local_arg ... ok [INFO] [stdout] test regalloc::liverange::tests::local_def ... ok [INFO] [stdout] test regalloc::register_set::tests::interference ... ok [INFO] [stdout] test regalloc::register_set::tests::put_and_take ... ok [INFO] [stdout] test regalloc::register_set::tests::reverse_regset_iteration ... ok [INFO] [stdout] test regalloc::virtregs::tests::empty_union_find ... ok [INFO] [stdout] test regalloc::virtregs::tests::union_pair ... ok [INFO] [stdout] test regalloc::virtregs::tests::union_pair_backwards ... ok [INFO] [stdout] test regalloc::virtregs::tests::union_self ... ok [INFO] [stdout] test regalloc::virtregs::tests::union_tree ... ok [INFO] [stdout] test regalloc::virtregs::tests::union_two ... ok [INFO] [stdout] test scoped_hash_map::tests::basic ... ok [INFO] [stdout] test settings::tests::display_default ... ok [INFO] [stdout] test settings::tests::modify_bool ... ok [INFO] [stdout] test regalloc::virtregs::tests::union_uneven ... ok [INFO] [stdout] test settings::tests::modify_string ... ok [INFO] [stdout] test stack_layout::tests::layout ... ok [INFO] [stdout] test stack_layout::tests::slot_kinds ... ok [INFO] [stdout] test timing::tests::display ... ok [INFO] [stdout] test topo_order::tests::empty ... ok [INFO] [stdout] test topo_order::tests::simple ... ok [INFO] [stdout] test verifier::tests::bad_instruction_format ... ok [INFO] [stdout] test verifier::tests::empty ... ok [INFO] [stdout] test verifier::tests::test_empty_ebb ... ok [INFO] [stdout] test verifier::tests::test_function_invalid_param ... ok [INFO] [stdout] test verifier::tests::test_function_invalid_return_value ... ok [INFO] [stdout] test verifier::tests::test_printing_contextual_errors ... ok [INFO] [stdout] test write::tests::basic ... ok [INFO] [stdout] test write::tests::aliases ... ok [INFO] [stdout] test ir::constant::tests::extend_constant_data_to_invalid_length - should panic ... ok [INFO] [stdout] test ir::constant::tests::get_nonexistent_constant - should panic ... ok [INFO] [stdout] test ir::constant::tests::get_nonexistent_offset - should panic ... ok [INFO] [stdout] test divconst_magic_numbers::tests::test_magic_generators_dont_panic ... ok [INFO] [stdout] test divconst_magic_numbers::tests::test_magic_generators_give_correct_numbers ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 153 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.82s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4de9ceb36a96dd1c38036391b97137f99466046d271b0d514cb1741c29f4f4ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4de9ceb36a96dd1c38036391b97137f99466046d271b0d514cb1741c29f4f4ac", kill_on_drop: false }` [INFO] [stdout] 4de9ceb36a96dd1c38036391b97137f99466046d271b0d514cb1741c29f4f4ac