[INFO] cloning repository https://github.com/d-sonuga/mindbend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/d-sonuga/mindbend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd-sonuga%2Fmindbend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd-sonuga%2Fmindbend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5082c9dbf69d69e6f09ace5d6a157d6e60bd611 [INFO] checking d-sonuga/mindbend/b5082c9dbf69d69e6f09ace5d6a157d6e60bd611 against master#1fe72d35998dea48aeecaf7fc07783b0b553f24f for pr-154992 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd-sonuga%2Fmindbend" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/d-sonuga/mindbend [INFO] finished tweaking git repo https://github.com/d-sonuga/mindbend [INFO] tweaked toml for git repo https://github.com/d-sonuga/mindbend written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/d-sonuga/mindbend on toolchain 1fe72d35998dea48aeecaf7fc07783b0b553f24f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/d-sonuga/mindbend 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" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/TheDan64/inkwell` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded predicates-core v1.0.3 [INFO] [stderr] Downloaded predicates v2.1.1 [INFO] [stderr] Downloaded predicates-tree v1.0.5 [INFO] [stderr] Downloaded assert_cmd v2.0.4 [INFO] [stderr] Downloaded termtree v0.2.4 [INFO] [stderr] Downloaded llvm-sys v120.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8f7233324ecdb77b8d587ae940ecbde2c6259d2bb62a9417747c7898333d905 [INFO] running `Command { std: "docker" "start" "-a" "a8f7233324ecdb77b8d587ae940ecbde2c6259d2bb62a9417747c7898333d905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8f7233324ecdb77b8d587ae940ecbde2c6259d2bb62a9417747c7898333d905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8f7233324ecdb77b8d587ae940ecbde2c6259d2bb62a9417747c7898333d905", kill_on_drop: false }` [INFO] [stdout] a8f7233324ecdb77b8d587ae940ecbde2c6259d2bb62a9417747c7898333d905 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8c37a6b176e9874058aee1269361bd33edd41d806b0b293f0cce8600e0cdb25 [INFO] running `Command { std: "docker" "start" "-a" "c8c37a6b176e9874058aee1269361bd33edd41d806b0b293f0cce8600e0cdb25", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell?branch=master#c71d7edb) [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking assert_cmd v2.0.4 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling llvm-sys v120.2.3 [INFO] [stderr] Compiling inkwell_internals v0.5.0 (https://github.com/TheDan64/inkwell?branch=master#c71d7edb) [INFO] [stderr] Checking mindbend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `c_ident`, `p_ident`, and `r_ident` [INFO] [stdout] --> src/lexer.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | use crate::{r_ident, p_ident, c_ident}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_mut_any` is never used [INFO] [stdout] --> src/parser.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 453 | pub trait Expression: fmt::Debug + Any { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 457 | fn as_mut_any(&mut self) -> &mut dyn Any; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ActiveExpression` is never used [INFO] [stdout] --> src/parser.rs:462:7 [INFO] [stdout] | [INFO] [stdout] 462 | trait ActiveExpression: Expression {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 149 | fn init_data_landscape(&self, main_fn: &FunctionValue) -> DataLandscape { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | fn init_data_landscape(&self, main_fn: &FunctionValue) -> DataLandscape<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | fn init_main_fn(&self) -> FunctionValue { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 196 | fn init_main_fn(&self) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | fn init_functions(&self) -> Functions { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 203 | fn init_functions(&self) -> Functions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:243:38 [INFO] [stdout] | [INFO] [stdout] 243 | fn code_primitive_access_routine(&self, putchar: &FunctionValue) -> FunctionValue { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 243 | fn code_primitive_access_routine(&self, putchar: &FunctionValue) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 318 | fn code_state_update_routine(&self) -> FunctionValue { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 318 | fn code_state_update_routine(&self) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:471:32 [INFO] [stdout] | [INFO] [stdout] 471 | fn code_drill_gate_routine(&self, putchar: &FunctionValue) -> FunctionValue { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 471 | fn code_drill_gate_routine(&self, putchar: &FunctionValue) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:565:48 [INFO] [stdout] | [INFO] [stdout] 565 | fn code_expression_life_validation_routine(&self) -> FunctionValue { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 565 | fn code_expression_life_validation_routine(&self) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:627:41 [INFO] [stdout] | [INFO] [stdout] 627 | fn code_function_validation_routine(&self, putchar: &FunctionValue) -> FunctionValue { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 627 | fn code_function_validation_routine(&self, putchar: &FunctionValue) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:725:33 [INFO] [stdout] | [INFO] [stdout] 725 | fn code_cell_access_routine(&self) -> FunctionValue { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 725 | fn code_cell_access_routine(&self) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/codegen.rs:811:63 [INFO] [stdout] | [INFO] [stdout] 797 | let leach_expr_ptr = leach_expr as *const LeachExpression as *mut LeachExpression; [INFO] [stdout] | ------------------------------------------------------------ casting happened here [INFO] [stdout] ... [INFO] [stdout] 811 | let mut old_leach_expr = mem::replace(&mut *leach_expr_ptr, *right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mindbend` (bin "mindbend") due to 1 previous error; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `as_mut_any` is never used [INFO] [stdout] --> src/parser.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 453 | pub trait Expression: fmt::Debug + Any { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 457 | fn as_mut_any(&mut self) -> &mut dyn Any; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ActiveExpression` is never used [INFO] [stdout] --> src/parser.rs:462:7 [INFO] [stdout] | [INFO] [stdout] 462 | trait ActiveExpression: Expression {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 149 | fn init_data_landscape(&self, main_fn: &FunctionValue) -> DataLandscape { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | fn init_data_landscape(&self, main_fn: &FunctionValue) -> DataLandscape<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | fn init_main_fn(&self) -> FunctionValue { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 196 | fn init_main_fn(&self) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | fn init_functions(&self) -> Functions { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 203 | fn init_functions(&self) -> Functions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:243:38 [INFO] [stdout] | [INFO] [stdout] 243 | fn code_primitive_access_routine(&self, putchar: &FunctionValue) -> FunctionValue { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 243 | fn code_primitive_access_routine(&self, putchar: &FunctionValue) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 318 | fn code_state_update_routine(&self) -> FunctionValue { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 318 | fn code_state_update_routine(&self) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:471:32 [INFO] [stdout] | [INFO] [stdout] 471 | fn code_drill_gate_routine(&self, putchar: &FunctionValue) -> FunctionValue { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 471 | fn code_drill_gate_routine(&self, putchar: &FunctionValue) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:565:48 [INFO] [stdout] | [INFO] [stdout] 565 | fn code_expression_life_validation_routine(&self) -> FunctionValue { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 565 | fn code_expression_life_validation_routine(&self) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:627:41 [INFO] [stdout] | [INFO] [stdout] 627 | fn code_function_validation_routine(&self, putchar: &FunctionValue) -> FunctionValue { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 627 | fn code_function_validation_routine(&self, putchar: &FunctionValue) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:725:33 [INFO] [stdout] | [INFO] [stdout] 725 | fn code_cell_access_routine(&self) -> FunctionValue { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 725 | fn code_cell_access_routine(&self) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/codegen.rs:811:63 [INFO] [stdout] | [INFO] [stdout] 797 | let leach_expr_ptr = leach_expr as *const LeachExpression as *mut LeachExpression; [INFO] [stdout] | ------------------------------------------------------------ casting happened here [INFO] [stdout] ... [INFO] [stdout] 811 | let mut old_leach_expr = mem::replace(&mut *leach_expr_ptr, *right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mindbend` (bin "mindbend" test) due to 1 previous error; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c8c37a6b176e9874058aee1269361bd33edd41d806b0b293f0cce8600e0cdb25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8c37a6b176e9874058aee1269361bd33edd41d806b0b293f0cce8600e0cdb25", kill_on_drop: false }` [INFO] [stdout] c8c37a6b176e9874058aee1269361bd33edd41d806b0b293f0cce8600e0cdb25