[INFO] fetching crate loxcraft 0.1.1... [INFO] testing loxcraft-0.1.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate loxcraft 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate loxcraft 0.1.1 [INFO] finished tweaking crates.io crate loxcraft 0.1.1 [INFO] tweaked toml for crates.io crate loxcraft 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate loxcraft 0.1.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate loxcraft 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tower-lsp-macros v0.8.0 [INFO] [stderr] Downloaded tree-sitter-lox v0.1.0 [INFO] [stderr] Downloaded pin-project-internal v1.0.12 [INFO] [stderr] Downloaded tree-sitter-highlight v0.20.1 [INFO] [stderr] Downloaded pin-project v1.0.12 [INFO] [stderr] Downloaded dirs-sys v0.4.0 [INFO] [stderr] Downloaded beef v0.5.2 [INFO] [stderr] Downloaded fd-lock v3.0.12 [INFO] [stderr] Downloaded anstyle-wincon v1.0.0 [INFO] [stderr] Downloaded clap v4.2.4 [INFO] [stderr] Downloaded uuid v1.3.1 [INFO] [stderr] Downloaded serde_derive v1.0.160 [INFO] [stderr] Downloaded cpp_demangle v0.4.1 [INFO] [stderr] Downloaded inferno v0.11.15 [INFO] [stderr] Downloaded reedline v0.18.0 [INFO] [stderr] Downloaded clap_builder v4.2.4 [INFO] [stderr] Downloaded pretty_assertions v1.3.0 [INFO] [stderr] Downloaded syn v2.0.15 [INFO] [stderr] Downloaded tree-sitter v0.20.10 [INFO] [stderr] Downloaded lsp-types v0.94.0 [INFO] [stderr] Downloaded bumpalo v3.12.1 [INFO] [stderr] Downloaded redox_users v0.4.3 [INFO] [stderr] Downloaded lalrpop v0.19.9 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded nu-ansi-term v0.47.0 [INFO] [stderr] Downloaded test-generator v0.3.1 [INFO] [stderr] Downloaded rustix v0.37.14 [INFO] [stderr] Downloaded auto_impl v1.0.1 [INFO] [stderr] Downloaded tower-lsp v0.19.0 [INFO] [stderr] Downloaded anstream v0.3.0 [INFO] [stderr] Downloaded dirs v5.0.0 [INFO] [stderr] Downloaded string_cache v0.8.7 [INFO] [stderr] Downloaded lalrpop-util v0.19.9 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded arrayvec v0.7.2 [INFO] [stderr] Downloaded rgb v0.8.36 [INFO] [stderr] Downloaded strum_macros v0.24.3 [INFO] [stderr] Downloaded iota v0.2.3 [INFO] [stderr] Downloaded ascii-canvas v3.0.0 [INFO] [stderr] Downloaded ena v0.14.2 [INFO] [stderr] Downloaded siphasher v0.3.10 [INFO] [stderr] Downloaded mimalloc v0.1.36 [INFO] [stderr] Downloaded vte_generate_state_changes v0.1.1 [INFO] [stderr] Downloaded strum v0.24.1 [INFO] [stderr] Downloaded libc v0.2.142 [INFO] [stderr] Downloaded linux-raw-sys v0.3.4 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 854f620cd51d5b471f8e8ccb1b0e6785b6b03369cd8a0095c61e34d8d0415da6 [INFO] running `Command { std: "docker" "start" "-a" "854f620cd51d5b471f8e8ccb1b0e6785b6b03369cd8a0095c61e34d8d0415da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "854f620cd51d5b471f8e8ccb1b0e6785b6b03369cd8a0095c61e34d8d0415da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "854f620cd51d5b471f8e8ccb1b0e6785b6b03369cd8a0095c61e34d8d0415da6", kill_on_drop: false }` [INFO] [stdout] 854f620cd51d5b471f8e8ccb1b0e6785b6b03369cd8a0095c61e34d8d0415da6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e8745e7626a084d9c99f3b782eb2d656ffb6970359746bf7f2b3cf635ecc54f [INFO] running `Command { std: "docker" "start" "-a" "6e8745e7626a084d9c99f3b782eb2d656ffb6970359746bf7f2b3cf635ecc54f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling serde_derive v1.0.160 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Compiling rustix v0.37.14 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling tokio v1.27.0 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling libmimalloc-sys v0.1.32 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling lalrpop-util v0.19.9 [INFO] [stderr] Compiling build-deps v0.1.4 [INFO] [stderr] Compiling tree-sitter-lox v0.1.0 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling vte v0.10.1 [INFO] [stderr] Compiling clap_lex v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.70 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Compiling iana-time-zone v0.1.56 [INFO] [stderr] Compiling nu-ansi-term v0.47.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling strip-ansi-escapes v0.1.1 [INFO] [stderr] Compiling dashmap v5.4.0 [INFO] [stderr] Compiling dirs-sys v0.4.0 [INFO] [stderr] Compiling mimalloc v0.1.36 [INFO] [stderr] Compiling iota v0.2.3 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling dirs v5.0.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling lalrpop v0.19.9 [INFO] [stderr] Compiling fd-lock v3.0.12 [INFO] [stderr] Compiling anstream v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling serde_repr v0.1.12 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Compiling clap_builder v4.2.4 [INFO] [stderr] Compiling tree-sitter-highlight v0.20.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling auto_impl v1.0.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling tower-lsp-macros v0.8.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tokio-util v0.7.7 [INFO] [stderr] Compiling clap v4.2.4 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling crossterm v0.24.0 [INFO] [stderr] Compiling reedline v0.18.0 [INFO] [stderr] Compiling lsp-types v0.94.0 [INFO] [stderr] Compiling loxcraft v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tower-lsp v0.19.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl.rs:185:27 [INFO] [stdout] | [INFO] [stdout] 185 | 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] 185 | 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.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | 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] 189 | 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.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | 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] 193 | 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.rs:197:42 [INFO] [stdout] | [INFO] [stdout] 197 | 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] 197 | 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.rs:201:47 [INFO] [stdout] | [INFO] [stdout] 201 | 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] 201 | fn render_prompt_history_search_indicator(&self, _: PromptHistorySearch) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:263:32 [INFO] [stdout] | [INFO] [stdout] 263 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stdout] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectClosure` [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 ObjectUpvalue]` [INFO] [stdout] --> src/vm/mod.rs:263:32 [INFO] [stdout] | [INFO] [stdout] 263 | 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/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:637:5 [INFO] [stdout] = note: `#[warn(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] 263 | let object = *unsafe { (&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:271:32 [INFO] [stdout] | [INFO] [stdout] 271 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stdout] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectClosure` [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 ObjectUpvalue]` [INFO] [stdout] --> src/vm/mod.rs:271:32 [INFO] [stdout] | [INFO] [stdout] 271 | 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/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:637:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 271 | let object = *unsafe { (&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:519:27 [INFO] [stdout] | [INFO] [stdout] 519 | unsafe { *(*self.frame.closure).upvalues.get_unchecked(upvalue_idx) } [INFO] [stdout] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectClosure` [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 ObjectUpvalue]` [INFO] [stdout] --> src/vm/mod.rs:519:27 [INFO] [stdout] | [INFO] [stdout] 519 | 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/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:637:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 519 | unsafe { *(&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:742:19 [INFO] [stdout] | [INFO] [stdout] 742 | *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:742:19 [INFO] [stdout] | [INFO] [stdout] 742 | *unsafe { (*function).chunk.constants.get_unchecked(constant_idx) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:637:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 742 | *unsafe { (&(*function).chunk.constants).get_unchecked(constant_idx) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:791:29 [INFO] [stdout] | [INFO] [stdout] 791 | 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:791:29 [INFO] [stdout] | [INFO] [stdout] 791 | 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] 791 | let span = unsafe { (&(*function).chunk.spans)[idx - 1].clone() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/compiler.rs:597:17 [INFO] [stdout] | [INFO] [stdout] 597 | (*self.ctx.function).chunk.ops[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:597:17 [INFO] [stdout] | [INFO] [stdout] 597 | (*self.ctx.function).chunk.ops[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] 597 | (&mut (*self.ctx.function).chunk.ops)[offset_idx], [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/compiler.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | (*self.ctx.function).chunk.ops[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:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | (*self.ctx.function).chunk.ops[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] 598 | (&mut (*self.ctx.function).chunk.ops)[offset_idx + 1], [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/gc.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe { Box::from_raw(string) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | unsafe { let _ = Box::from_raw(string); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/gc.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { Box::from_raw(string) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { let _ = Box::from_raw(string); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe { Box::from_raw(self.bound_method) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | unsafe { let _ = Box::from_raw(self.bound_method); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { Box::from_raw(self.class) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { let _ = Box::from_raw(self.class); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { Box::from_raw(self.closure) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { let _ = Box::from_raw(self.closure); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { Box::from_raw(self.function) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { let _ = Box::from_raw(self.function); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { Box::from_raw(self.instance) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { let _ = Box::from_raw(self.instance); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { Box::from_raw(self.native) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { let _ = Box::from_raw(self.native); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe { Box::from_raw(self.string) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | unsafe { let _ = Box::from_raw(self.string); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { Box::from_raw(self.upvalue) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { let _ = Box::from_raw(self.upvalue); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "6e8745e7626a084d9c99f3b782eb2d656ffb6970359746bf7f2b3cf635ecc54f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e8745e7626a084d9c99f3b782eb2d656ffb6970359746bf7f2b3cf635ecc54f", kill_on_drop: false }` [INFO] [stdout] 6e8745e7626a084d9c99f3b782eb2d656ffb6970359746bf7f2b3cf635ecc54f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af6411f01710d7b411e44ed124f6b21b4af11bc6987bb6b7146033a233be507c [INFO] running `Command { std: "docker" "start" "-a" "af6411f01710d7b411e44ed124f6b21b4af11bc6987bb6b7146033a233be507c", kill_on_drop: false }` [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling lalrpop v0.19.9 [INFO] [stderr] Compiling pretty_assertions v1.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling test-generator v0.3.1 [INFO] [stderr] Compiling loxcraft v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl.rs:185:27 [INFO] [stdout] | [INFO] [stdout] 185 | 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] 185 | 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.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | 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] 189 | 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.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | 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] 193 | 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.rs:197:42 [INFO] [stdout] | [INFO] [stdout] 197 | 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] 197 | 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.rs:201:47 [INFO] [stdout] | [INFO] [stdout] 201 | 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] 201 | fn render_prompt_history_search_indicator(&self, _: PromptHistorySearch) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:263:32 [INFO] [stdout] | [INFO] [stdout] 263 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stdout] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectClosure` [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 ObjectUpvalue]` [INFO] [stdout] --> src/vm/mod.rs:263:32 [INFO] [stdout] | [INFO] [stdout] 263 | 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/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:637:5 [INFO] [stdout] = note: `#[warn(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] 263 | let object = *unsafe { (&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:271:32 [INFO] [stdout] | [INFO] [stdout] 271 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stdout] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectClosure` [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 ObjectUpvalue]` [INFO] [stdout] --> src/vm/mod.rs:271:32 [INFO] [stdout] | [INFO] [stdout] 271 | 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/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:637:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 271 | let object = *unsafe { (&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:519:27 [INFO] [stdout] | [INFO] [stdout] 519 | unsafe { *(*self.frame.closure).upvalues.get_unchecked(upvalue_idx) } [INFO] [stdout] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectClosure` [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 ObjectUpvalue]` [INFO] [stdout] --> src/vm/mod.rs:519:27 [INFO] [stdout] | [INFO] [stdout] 519 | 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/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:637:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 519 | unsafe { *(&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:742:19 [INFO] [stdout] | [INFO] [stdout] 742 | *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:742:19 [INFO] [stdout] | [INFO] [stdout] 742 | *unsafe { (*function).chunk.constants.get_unchecked(constant_idx) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:637:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 742 | *unsafe { (&(*function).chunk.constants).get_unchecked(constant_idx) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:791:29 [INFO] [stdout] | [INFO] [stdout] 791 | 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:791:29 [INFO] [stdout] | [INFO] [stdout] 791 | 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] 791 | let span = unsafe { (&(*function).chunk.spans)[idx - 1].clone() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/compiler.rs:597:17 [INFO] [stdout] | [INFO] [stdout] 597 | (*self.ctx.function).chunk.ops[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:597:17 [INFO] [stdout] | [INFO] [stdout] 597 | (*self.ctx.function).chunk.ops[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] 597 | (&mut (*self.ctx.function).chunk.ops)[offset_idx], [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/compiler.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | (*self.ctx.function).chunk.ops[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:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | (*self.ctx.function).chunk.ops[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] 598 | (&mut (*self.ctx.function).chunk.ops)[offset_idx + 1], [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/gc.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe { Box::from_raw(string) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | unsafe { let _ = Box::from_raw(string); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/gc.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { Box::from_raw(string) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { let _ = Box::from_raw(string); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe { Box::from_raw(self.bound_method) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | unsafe { let _ = Box::from_raw(self.bound_method); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { Box::from_raw(self.class) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { let _ = Box::from_raw(self.class); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { Box::from_raw(self.closure) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { let _ = Box::from_raw(self.closure); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { Box::from_raw(self.function) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { let _ = Box::from_raw(self.function); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { Box::from_raw(self.instance) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { let _ = Box::from_raw(self.instance); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { Box::from_raw(self.native) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { let _ = Box::from_raw(self.native); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe { Box::from_raw(self.string) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | unsafe { let _ = Box::from_raw(self.string); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { Box::from_raw(self.upvalue) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { let _ = Box::from_raw(self.upvalue); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repl.rs:185:27 [INFO] [stdout] | [INFO] [stdout] 185 | 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] 185 | 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.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | 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] 189 | 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.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | 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] 193 | 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.rs:197:42 [INFO] [stdout] | [INFO] [stdout] 197 | 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] 197 | 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.rs:201:47 [INFO] [stdout] | [INFO] [stdout] 201 | 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] 201 | fn render_prompt_history_search_indicator(&self, _: PromptHistorySearch) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:263:32 [INFO] [stdout] | [INFO] [stdout] 263 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stdout] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectClosure` [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 ObjectUpvalue]` [INFO] [stdout] --> src/vm/mod.rs:263:32 [INFO] [stdout] | [INFO] [stdout] 263 | 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/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:637:5 [INFO] [stdout] = note: `#[warn(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] 263 | let object = *unsafe { (&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:271:32 [INFO] [stdout] | [INFO] [stdout] 271 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stdout] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectClosure` [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 ObjectUpvalue]` [INFO] [stdout] --> src/vm/mod.rs:271:32 [INFO] [stdout] | [INFO] [stdout] 271 | 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/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:637:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 271 | let object = *unsafe { (&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:519:27 [INFO] [stdout] | [INFO] [stdout] 519 | unsafe { *(*self.frame.closure).upvalues.get_unchecked(upvalue_idx) } [INFO] [stdout] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut ObjectClosure` [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 ObjectUpvalue]` [INFO] [stdout] --> src/vm/mod.rs:519:27 [INFO] [stdout] | [INFO] [stdout] 519 | 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/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:637:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 519 | unsafe { *(&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:742:19 [INFO] [stdout] | [INFO] [stdout] 742 | *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:742:19 [INFO] [stdout] | [INFO] [stdout] 742 | *unsafe { (*function).chunk.constants.get_unchecked(constant_idx) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked` require a reference [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:637:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 742 | *unsafe { (&(*function).chunk.constants).get_unchecked(constant_idx) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/mod.rs:791:29 [INFO] [stdout] | [INFO] [stdout] 791 | 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:791:29 [INFO] [stdout] | [INFO] [stdout] 791 | 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] 791 | let span = unsafe { (&(*function).chunk.spans)[idx - 1].clone() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/compiler.rs:597:17 [INFO] [stdout] | [INFO] [stdout] 597 | (*self.ctx.function).chunk.ops[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:597:17 [INFO] [stdout] | [INFO] [stdout] 597 | (*self.ctx.function).chunk.ops[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] 597 | (&mut (*self.ctx.function).chunk.ops)[offset_idx], [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm/compiler.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | (*self.ctx.function).chunk.ops[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:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | (*self.ctx.function).chunk.ops[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] 598 | (&mut (*self.ctx.function).chunk.ops)[offset_idx + 1], [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/gc.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe { Box::from_raw(string) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | unsafe { let _ = Box::from_raw(string); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/gc.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { Box::from_raw(string) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { let _ = Box::from_raw(string); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe { Box::from_raw(self.bound_method) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | unsafe { let _ = Box::from_raw(self.bound_method); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { Box::from_raw(self.class) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { let _ = Box::from_raw(self.class); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { Box::from_raw(self.closure) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { let _ = Box::from_raw(self.closure); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { Box::from_raw(self.function) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { let _ = Box::from_raw(self.function); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { Box::from_raw(self.instance) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { let _ = Box::from_raw(self.instance); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { Box::from_raw(self.native) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { let _ = Box::from_raw(self.native); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe { Box::from_raw(self.string) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | unsafe { let _ = Box::from_raw(self.string); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/object.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { Box::from_raw(self.upvalue) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { let _ = Box::from_raw(self.upvalue); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.65s [INFO] running `Command { std: "docker" "inspect" "af6411f01710d7b411e44ed124f6b21b4af11bc6987bb6b7146033a233be507c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af6411f01710d7b411e44ed124f6b21b4af11bc6987bb6b7146033a233be507c", kill_on_drop: false }` [INFO] [stdout] af6411f01710d7b411e44ed124f6b21b4af11bc6987bb6b7146033a233be507c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 621f92edffdcd047d25a32f0b659086f0aa7624b254928bb92a165f2f49d0601 [INFO] running `Command { std: "docker" "start" "-a" "621f92edffdcd047d25a32f0b659086f0aa7624b254928bb92a165f2f49d0601", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repl.rs:185:27 [INFO] [stderr] | [INFO] [stderr] 185 | fn render_prompt_left(&self) -> Cow { [INFO] [stderr] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 185 | fn render_prompt_left(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repl.rs:189:28 [INFO] [stderr] | [INFO] [stderr] 189 | fn render_prompt_right(&self) -> Cow { [INFO] [stderr] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 189 | fn render_prompt_right(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repl.rs:193:32 [INFO] [stderr] | [INFO] [stderr] 193 | fn render_prompt_indicator(&self, _: PromptEditMode) -> Cow { [INFO] [stderr] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 193 | fn render_prompt_indicator(&self, _: PromptEditMode) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repl.rs:197:42 [INFO] [stderr] | [INFO] [stderr] 197 | fn render_prompt_multiline_indicator(&self) -> Cow { [INFO] [stderr] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 197 | fn render_prompt_multiline_indicator(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repl.rs:201:47 [INFO] [stderr] | [INFO] [stderr] 201 | fn render_prompt_history_search_indicator(&self, _: PromptHistorySearch) -> Cow { [INFO] [stderr] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 201 | fn render_prompt_history_search_indicator(&self, _: PromptHistorySearch) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/vm/mod.rs:263:32 [INFO] [stderr] | [INFO] [stderr] 263 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stderr] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut ObjectClosure` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&[*mut ObjectUpvalue]` [INFO] [stderr] --> src/vm/mod.rs:263:32 [INFO] [stderr] | [INFO] [stderr] 263 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: method calls to `get_unchecked` require a reference [INFO] [stderr] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:637:5 [INFO] [stderr] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 263 | let object = *unsafe { (&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) }; [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/vm/mod.rs:271:32 [INFO] [stderr] | [INFO] [stderr] 271 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stderr] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut ObjectClosure` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&[*mut ObjectUpvalue]` [INFO] [stderr] --> src/vm/mod.rs:271:32 [INFO] [stderr] | [INFO] [stderr] 271 | let object = *unsafe { (*self.frame.closure).upvalues.get_unchecked(upvalue_idx) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: method calls to `get_unchecked` require a reference [INFO] [stderr] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:637:5 [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 271 | let object = *unsafe { (&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) }; [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/vm/mod.rs:519:27 [INFO] [stderr] | [INFO] [stderr] 519 | unsafe { *(*self.frame.closure).upvalues.get_unchecked(upvalue_idx) } [INFO] [stderr] | ^^------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut ObjectClosure` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&[*mut ObjectUpvalue]` [INFO] [stderr] --> src/vm/mod.rs:519:27 [INFO] [stderr] | [INFO] [stderr] 519 | unsafe { *(*self.frame.closure).upvalues.get_unchecked(upvalue_idx) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: method calls to `get_unchecked` require a reference [INFO] [stderr] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:637:5 [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 519 | unsafe { *(&(*self.frame.closure).upvalues).get_unchecked(upvalue_idx) } [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/vm/mod.rs:742:19 [INFO] [stderr] | [INFO] [stderr] 742 | *unsafe { (*function).chunk.constants.get_unchecked(constant_idx) } [INFO] [stdout] [INFO] [stderr] | ^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] running 9 tests [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut ObjectFunction` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&[value::Value]` [INFO] [stderr] --> src/vm/mod.rs:742:19 [INFO] [stderr] | [INFO] [stderr] 742 | *unsafe { (*function).chunk.constants.get_unchecked(constant_idx) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: method calls to `get_unchecked` require a reference [INFO] [stderr] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:637:5 [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 742 | *unsafe { (&(*function).chunk.constants).get_unchecked(constant_idx) } [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/vm/mod.rs:791:29 [INFO] [stderr] | [INFO] [stderr] 791 | let span = unsafe { (*function).chunk.spans[idx - 1].clone() }; [INFO] [stderr] | ^^--------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut ObjectFunction` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&VecRun>` [INFO] [stderr] --> src/vm/mod.rs:791:29 [INFO] [stderr] | [INFO] [stderr] 791 | let span = unsafe { (*function).chunk.spans[idx - 1].clone() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 791 | let span = unsafe { (&(*function).chunk.spans)[idx - 1].clone() }; [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/vm/compiler.rs:597:17 [INFO] [stderr] | [INFO] [stderr] 597 | (*self.ctx.function).chunk.ops[offset_idx], [INFO] [stderr] | ^^-----------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut ObjectFunction` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&mut Vec` [INFO] [stderr] --> src/vm/compiler.rs:597:17 [INFO] [stderr] | [INFO] [stderr] 597 | (*self.ctx.function).chunk.ops[offset_idx], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 597 | (&mut (*self.ctx.function).chunk.ops)[offset_idx], [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/vm/compiler.rs:598:17 [INFO] [stderr] | [INFO] [stderr] 598 | (*self.ctx.function).chunk.ops[offset_idx + 1], [INFO] [stderr] | ^^-----------------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut ObjectFunction` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&mut Vec` [INFO] [stderr] --> src/vm/compiler.rs:598:17 [INFO] [stderr] | [INFO] [stderr] 598 | (*self.ctx.function).chunk.ops[offset_idx + 1], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 598 | (&mut (*self.ctx.function).chunk.ops)[offset_idx + 1], [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/vm/gc.rs:92:26 [INFO] [stderr] | [INFO] [stderr] 92 | unsafe { Box::from_raw(string) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 92 | unsafe { let _ = Box::from_raw(string); }; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/vm/gc.rs:105:22 [INFO] [stderr] | [INFO] [stderr] 105 | unsafe { Box::from_raw(string) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 105 | unsafe { let _ = Box::from_raw(string); }; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/vm/object.rs:38:26 [INFO] [stderr] | [INFO] [stderr] 38 | unsafe { Box::from_raw(self.bound_method) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 38 | unsafe { let _ = Box::from_raw(self.bound_method); }; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/vm/object.rs:41:26 [INFO] [stderr] | [INFO] [stderr] 41 | unsafe { Box::from_raw(self.class) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 41 | unsafe { let _ = Box::from_raw(self.class); }; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/vm/object.rs:44:26 [INFO] [stderr] | [INFO] [stderr] 44 | unsafe { Box::from_raw(self.closure) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 44 | unsafe { let _ = Box::from_raw(self.closure); }; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/vm/object.rs:47:26 [INFO] [stderr] | [INFO] [stderr] 47 | unsafe { Box::from_raw(self.function) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 47 | unsafe { let _ = Box::from_raw(self.function); }; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/vm/object.rs:50:26 [INFO] [stderr] | [INFO] [stderr] 50 | unsafe { Box::from_raw(self.instance) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 50 | unsafe { let _ = Box::from_raw(self.instance); }; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/vm/object.rs:53:26 [INFO] [stderr] | [INFO] [stderr] 53 | unsafe { Box::from_raw(self.native) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 53 | unsafe { let _ = Box::from_raw(self.native); }; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/vm/object.rs:56:26 [INFO] [stderr] | [INFO] [stderr] 56 | unsafe { Box::from_raw(self.string) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 56 | unsafe { let _ = Box::from_raw(self.string); }; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/vm/object.rs:59:26 [INFO] [stderr] | [INFO] [stderr] 59 | unsafe { Box::from_raw(self.upvalue) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 59 | unsafe { let _ = Box::from_raw(self.upvalue); }; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: `loxcraft` (lib) generated 22 warnings [INFO] [stderr] warning: `loxcraft` (lib test) generated 22 warnings (22 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/loxcraft-aeee92bdabed07d3) [INFO] [stdout] test syntax::lexer::tests::lex_invalid_token ... ok [INFO] [stdout] test syntax::lexer::tests::lex_unterminated_string ... ok [INFO] [stdout] test vm::value::tests::value_is_number ... ok [INFO] [stdout] test vm::value::tests::convert_to_and_from_values ... ok [INFO] [stdout] test vm::value::tests::value_is_nil ... ok [INFO] [stdout] test vm::value::tests::value_is_bool ... ok [INFO] [stdout] test vm::value::tests::value_type ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/loxcraft-b04a59fe31a9bcdc) [INFO] [stdout] test vm::value::tests::value_is_object ... ok [INFO] [stdout] test vm::value::tests::value_to_bool ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/lang.rs (/opt/rustwide/target/debug/deps/lang-02362c892d4f5941) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 247 tests [INFO] [stdout] test lox_res_examples_assignment_associativity_lox ... ok [INFO] [stdout] test lox_res_examples_assignment_local_lox ... ok [INFO] [stdout] test lox_res_examples_assignment_infix_operator_lox ... ok [INFO] [stdout] test lox_res_examples_assignment_global_lox ... ok [INFO] [stdout] test lox_res_examples_assignment_syntax_lox ... ok [INFO] [stdout] test lox_res_examples_assignment_undefined_lox ... ok [INFO] [stdout] test lox_res_examples_assignment_to_this_lox ... ok [INFO] [stdout] test lox_res_examples_block_empty_lox ... ok [INFO] [stdout] test lox_res_examples_assignment_prefix_operator_lox ... ok [INFO] [stdout] test lox_res_examples_block_scope_lox ... ok [INFO] [stdout] test lox_res_examples_call_bool_lox ... ok [INFO] [stdout] test lox_res_examples_bool_not_lox ... ok [INFO] [stdout] test lox_res_examples_call_nil_lox ... ok [INFO] [stdout] test lox_res_examples_call_object_lox ... ok [INFO] [stdout] test lox_res_examples_call_num_lox ... ok [INFO] [stdout] test lox_res_examples_assignment_grouping_lox ... ok [INFO] [stdout] test lox_res_examples_class_local_inherit_other_lox ... ok [INFO] [stdout] test lox_res_examples_class_local_inherit_self_lox ... ok [INFO] [stdout] test lox_res_examples_bool_equality_lox ... ok [INFO] [stdout] test lox_res_examples_class_empty_lox ... ok [INFO] [stdout] test lox_res_examples_closure_close_over_function_parameter_lox ... ok [INFO] [stdout] test lox_res_examples_class_local_reference_self_lox ... ok [INFO] [stdout] test lox_res_examples_closure_assign_to_closure_lox ... ok [INFO] [stdout] test lox_res_examples_call_string_lox ... ok [INFO] [stdout] test lox_res_examples_class_reference_self_lox ... ok [INFO] [stdout] test lox_res_examples_class_inherited_method_lox ... ok [INFO] [stdout] test lox_res_examples_class_inherit_self_lox ... ok [INFO] [stdout] test lox_res_examples_closure_assign_to_shadowed_later_lox ... ok [INFO] [stdout] test lox_res_examples_closure_close_over_later_variable_lox ... ok [INFO] [stdout] test lox_res_examples_closure_close_over_method_parameter_lox ... ok [INFO] [stdout] test lox_res_examples_closure_open_closure_in_function_lox ... ok [INFO] [stdout] test lox_res_examples_closure_nested_closure_lox ... ok [INFO] [stdout] test lox_res_examples_closure_reference_closure_multiple_times_lox ... ok [INFO] [stdout] test lox_res_examples_closure_closed_closure_in_function_lox ... ok [INFO] [stdout] test lox_res_examples_closure_reuse_closure_slot_lox ... ok [INFO] [stdout] test lox_res_examples_closure_unused_later_closure_lox ... ok [INFO] [stdout] test lox_res_examples_closure_shadow_closure_with_local_lox ... ok [INFO] [stdout] test lox_res_examples_closure_unused_closure_lox ... ok [INFO] [stdout] test lox_res_examples_comments_line_at_eof_lox ... ok [INFO] [stdout] test lox_res_examples_comments_only_line_comment_lox ... ok [INFO] [stdout] test lox_res_examples_comments_unicode_lox ... ok [INFO] [stdout] test lox_res_examples_constructor_missing_arguments_lox ... ok [INFO] [stdout] test lox_res_examples_constructor_init_not_method_lox ... ok [INFO] [stdout] test lox_res_examples_constructor_arguments_lox ... ok [INFO] [stdout] test lox_res_examples_constructor_extra_arguments_lox ... ok [INFO] [stdout] test lox_res_examples_comments_only_line_comment_and_line_lox ... ok [INFO] [stdout] test lox_res_examples_constructor_return_in_nested_function_lox ... ok [INFO] [stdout] test lox_res_examples_expressions_parse_lox ... ok [INFO] [stdout] test lox_res_examples_constructor_return_value_lox ... ok [INFO] [stdout] test lox_res_examples_field_call_function_field_lox ... ok [INFO] [stdout] test lox_res_examples_field_call_nonfunction_field_lox ... ok [INFO] [stdout] test lox_res_examples_constructor_early_return_lox ... ok [INFO] [stdout] test lox_res_examples_field_get_on_bool_lox ... ok [INFO] [stdout] test lox_res_examples_expressions_evaluate_lox ... ok [INFO] [stdout] test lox_res_examples_field_get_on_num_lox ... ok [INFO] [stdout] test lox_res_examples_field_method_lox ... ok [INFO] [stdout] test lox_res_examples_field_get_on_class_lox ... ok [INFO] [stdout] test lox_res_examples_field_method_binds_this_lox ... ok [INFO] [stdout] test lox_res_examples_constructor_call_init_explicitly_lox ... ok [INFO] [stdout] test lox_res_examples_field_get_on_function_lox ... ok [INFO] [stdout] test lox_res_examples_empty_file_lox ... ok [INFO] [stdout] test lox_res_examples_field_get_and_set_method_lox ... ok [INFO] [stdout] test lox_res_examples_field_get_on_nil_lox ... ok [INFO] [stdout] test lox_res_examples_constructor_default_arguments_lox ... ok [INFO] [stdout] test lox_res_examples_field_on_instance_lox ... ok [INFO] [stdout] test lox_res_examples_field_set_on_string_lox ... ok [INFO] [stdout] test lox_res_examples_field_set_evaluation_order_lox ... ok [INFO] [stdout] test lox_res_examples_constructor_call_init_early_return_lox ... ok [INFO] [stdout] test lox_res_examples_constructor_default_lox ... ok [INFO] [stdout] test lox_res_examples_field_set_on_bool_lox ... ok [INFO] [stdout] test lox_res_examples_field_set_on_class_lox ... ok [INFO] [stdout] test lox_res_examples_field_set_on_function_lox ... ok [INFO] [stdout] test lox_res_examples_field_set_on_nil_lox ... ok [INFO] [stdout] test lox_res_examples_field_get_on_string_lox ... ok [INFO] [stdout] test lox_res_examples_field_set_on_num_lox ... ok [INFO] [stdout] test lox_res_examples_field_undefined_lox ... ok [INFO] [stdout] test lox_res_examples_for_class_in_body_lox ... ok [INFO] [stdout] test lox_res_examples_for_closure_in_body_lox ... ok [INFO] [stdout] test lox_res_examples_for_return_closure_lox ... ok [INFO] [stdout] test lox_res_examples_for_statement_condition_lox ... ok [INFO] [stdout] test lox_res_examples_for_return_inside_lox ... ok [INFO] [stdout] test lox_res_examples_for_scope_lox ... ok [INFO] [stdout] test lox_res_examples_for_statement_increment_lox ... ok [INFO] [stdout] test lox_res_examples_function_local_recursion_lox ... ok [INFO] [stdout] test lox_res_examples_function_body_must_be_block_lox ... ok [INFO] [stdout] test lox_res_examples_for_syntax_lox ... ok [INFO] [stdout] test lox_res_examples_function_missing_arguments_lox ... ok [INFO] [stdout] test lox_res_examples_for_var_in_body_lox ... ok [INFO] [stdout] test lox_res_examples_function_empty_body_lox ... ok [INFO] [stdout] test lox_res_examples_for_statement_initializer_lox ... ok [INFO] [stdout] test lox_res_examples_function_extra_arguments_lox ... ok [INFO] [stdout] test lox_res_examples_function_local_mutual_recursion_lox ... ok [INFO] [stdout] test lox_res_examples_function_missing_comma_in_parameters_lox ... ok [INFO] [stdout] test lox_res_examples_if_fun_in_else_lox ... ok [INFO] [stdout] test lox_res_examples_if_fun_in_then_lox ... ok [INFO] [stdout] test lox_res_examples_function_mutual_recursion_lox ... ok [INFO] [stdout] test lox_res_examples_function_parameters_lox ... ok [INFO] [stdout] test lox_res_examples_function_nested_call_with_arguments_lox ... ok [INFO] [stdout] test lox_res_examples_function_recursion_lox ... ok [INFO] [stdout] test lox_res_examples_function_print_lox ... ok [INFO] [stdout] test lox_res_examples_if_class_in_else_lox ... ok [INFO] [stdout] test lox_res_examples_if_else_lox ... ok [INFO] [stdout] test lox_res_examples_inheritance_parenthesized_superclass_lox ... ok [INFO] [stdout] test lox_res_examples_inheritance_inherit_from_function_lox ... ok [INFO] [stdout] test lox_res_examples_if_var_in_else_lox ... ok [INFO] [stdout] test lox_res_examples_inheritance_inherit_methods_lox ... ok [INFO] [stdout] test lox_res_examples_function_too_many_arguments_lox ... ok [INFO] [stdout] test lox_res_examples_for_fun_in_body_lox ... ok [INFO] [stdout] test lox_res_examples_if_var_in_then_lox ... ok [INFO] [stdout] test lox_res_examples_limit_stack_overflow_lox ... ok [INFO] [stdout] test lox_res_examples_inheritance_constructor_lox ... ok [INFO] [stdout] test lox_res_examples_inheritance_inherit_from_number_lox ... ok [INFO] [stdout] test lox_res_examples_inheritance_inherit_from_nil_lox ... ok [INFO] [stdout] test lox_res_examples_if_truth_lox ... ok [INFO] [stdout] test lox_res_examples_if_class_in_then_lox ... ok [INFO] [stdout] test lox_res_examples_if_dangling_else_lox ... ok [INFO] [stdout] test lox_res_examples_field_many_lox ... ok [INFO] [stdout] test lox_res_examples_logical_operator_or_truth_lox ... ok [INFO] [stdout] test lox_res_examples_method_not_found_lox ... ok [INFO] [stdout] test lox_res_examples_method_print_bound_method_lox ... ok [INFO] [stdout] test lox_res_examples_function_too_many_parameters_lox ... ok [INFO] [stdout] test lox_res_examples_method_arity_lox ... ok [INFO] [stdout] test lox_res_examples_method_refer_to_name_lox ... ok [INFO] [stdout] test lox_res_examples_method_missing_arguments_lox ... ok [INFO] [stdout] test lox_res_examples_logical_operator_and_truth_lox ... ok [INFO] [stdout] test lox_res_examples_limit_too_many_constants_lox ... ok [INFO] [stdout] test lox_res_examples_logical_operator_or_lox ... ok [INFO] [stdout] test lox_res_examples_limit_too_many_locals_lox ... ok [INFO] [stdout] test lox_res_examples_method_too_many_arguments_lox ... ok [INFO] [stdout] test lox_res_examples_if_if_lox ... ok [INFO] [stdout] test lox_res_examples_method_extra_arguments_lox ... ok [INFO] [stdout] test lox_res_examples_number_literals_lox ... ok [INFO] [stdout] test lox_res_examples_operator_add_nil_nil_lox ... ok [INFO] [stdout] test lox_res_examples_logical_operator_and_lox ... ok [INFO] [stdout] test lox_res_examples_method_empty_block_lox ... ok [INFO] [stdout] test lox_res_examples_number_trailing_dot_lox ... ok [INFO] [stdout] test lox_res_examples_inheritance_set_fields_from_base_class_lox ... ok [INFO] [stdout] test lox_res_examples_operator_add_bool_nil_lox ... ok [INFO] [stdout] test lox_res_examples_number_leading_dot_lox ... ok [INFO] [stdout] test lox_res_examples_operator_add_bool_string_lox ... ok [INFO] [stdout] test lox_res_examples_operator_divide_nonnum_num_lox ... ok [INFO] [stdout] test lox_res_examples_method_too_many_parameters_lox ... ok [INFO] [stdout] test lox_res_examples_operator_add_bool_num_lox ... ok [INFO] [stdout] test lox_res_examples_number_decimal_point_at_eof_lox ... ok [INFO] [stdout] test lox_res_examples_operator_divide_num_nonnum_lox ... ok [INFO] [stdout] test lox_res_examples_operator_greater_nonnum_num_lox ... ok [INFO] [stdout] test lox_res_examples_number_nan_equality_lox ... ok [INFO] [stdout] test lox_res_examples_operator_equals_method_lox ... ok [INFO] [stdout] test lox_res_examples_operator_equals_class_lox ... ok [INFO] [stdout] test lox_res_examples_operator_greater_num_nonnum_lox ... ok [INFO] [stdout] test lox_res_examples_operator_equals_lox ... ok [INFO] [stdout] test lox_res_examples_operator_less_nonnum_num_lox ... ok [INFO] [stdout] test lox_res_examples_operator_add_lox ... ok [INFO] [stdout] test lox_res_examples_operator_greater_or_equal_num_nonnum_lox ... ok [INFO] [stdout] test lox_res_examples_operator_less_num_nonnum_lox ... ok [INFO] [stdout] test lox_res_examples_operator_greater_or_equal_nonnum_num_lox ... ok [INFO] [stdout] test lox_res_examples_operator_negate_lox ... ok [INFO] [stdout] test lox_res_examples_operator_multiply_num_nonnum_lox ... ok [INFO] [stdout] test lox_res_examples_operator_less_or_equal_nonnum_num_lox ... ok [INFO] [stdout] test lox_res_examples_operator_multiply_lox ... ok [INFO] [stdout] test lox_res_examples_operator_comparison_lox ... ok [INFO] [stdout] test lox_res_examples_operator_less_or_equal_num_nonnum_lox ... ok [INFO] [stdout] test lox_res_examples_operator_add_num_nil_lox ... ok [INFO] [stdout] test lox_res_examples_operator_multiply_nonnum_num_lox ... ok [INFO] [stdout] test lox_res_examples_operator_negate_nonnum_lox ... ok [INFO] [stdout] test lox_res_examples_operator_not_class_lox ... ok [INFO] [stdout] test lox_res_examples_operator_add_string_nil_lox ... ok [INFO] [stdout] test lox_res_examples_limit_too_many_upvalues_lox ... ok [INFO] [stdout] test lox_res_examples_operator_subtract_lox ... ok [INFO] [stdout] test lox_res_examples_operator_not_lox ... ok [INFO] [stdout] test lox_res_examples_operator_subtract_nonnum_num_lox ... ok [INFO] [stdout] test lox_res_examples_regression_40_lox ... ok [INFO] [stdout] test lox_res_examples_return_in_function_lox ... ok [INFO] [stdout] test lox_res_examples_operator_not_equals_lox ... ok [INFO] [stdout] test lox_res_examples_operator_subtract_num_nonnum_lox ... ok [INFO] [stdout] test lox_res_examples_regression_394_lox ... ok [INFO] [stdout] test lox_res_examples_return_after_else_lox ... ok [INFO] [stdout] test lox_res_examples_return_in_method_lox ... ok [INFO] [stdout] test lox_res_examples_return_after_if_lox ... ok [INFO] [stdout] test lox_res_examples_precedence_lox ... ok [INFO] [stdout] test lox_res_examples_string_unterminated_lox ... ok [INFO] [stdout] test lox_res_examples_print_missing_argument_lox ... ok [INFO] [stdout] test lox_res_examples_string_error_after_multiline_lox ... ok [INFO] [stdout] test lox_res_examples_return_return_nil_if_no_value_lox ... ok [INFO] [stdout] test lox_res_examples_return_after_while_lox ... ok [INFO] [stdout] test lox_res_examples_string_literals_lox ... ok [INFO] [stdout] test lox_res_examples_operator_divide_lox ... ok [INFO] [stdout] test lox_res_examples_return_at_top_level_lox ... ok [INFO] [stdout] test lox_res_examples_string_multiline_lox ... ok [INFO] [stdout] test lox_res_examples_super_no_superclass_call_lox ... ok [INFO] [stdout] test lox_res_examples_super_missing_arguments_lox ... ok [INFO] [stdout] test lox_res_examples_super_super_at_top_level_lox ... ok [INFO] [stdout] test lox_res_examples_super_no_superclass_bind_lox ... ok [INFO] [stdout] test lox_res_examples_super_reassign_superclass_lox ... ok [INFO] [stdout] test lox_res_examples_super_indirectly_inherited_lox ... ok [INFO] [stdout] test lox_res_examples_super_closure_lox ... ok [INFO] [stdout] test lox_res_examples_super_extra_arguments_lox ... ok [INFO] [stdout] test lox_res_examples_super_no_superclass_method_lox ... ok [INFO] [stdout] test lox_res_examples_super_constructor_lox ... ok [INFO] [stdout] test lox_res_examples_super_parenthesized_lox ... ok [INFO] [stdout] test lox_res_examples_super_call_other_method_lox ... ok [INFO] [stdout] test lox_res_examples_super_bound_method_lox ... ok [INFO] [stdout] test lox_res_examples_super_super_in_closure_in_inherited_method_lox ... ok [INFO] [stdout] test lox_res_examples_super_super_in_inherited_method_lox ... ok [INFO] [stdout] test lox_res_examples_super_super_in_top_level_function_lox ... ok [INFO] [stdout] test lox_res_examples_super_super_without_dot_lox ... ok [INFO] [stdout] test lox_res_examples_this_this_in_top_level_function_lox ... ok [INFO] [stdout] test lox_res_examples_unexpected_character_lox ... ok [INFO] [stdout] test lox_res_examples_variable_duplicate_local_lox ... ok [INFO] [stdout] test lox_res_examples_this_this_at_top_level_lox ... ok [INFO] [stdout] test lox_res_examples_this_nested_class_lox ... ok [INFO] [stdout] test lox_res_examples_super_super_without_name_lox ... ok [INFO] [stdout] test lox_res_examples_this_nested_closure_lox ... ok [INFO] [stdout] test lox_res_examples_super_this_in_superclass_method_lox ... ok [INFO] [stdout] test lox_res_examples_this_this_in_method_lox ... ok [INFO] [stdout] test lox_res_examples_variable_duplicate_parameter_lox ... ok [INFO] [stdout] test lox_res_examples_this_closure_lox ... ok [INFO] [stdout] test lox_res_examples_super_call_same_method_lox ... ok [INFO] [stdout] test lox_res_examples_variable_redeclare_global_lox ... ok [INFO] [stdout] test lox_res_examples_variable_local_from_method_lox ... ok [INFO] [stdout] test lox_res_examples_variable_early_bound_lox ... ok [INFO] [stdout] test lox_res_examples_variable_in_nested_block_lox ... ok [INFO] [stdout] test lox_res_examples_variable_shadow_and_local_lox ... ok [INFO] [stdout] test lox_res_examples_variable_redefine_global_lox ... ok [INFO] [stdout] test lox_res_examples_variable_shadow_global_lox ... ok [INFO] [stdout] test lox_res_examples_variable_scope_reuse_in_different_blocks_lox ... ok [INFO] [stdout] test lox_res_examples_variable_shadow_local_lox ... ok [INFO] [stdout] test lox_res_examples_variable_undefined_global_lox ... ok [INFO] [stdout] test lox_res_examples_variable_in_middle_of_block_lox ... ok [INFO] [stdout] test lox_res_examples_variable_undefined_local_lox ... ok [INFO] [stdout] test lox_res_examples_while_fun_in_body_lox ... ok [INFO] [stdout] test lox_res_examples_variable_uninitialized_lox ... ok [INFO] [stdout] test lox_res_examples_variable_unreached_undefined_lox ... ok [INFO] [stdout] test lox_res_examples_while_return_inside_lox ... ok [INFO] [stdout] test lox_res_examples_while_return_closure_lox ... ok [INFO] [stdout] test lox_res_examples_variable_use_false_as_var_lox ... ok [INFO] [stdout] test lox_res_examples_variable_use_local_in_initializer_lox ... ok [INFO] [stdout] test lox_res_examples_variable_use_global_in_initializer_lox ... ok [INFO] [stdout] test lox_res_examples_variable_use_nil_as_var_lox ... ok [INFO] [stdout] test lox_res_examples_while_class_in_body_lox ... ok [INFO] [stdout] test lox_res_examples_while_closure_in_body_lox ... ok [INFO] [stdout] test lox_res_examples_while_syntax_lox ... ok [INFO] [stdout] test lox_res_examples_variable_use_this_as_var_lox ... ok [INFO] [stdout] test lox_res_examples_while_var_in_body_lox ... ok [INFO] [stdout] test lox_res_examples_nil_literal_lox ... ok [INFO] [stdout] test lox_res_examples_variable_collide_with_parameter_lox ... ok [INFO] [stdout] test lox_res_examples_limit_loop_too_large_lox ... ok [INFO] [stderr] Doc-tests loxcraft [INFO] [stdout] [INFO] [stdout] test result: ok. 247 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "621f92edffdcd047d25a32f0b659086f0aa7624b254928bb92a165f2f49d0601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "621f92edffdcd047d25a32f0b659086f0aa7624b254928bb92a165f2f49d0601", kill_on_drop: false }` [INFO] [stdout] 621f92edffdcd047d25a32f0b659086f0aa7624b254928bb92a165f2f49d0601