[INFO] fetching crate ola-lang 0.1.1... [INFO] checking ola-lang-0.1.1 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate ola-lang 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate ola-lang 0.1.1 [INFO] finished tweaking crates.io crate ola-lang 0.1.1 [INFO] tweaked toml for crates.io crate ola-lang 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ola-lang 0.1.1 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ola-lang 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 645debe4c8974b130088e2de4dafbf1bdcd6b41576688a286a945198a87ee19d [INFO] running `Command { std: "docker" "start" "-a" "645debe4c8974b130088e2de4dafbf1bdcd6b41576688a286a945198a87ee19d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "645debe4c8974b130088e2de4dafbf1bdcd6b41576688a286a945198a87ee19d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "645debe4c8974b130088e2de4dafbf1bdcd6b41576688a286a945198a87ee19d", kill_on_drop: false }` [INFO] [stdout] 645debe4c8974b130088e2de4dafbf1bdcd6b41576688a286a945198a87ee19d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3874344e9a8cd6fd6a9278e9177946a8ff38c491aafb0ddd4d0c9a357b40566 [INFO] running `Command { std: "docker" "start" "-a" "d3874344e9a8cd6fd6a9278e9177946a8ff38c491aafb0ddd4d0c9a357b40566", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rustix v0.38.19 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling regex-automata v0.4.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking regex v1.10.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling inkwell v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling inkwell_internals v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling llvm-sys v150.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking debug_print v1.0.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking key-node-list v0.0.5 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking bstr v1.9.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking similar v2.3.0 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking insta v1.34.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking color-backtrace v0.5.1 [INFO] [stderr] Compiling ola-parser v1.0.1 [INFO] [stderr] Checking ola-lang v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/core/ir/function/layout/mod.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn block_iter(&self) -> BasicBlockIter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 52 | pub fn block_iter(&self) -> BasicBlockIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/core/ir/function/layout/mod.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn inst_iter(&self, block: BasicBlockId) -> InstructionIter { [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 inst_iter(&self, block: BasicBlockId) -> InstructionIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/core/ir/types/mod.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn get(&self, ty: Type) -> Option> { [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] 98 | pub fn get(&self, ty: Type) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/core/ir/types/mod.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn get_mut(&self, ty: Type) -> Option> { [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] 105 | pub fn get_mut(&self, ty: Type) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/core/ir/types/mod.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn base(&self) -> Ref { [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] 118 | pub fn base(&self) -> Ref<'_, TypesBase> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/core/ir/types/mod.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn base_mut(&self) -> RefMut { [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] 122 | pub fn base_mut(&self) -> RefMut<'_, TypesBase> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/core/parser/assembly/function.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn parse(source: &str, types: Types) -> Result<(&str, Function), Error> { [INFO] [stdout] | ^^^^ ---- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 162 | pub fn parse(source: &str, types: Types) -> Result<(&str, Function), Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/core/parser/assembly/module.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn parse(mut source: &str) -> Result { [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] 71 | pub fn parse(mut source: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/function/layout/mod.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn block_iter(&self) -> BasicBlockIter { [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] 54 | pub fn block_iter(&self) -> BasicBlockIter<'_, Inst> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/function/layout/mod.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn inst_iter(&self, block: BasicBlockId) -> InstructionIter { [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] 61 | pub fn inst_iter(&self, block: BasicBlockId) -> InstructionIter<'_, Inst> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/module/mod.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn display_asm(&self) -> DisplayAsm { [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] 16 | pub fn display_asm(&self) -> DisplayAsm<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sema/diagnostics.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | 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] 32 | pub fn iter(&self) -> Iter<'_, Diagnostic> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sema/diagnostics.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | 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] 36 | pub fn iter_mut(&mut self) -> IterMut<'_, Diagnostic> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/sema/external_functions.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | for e in exprs { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 118 - for e in exprs { [INFO] [stdout] 118 + while let Some(e) = exprs { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 118 - for e in exprs { [INFO] [stdout] 118 + if let Some(e) = exprs { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/codegen.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | Check(usize, String), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 48 - Check(usize, String), [INFO] [stdout] 48 + Check((), String), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/codegen.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | CheckAbsent(usize, String), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 - CheckAbsent(usize, String), [INFO] [stdout] 49 + CheckAbsent((), String), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/codegen.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | NotCheck(usize, String), [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 50 - NotCheck(usize, String), [INFO] [stdout] 50 + NotCheck((), String), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/codegen.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | Rewind(usize), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 51 - Rewind(usize), [INFO] [stdout] 51 + Rewind(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/irgen.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | BeginCheck(usize, String), [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 - BeginCheck(usize, String), [INFO] [stdout] 57 + BeginCheck((), String), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> tests/irgen.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | Check(String, usize, String), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 58 - Check(String, usize, String), [INFO] [stdout] 58 + Check(String, (), String), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> tests/irgen.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | CheckAbsent(String, usize, String), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 - CheckAbsent(String, usize, String), [INFO] [stdout] 59 + CheckAbsent(String, (), String), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> tests/irgen.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | NotCheck(String, usize, String), [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 60 - NotCheck(String, usize, String), [INFO] [stdout] 60 + NotCheck(String, (), String), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/core/ir/function/layout/mod.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn block_iter(&self) -> BasicBlockIter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 52 | pub fn block_iter(&self) -> BasicBlockIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/core/ir/function/layout/mod.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn inst_iter(&self, block: BasicBlockId) -> InstructionIter { [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 inst_iter(&self, block: BasicBlockId) -> InstructionIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/core/ir/types/mod.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn get(&self, ty: Type) -> Option> { [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] 98 | pub fn get(&self, ty: Type) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/core/ir/types/mod.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn get_mut(&self, ty: Type) -> Option> { [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] 105 | pub fn get_mut(&self, ty: Type) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/core/ir/types/mod.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn base(&self) -> Ref { [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] 118 | pub fn base(&self) -> Ref<'_, TypesBase> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/core/ir/types/mod.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn base_mut(&self) -> RefMut { [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] 122 | pub fn base_mut(&self) -> RefMut<'_, TypesBase> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/core/parser/assembly/function.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn parse(source: &str, types: Types) -> Result<(&str, Function), Error> { [INFO] [stdout] | ^^^^ ---- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 162 | pub fn parse(source: &str, types: Types) -> Result<(&str, Function), Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/core/parser/assembly/module.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn parse(mut source: &str) -> Result { [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] 71 | pub fn parse(mut source: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/function/layout/mod.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn block_iter(&self) -> BasicBlockIter { [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] 54 | pub fn block_iter(&self) -> BasicBlockIter<'_, Inst> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/function/layout/mod.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn inst_iter(&self, block: BasicBlockId) -> InstructionIter { [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] 61 | pub fn inst_iter(&self, block: BasicBlockId) -> InstructionIter<'_, Inst> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/module/mod.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn display_asm(&self) -> DisplayAsm { [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] 16 | pub fn display_asm(&self) -> DisplayAsm<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sema/diagnostics.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | 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] 32 | pub fn iter(&self) -> Iter<'_, Diagnostic> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sema/diagnostics.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | 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] 36 | pub fn iter_mut(&mut self) -> IterMut<'_, Diagnostic> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/sema/external_functions.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | for e in exprs { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 118 - for e in exprs { [INFO] [stdout] 118 + while let Some(e) = exprs { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 118 - for e in exprs { [INFO] [stdout] 118 + if let Some(e) = exprs { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 54s [INFO] running `Command { std: "docker" "inspect" "d3874344e9a8cd6fd6a9278e9177946a8ff38c491aafb0ddd4d0c9a357b40566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3874344e9a8cd6fd6a9278e9177946a8ff38c491aafb0ddd4d0c9a357b40566", kill_on_drop: false }` [INFO] [stdout] d3874344e9a8cd6fd6a9278e9177946a8ff38c491aafb0ddd4d0c9a357b40566