[INFO] fetching crate Cecile 0.1.7... [INFO] testing Cecile-0.1.7 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate Cecile 0.1.7 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate Cecile 0.1.7 [INFO] finished tweaking crates.io crate Cecile 0.1.7 [INFO] tweaked toml for crates.io crate Cecile 0.1.7 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate Cecile 0.1.7 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate Cecile 0.1.7 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tree-sitter-highlight v0.20.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.49 [INFO] [stderr] Downloaded logos-derive v0.13.0 [INFO] [stderr] Downloaded iota v0.2.3 [INFO] [stderr] Downloaded mimalloc v0.1.39 [INFO] [stderr] Downloaded reedline v0.26.0 [INFO] [stderr] Downloaded lalrpop-util v0.20.0 [INFO] [stderr] Downloaded ena v0.14.2 [INFO] [stderr] Downloaded ahash v0.8.5 [INFO] [stderr] Downloaded zerocopy v0.7.3 [INFO] [stderr] Downloaded cpp_demangle v0.4.3 [INFO] [stderr] Downloaded inferno v0.11.19 [INFO] [stderr] Downloaded memchr v2.6.0 [INFO] [stderr] Downloaded tree-sitter v0.20.10 [INFO] [stderr] Downloaded pprof v0.13.0 [INFO] [stderr] Downloaded test-generator v0.3.1 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.35 [INFO] [stderr] Downloaded symbolic-demangle v12.8.0 [INFO] [stderr] Downloaded lalrpop v0.20.0 [INFO] [stderr] Downloaded syn v2.0.32 [INFO] [stderr] Downloaded logos-codegen v0.13.0 [INFO] [stderr] Downloaded nu-ansi-term v0.47.0 [INFO] [stderr] Downloaded memmap2 v0.9.0 [INFO] [stderr] Downloaded logos v0.13.0 [INFO] [stderr] Downloaded symbolic-common v12.8.0 [INFO] [stderr] Downloaded thiserror v1.0.49 [INFO] [stderr] Downloaded zerocopy-derive v0.7.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c0531b181501fec9f4803213fc5c21469435db04bf4d7b907a88acdbc61dc26 [INFO] running `Command { std: "docker" "start" "-a" "7c0531b181501fec9f4803213fc5c21469435db04bf4d7b907a88acdbc61dc26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c0531b181501fec9f4803213fc5c21469435db04bf4d7b907a88acdbc61dc26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c0531b181501fec9f4803213fc5c21469435db04bf4d7b907a88acdbc61dc26", kill_on_drop: false }` [INFO] [stdout] 7c0531b181501fec9f4803213fc5c21469435db04bf4d7b907a88acdbc61dc26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 056ecc670f542f5576af06dd98e906acb438c48922f7d5125712dffae985171d [INFO] running `Command { std: "docker" "start" "-a" "056ecc670f542f5576af06dd98e906acb438c48922f7d5125712dffae985171d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling memchr v2.6.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling vte v0.11.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling clap_builder v4.4.9 [INFO] [stderr] Compiling strip-ansi-escapes v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling libmimalloc-sys v0.1.35 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling nu-ansi-term v0.49.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling nu-ansi-term v0.47.0 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling iota v0.2.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling lalrpop-util v0.20.0 [INFO] [stderr] Compiling lalrpop v0.20.0 [INFO] [stderr] Compiling mimalloc v0.1.39 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Compiling logos v0.13.0 [INFO] [stderr] Compiling tree-sitter-highlight v0.20.1 [INFO] [stderr] Compiling clap v4.4.10 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling fd-lock v3.0.13 [INFO] [stderr] Compiling reedline v0.26.0 [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)]` 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: value assigned to `super_methods` is never read [INFO] [stdout] --> src/vm/compiler.rs:395:17 [INFO] [stdout] | [INFO] [stdout] 395 | let mut super_methods = [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_struct` [INFO] [stdout] --> src/vm/compiler.rs:446:17 [INFO] [stdout] | [INFO] [stdout] 446 | let current_struct = self.get_current_struct_mut(&range)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_struct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/vm/compiler.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct StructMethod { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 189 | 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/repl/mod.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | fn render_prompt_left(&self) -> Cow { [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] 97 | fn render_prompt_left(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/repl/mod.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | fn render_prompt_right(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 101 | fn render_prompt_right(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/repl/mod.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | fn render_prompt_indicator(&self, _: PromptEditMode) -> Cow { [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 | fn render_prompt_indicator(&self, _: PromptEditMode) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/repl/mod.rs:109:42 [INFO] [stdout] | [INFO] [stdout] 109 | fn render_prompt_multiline_indicator(&self) -> Cow { [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] 109 | fn render_prompt_multiline_indicator(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 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] 113 | fn render_prompt_history_search_indicator(&self, _: PromptHistorySearch) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm/mod.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn new(allocator: &mut CeAllocation, trace: bool, optimized_debug: bool) -> VM { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this lifetime flows to the output -- the lifetime gets resolved as `'_` [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] 69 | pub fn new(allocator: &mut CeAllocation, 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:309:46 [INFO] [stdout] | [INFO] [stdout] 309 | 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:309:46 [INFO] [stdout] | [INFO] [stdout] 309 | 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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/slice/mod.rs:680:5 [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] 309 | 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:353:42 [INFO] [stdout] | [INFO] [stdout] 353 | 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:353:42 [INFO] [stdout] | [INFO] [stdout] 353 | let value = unsafe { (*array).values.get_unchecked(index) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/slice/mod.rs:636:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 353 | 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:651:32 [INFO] [stdout] | [INFO] [stdout] 651 | 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:651:32 [INFO] [stdout] | [INFO] [stdout] 651 | 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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/slice/mod.rs:636:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 651 | 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:659:32 [INFO] [stdout] | [INFO] [stdout] 659 | 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:659:32 [INFO] [stdout] | [INFO] [stdout] 659 | 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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/slice/mod.rs:636:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 659 | 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:679:27 [INFO] [stdout] | [INFO] [stdout] 679 | 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:679:27 [INFO] [stdout] | [INFO] [stdout] 679 | 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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/slice/mod.rs:636:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 679 | 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:785:38 [INFO] [stdout] | [INFO] [stdout] 785 | 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:785:38 [INFO] [stdout] | [INFO] [stdout] 785 | 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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/slice/mod.rs:636:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 785 | 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:1122:19 [INFO] [stdout] | [INFO] [stdout] 1122 | *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:1122:19 [INFO] [stdout] | [INFO] [stdout] 1122 | *unsafe { (*function).chunk.constants.get_unchecked(constant_idx) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/slice/mod.rs:636:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1122 | *unsafe { (&(*function).chunk.constants).get_unchecked(constant_idx) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Cecile` (lib) due to 10 previous errors; 16 warnings emitted [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:1271:29 [INFO] [stdout] | [INFO] [stdout] 1271 | 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:1271:29 [INFO] [stdout] | [INFO] [stdout] 1271 | 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] 1271 | let span = unsafe { (&(*function).chunk.spans)[idx - 1].clone() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output ----------------------- the lifetime gets resolved as `'_` [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] 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:1701:17 [INFO] [stdout] | [INFO] [stdout] 1701 | (*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:1701:17 [INFO] [stdout] | [INFO] [stdout] 1701 | (*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] 1701 | (&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:1702:17 [INFO] [stdout] | [INFO] [stdout] 1702 | (*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:1702:17 [INFO] [stdout] | [INFO] [stdout] 1702 | (*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] 1702 | (&mut (*self.current_compiler.function).chunk.op_codes)[offset_idx + 1], [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "056ecc670f542f5576af06dd98e906acb438c48922f7d5125712dffae985171d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "056ecc670f542f5576af06dd98e906acb438c48922f7d5125712dffae985171d", kill_on_drop: false }` [INFO] [stdout] 056ecc670f542f5576af06dd98e906acb438c48922f7d5125712dffae985171d