[INFO] cloning repository https://github.com/Hollowloki/le_sserafim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hollowloki/le_sserafim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHollowloki%2Fle_sserafim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHollowloki%2Fle_sserafim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c91ae6ccb3b120bc8cb2501b17254b5c4066c1e [INFO] checking Hollowloki/le_sserafim/7c91ae6ccb3b120bc8cb2501b17254b5c4066c1e against master#377656d3dd3f9c23a9c8713e163f4365a5261a84 for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHollowloki%2Fle_sserafim" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Hollowloki/le_sserafim [INFO] finished tweaking git repo https://github.com/Hollowloki/le_sserafim [INFO] tweaked toml for git repo https://github.com/Hollowloki/le_sserafim written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hollowloki/le_sserafim on toolchain 377656d3dd3f9c23a9c8713e163f4365a5261a84 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "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" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 248 packages to latest compatible versions [INFO] [stderr] Adding codespan-reporting v0.11.1 (available: v0.13.1) [INFO] [stderr] Adding dirs v5.0.1 (available: v6.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.16.1) [INFO] [stderr] Adding lalrpop v0.20.2 (available: v0.22.2) [INFO] [stderr] Adding lalrpop-util v0.20.2 (available: v0.22.2) [INFO] [stderr] Adding logos v0.13.0 (available: v0.16.0) [INFO] [stderr] Adding nu-ansi-term v0.47.0 (available: v0.50.3) [INFO] [stderr] Adding pprof v0.12.1 (available: v0.15.0) [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.2) [INFO] [stderr] Adding reedline v0.26.0 (available: v0.44.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.1.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tree-sitter v0.20.10 (available: v0.26.3) [INFO] [stderr] Adding tree-sitter-highlight v0.20.1 (available: v0.26.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strip-ansi-escapes v0.2.1 [INFO] [stderr] Downloaded fd-lock v3.0.13 [INFO] [stderr] Downloaded tree-sitter-highlight v0.20.1 [INFO] [stderr] Downloaded vte v0.14.1 [INFO] [stderr] Downloaded iota v0.2.3 [INFO] [stderr] Downloaded str_stack v0.1.0 [INFO] [stderr] Downloaded symbolic-common v12.17.0 [INFO] [stderr] Downloaded test-generator v0.3.1 [INFO] [stderr] Downloaded nu-ansi-term v0.47.0 [INFO] [stderr] Downloaded findshlibs v0.10.2 [INFO] [stderr] Downloaded tree-sitter v0.20.10 [INFO] [stderr] Downloaded inferno v0.11.21 [INFO] [stderr] Downloaded reedline v0.26.0 [INFO] [stderr] Downloaded cpp_demangle v0.4.5 [INFO] [stderr] Downloaded pprof v0.12.1 [INFO] [stderr] Downloaded symbolic-demangle v12.17.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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04271fafdd64c96780feda10f4d733f4ab6d700fdb5312d058cf673b017f9bc0 [INFO] running `Command { std: "docker" "start" "-a" "04271fafdd64c96780feda10f4d733f4ab6d700fdb5312d058cf673b017f9bc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04271fafdd64c96780feda10f4d733f4ab6d700fdb5312d058cf673b017f9bc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04271fafdd64c96780feda10f4d733f4ab6d700fdb5312d058cf673b017f9bc0", kill_on_drop: false }` [INFO] [stdout] 04271fafdd64c96780feda10f4d733f4ab6d700fdb5312d058cf673b017f9bc0 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fc3688e7f620faba3b733d42670d4b376953930f87facebe25ec3b46ac6d972 [INFO] running `Command { std: "docker" "start" "-a" "6fc3688e7f620faba3b733d42670d4b376953930f87facebe25ec3b46ac6d972", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling libmimalloc-sys v0.1.44 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking vte v0.14.1 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking strip-ansi-escapes v0.2.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking mimalloc v0.1.48 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking nu-ansi-term v0.47.0 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking iota v0.2.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Checking tree-sitter-highlight v0.20.1 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Checking reedline v0.26.0 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Compiling test-generator v0.3.1 [INFO] [stderr] Compiling Cecile v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow::bail` [INFO] [stdout] --> src/cli/command.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::bail; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/vm/chunk.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, ops::Index}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::compiler::Upvalue` [INFO] [stdout] --> src/vm/chunk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::compiler::Upvalue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::object::ObjectFunction` [INFO] [stdout] --> src/vm/chunk.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::object::ObjectFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> src/vm/chunk.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::cc_parser::ast::{Span, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cc_parser::ast` [INFO] [stdout] --> src/cc_lexer/mod.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | use crate::cc_parser::ast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::bail` [INFO] [stdout] --> src/cli/command.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::bail; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/vm/chunk.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, ops::Index}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::compiler::Upvalue` [INFO] [stdout] --> src/vm/chunk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::compiler::Upvalue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::object::ObjectFunction` [INFO] [stdout] --> src/vm/chunk.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::object::ObjectFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> src/vm/chunk.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::cc_parser::ast::{Span, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/vm/compiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/vm/compiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/vm/compiler.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct StructMethod { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 190 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Cecile` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `cecile` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl/mod.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | fn render_prompt_left(&self) -> Cow { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn render_prompt_left(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl/mod.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | fn render_prompt_right(&self) -> Cow { [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] 101 | fn render_prompt_right(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl/mod.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | fn render_prompt_indicator(&self, _: PromptEditMode) -> Cow { [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] 105 | fn render_prompt_indicator(&self, _: PromptEditMode) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl/mod.rs:109:42 [INFO] [stdout] | [INFO] [stdout] 109 | fn render_prompt_multiline_indicator(&self) -> Cow { [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] 109 | fn render_prompt_multiline_indicator(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl/mod.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | fn render_prompt_history_search_indicator(&self, _: PromptHistorySearch) -> Cow { [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] 113 | fn render_prompt_history_search_indicator(&self, _: PromptHistorySearch) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm/mod.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn new(allocator: &mut CeAllocationGc, trace: bool, optimized_debug: bool) -> VM { [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] 69 | pub fn new(allocator: &mut CeAllocationGc, trace: bool, optimized_debug: bool) -> VM<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Cecile` (lib) due to 10 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:311:46 [INFO] [stdout] | [INFO] [stdout] 311 | let arr_value = unsafe { (*array).values.get_unchecked_mut(index) }; [INFO] [stdout] | ^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ArrayObject` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut [value::Value]` [INFO] [stdout] --> src/vm/mod.rs:311:46 [INFO] [stdout] | [INFO] [stdout] 311 | let arr_value = unsafe { (*array).values.get_unchecked_mut(index) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked_mut` require a reference [INFO] [stdout] --> /rustc/377656d3dd3f9c23a9c8713e163f4365a5261a84/library/core/src/slice/mod.rs:683:4 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 311 | let arr_value = unsafe { (&mut (*array).values).get_unchecked_mut(index) }; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:355:42 [INFO] [stdout] | [INFO] [stdout] 355 | let value = unsafe { (*array).values.get_unchecked(index) }; [INFO] [stdout] | ^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ArrayObject` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[value::Value]` [INFO] [stdout] --> src/vm/mod.rs:355:42 [INFO] [stdout] | [INFO] [stdout] 355 | let value = unsafe { (*array).values.get_unchecked(index) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/377656d3dd3f9c23a9c8713e163f4365a5261a84/library/core/src/slice/mod.rs:638:4 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 355 | let value = unsafe { (&(*array).values).get_unchecked(index) }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:673:32 [INFO] [stdout] | [INFO] [stdout] 673 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stdout] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ClosureObject` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[*mut UpvalueObject]` [INFO] [stdout] --> src/vm/mod.rs:673:32 [INFO] [stdout] | [INFO] [stdout] 673 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/377656d3dd3f9c23a9c8713e163f4365a5261a84/library/core/src/slice/mod.rs:638:4 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 673 | let object = *unsafe { (&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:681:32 [INFO] [stdout] | [INFO] [stdout] 681 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stdout] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ClosureObject` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[*mut UpvalueObject]` [INFO] [stdout] --> src/vm/mod.rs:681:32 [INFO] [stdout] | [INFO] [stdout] 681 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/377656d3dd3f9c23a9c8713e163f4365a5261a84/library/core/src/slice/mod.rs:638:4 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 681 | let object = *unsafe { (&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:701:27 [INFO] [stdout] | [INFO] [stdout] 701 | unsafe { *(*self.frame.closure).upvalues.get_unchecked(upvalue_idx) } [INFO] [stdout] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ClosureObject` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[*mut UpvalueObject]` [INFO] [stdout] --> src/vm/mod.rs:701:27 [INFO] [stdout] | [INFO] [stdout] 701 | unsafe { *(*self.frame.closure).upvalues.get_unchecked(upvalue_idx) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/377656d3dd3f9c23a9c8713e163f4365a5261a84/library/core/src/slice/mod.rs:638:4 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 701 | unsafe { *(&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:807:38 [INFO] [stdout] | [INFO] [stdout] 807 | let value = unsafe { (*array).values.get_unchecked(index.as_number() as usize) }; [INFO] [stdout] | ^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ArrayObject` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[value::Value]` [INFO] [stdout] --> src/vm/mod.rs:807:38 [INFO] [stdout] | [INFO] [stdout] 807 | let value = unsafe { (*array).values.get_unchecked(index.as_number() as usize) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/377656d3dd3f9c23a9c8713e163f4365a5261a84/library/core/src/slice/mod.rs:638:4 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 807 | let value = unsafe { (&(*array).values).get_unchecked(index.as_number() as usize) }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:1144:19 [INFO] [stdout] | [INFO] [stdout] 1144 | *unsafe { (*function).chunk.constants.get_unchecked(constant_idx) } [INFO] [stdout] | ^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectFunction` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[value::Value]` [INFO] [stdout] --> src/vm/mod.rs:1144:19 [INFO] [stdout] | [INFO] [stdout] 1144 | *unsafe { (*function).chunk.constants.get_unchecked(constant_idx) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/377656d3dd3f9c23a9c8713e163f4365a5261a84/library/core/src/slice/mod.rs:638:4 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1144 | *unsafe { (&(*function).chunk.constants).get_unchecked(constant_idx) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:1293:29 [INFO] [stdout] | [INFO] [stdout] 1293 | let span = unsafe { (*function).chunk.spans[idx - 1].clone() }; [INFO] [stdout] | ^^--------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectFunction` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecRun>` [INFO] [stdout] --> src/vm/mod.rs:1293:29 [INFO] [stdout] | [INFO] [stdout] 1293 | let span = unsafe { (*function).chunk.spans[idx - 1].clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1293 | let span = unsafe { (&(*function).chunk.spans)[idx - 1].clone() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm/chunk.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn drain(&mut self, range: std::ops::RangeInclusive) -> std::vec::Drain> { [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] 189 | pub fn drain(&mut self, range: std::ops::RangeInclusive) -> std::vec::Drain<'_, Run> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/compiler.rs:1685:17 [INFO] [stdout] | [INFO] [stdout] 1685 | (*self.current_compiler.function).chunk.op_codes[offset_idx], [INFO] [stdout] | ^^------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectFunction` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec` [INFO] [stdout] --> src/vm/compiler.rs:1685:17 [INFO] [stdout] | [INFO] [stdout] 1685 | (*self.current_compiler.function).chunk.op_codes[offset_idx], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1685 | (&mut (*self.current_compiler.function).chunk.op_codes)[offset_idx], [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/compiler.rs:1686:17 [INFO] [stdout] | [INFO] [stdout] 1686 | (*self.current_compiler.function).chunk.op_codes[offset_idx + 1], [INFO] [stdout] | ^^------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectFunction` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec` [INFO] [stdout] --> src/vm/compiler.rs:1686:17 [INFO] [stdout] | [INFO] [stdout] 1686 | (*self.current_compiler.function).chunk.op_codes[offset_idx + 1], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1686 | (&mut (*self.current_compiler.function).chunk.op_codes)[offset_idx + 1], [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/vm/compiler.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct StructMethod { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 190 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl/mod.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | fn render_prompt_left(&self) -> Cow { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn render_prompt_left(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl/mod.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | fn render_prompt_right(&self) -> Cow { [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] 101 | fn render_prompt_right(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl/mod.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | fn render_prompt_indicator(&self, _: PromptEditMode) -> Cow { [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] 105 | fn render_prompt_indicator(&self, _: PromptEditMode) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl/mod.rs:109:42 [INFO] [stdout] | [INFO] [stdout] 109 | fn render_prompt_multiline_indicator(&self) -> Cow { [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] 109 | fn render_prompt_multiline_indicator(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl/mod.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | fn render_prompt_history_search_indicator(&self, _: PromptHistorySearch) -> Cow { [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] 113 | fn render_prompt_history_search_indicator(&self, _: PromptHistorySearch) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm/mod.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn new(allocator: &mut CeAllocationGc, trace: bool, optimized_debug: bool) -> VM { [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] 69 | pub fn new(allocator: &mut CeAllocationGc, trace: bool, optimized_debug: bool) -> VM<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:311:46 [INFO] [stdout] | [INFO] [stdout] 311 | let arr_value = unsafe { (*array).values.get_unchecked_mut(index) }; [INFO] [stdout] | ^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ArrayObject` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut [value::Value]` [INFO] [stdout] --> src/vm/mod.rs:311:46 [INFO] [stdout] | [INFO] [stdout] 311 | let arr_value = unsafe { (*array).values.get_unchecked_mut(index) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked_mut` require a reference [INFO] [stdout] --> /rustc/377656d3dd3f9c23a9c8713e163f4365a5261a84/library/core/src/slice/mod.rs:683:4 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 311 | let arr_value = unsafe { (&mut (*array).values).get_unchecked_mut(index) }; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:355:42 [INFO] [stdout] | [INFO] [stdout] 355 | let value = unsafe { (*array).values.get_unchecked(index) }; [INFO] [stdout] | ^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ArrayObject` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[value::Value]` [INFO] [stdout] --> src/vm/mod.rs:355:42 [INFO] [stdout] | [INFO] [stdout] 355 | let value = unsafe { (*array).values.get_unchecked(index) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/377656d3dd3f9c23a9c8713e163f4365a5261a84/library/core/src/slice/mod.rs:638:4 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 355 | let value = unsafe { (&(*array).values).get_unchecked(index) }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:673:32 [INFO] [stdout] | [INFO] [stdout] 673 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stdout] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ClosureObject` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[*mut UpvalueObject]` [INFO] [stdout] --> src/vm/mod.rs:673:32 [INFO] [stdout] | [INFO] [stdout] 673 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/377656d3dd3f9c23a9c8713e163f4365a5261a84/library/core/src/slice/mod.rs:638:4 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 673 | let object = *unsafe { (&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:681:32 [INFO] [stdout] | [INFO] [stdout] 681 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stdout] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ClosureObject` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[*mut UpvalueObject]` [INFO] [stdout] --> src/vm/mod.rs:681:32 [INFO] [stdout] | [INFO] [stdout] 681 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/377656d3dd3f9c23a9c8713e163f4365a5261a84/library/core/src/slice/mod.rs:638:4 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 681 | let object = *unsafe { (&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:701:27 [INFO] [stdout] | [INFO] [stdout] 701 | unsafe { *(*self.frame.closure).upvalues.get_unchecked(upvalue_idx) } [INFO] [stdout] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ClosureObject` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[*mut UpvalueObject]` [INFO] [stdout] --> src/vm/mod.rs:701:27 [INFO] [stdout] | [INFO] [stdout] 701 | unsafe { *(*self.frame.closure).upvalues.get_unchecked(upvalue_idx) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/377656d3dd3f9c23a9c8713e163f4365a5261a84/library/core/src/slice/mod.rs:638:4 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 701 | unsafe { *(&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:807:38 [INFO] [stdout] | [INFO] [stdout] 807 | let value = unsafe { (*array).values.get_unchecked(index.as_number() as usize) }; [INFO] [stdout] | ^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ArrayObject` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[value::Value]` [INFO] [stdout] --> src/vm/mod.rs:807:38 [INFO] [stdout] | [INFO] [stdout] 807 | let value = unsafe { (*array).values.get_unchecked(index.as_number() as usize) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/377656d3dd3f9c23a9c8713e163f4365a5261a84/library/core/src/slice/mod.rs:638:4 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 807 | let value = unsafe { (&(*array).values).get_unchecked(index.as_number() as usize) }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:1144:19 [INFO] [stdout] | [INFO] [stdout] 1144 | *unsafe { (*function).chunk.constants.get_unchecked(constant_idx) } [INFO] [stdout] | ^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectFunction` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[value::Value]` [INFO] [stdout] --> src/vm/mod.rs:1144:19 [INFO] [stdout] | [INFO] [stdout] 1144 | *unsafe { (*function).chunk.constants.get_unchecked(constant_idx) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/377656d3dd3f9c23a9c8713e163f4365a5261a84/library/core/src/slice/mod.rs:638:4 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1144 | *unsafe { (&(*function).chunk.constants).get_unchecked(constant_idx) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:1293:29 [INFO] [stdout] | [INFO] [stdout] 1293 | let span = unsafe { (*function).chunk.spans[idx - 1].clone() }; [INFO] [stdout] | ^^--------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectFunction` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecRun>` [INFO] [stdout] --> src/vm/mod.rs:1293:29 [INFO] [stdout] | [INFO] [stdout] 1293 | let span = unsafe { (*function).chunk.spans[idx - 1].clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1293 | let span = unsafe { (&(*function).chunk.spans)[idx - 1].clone() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm/chunk.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn drain(&mut self, range: std::ops::RangeInclusive) -> std::vec::Drain> { [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] 189 | pub fn drain(&mut self, range: std::ops::RangeInclusive) -> std::vec::Drain<'_, Run> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/compiler.rs:1685:17 [INFO] [stdout] | [INFO] [stdout] 1685 | (*self.current_compiler.function).chunk.op_codes[offset_idx], [INFO] [stdout] | ^^------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectFunction` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec` [INFO] [stdout] --> src/vm/compiler.rs:1685:17 [INFO] [stdout] | [INFO] [stdout] 1685 | (*self.current_compiler.function).chunk.op_codes[offset_idx], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1685 | (&mut (*self.current_compiler.function).chunk.op_codes)[offset_idx], [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/compiler.rs:1686:17 [INFO] [stdout] | [INFO] [stdout] 1686 | (*self.current_compiler.function).chunk.op_codes[offset_idx + 1], [INFO] [stdout] | ^^------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectFunction` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec` [INFO] [stdout] --> src/vm/compiler.rs:1686:17 [INFO] [stdout] | [INFO] [stdout] 1686 | (*self.current_compiler.function).chunk.op_codes[offset_idx + 1], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1686 | (&mut (*self.current_compiler.function).chunk.op_codes)[offset_idx + 1], [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Cecile` (lib test) due to 10 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6fc3688e7f620faba3b733d42670d4b376953930f87facebe25ec3b46ac6d972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc3688e7f620faba3b733d42670d4b376953930f87facebe25ec3b46ac6d972", kill_on_drop: false }` [INFO] [stdout] 6fc3688e7f620faba3b733d42670d4b376953930f87facebe25ec3b46ac6d972