[INFO] cloning repository https://github.com/miksax/rust_runtime
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miksax/rust_runtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiksax%2Frust_runtime", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiksax%2Frust_runtime'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 83ee44a497ff09e06e9694aa61fd75bbf7e7a044
[INFO] checking miksax/rust_runtime against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiksax%2Frust_runtime" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config
[INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/miksax/rust_runtime
[INFO] finished tweaking git repo https://github.com/miksax/rust_runtime
[INFO] tweaked toml for git repo https://github.com/miksax/rust_runtime written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/miksax/rust_runtime on toolchain 987a165cfab916796a8315782b83ac460a651ce2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/miksax/rust_runtime 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" "+987a165cfab916796a8315782b83ac460a651ce2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-6-tc2/source/example/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-6-tc2/source/Cargo.toml
[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 wasm_allocator v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c73f485c4b27b8c0c8357beccdffa7daf84bcb939792f171a5dd8785a7854e8d
[INFO] running `Command { std: "docker" "start" "-a" "c73f485c4b27b8c0c8357beccdffa7daf84bcb939792f171a5dd8785a7854e8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c73f485c4b27b8c0c8357beccdffa7daf84bcb939792f171a5dd8785a7854e8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c73f485c4b27b8c0c8357beccdffa7daf84bcb939792f171a5dd8785a7854e8d", kill_on_drop: false }`
[INFO] [stdout] c73f485c4b27b8c0c8357beccdffa7daf84bcb939792f171a5dd8785a7854e8d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fac923a34fecf08c6d0555b6371f798a142873c75c779e4383565c68cbfc91c4
[INFO] running `Command { std: "docker" "start" "-a" "fac923a34fecf08c6d0555b6371f798a142873c75c779e4383565c68cbfc91c4", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/example/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr]    Compiling wasm_allocator v0.1.1
[INFO] [stderr]     Checking rust_runtime v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(ptr_internals)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout]   = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(ptr_internals)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout]   = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `alloc::Layout` and `ptr`
[INFO] [stdout]  --> src/mem.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{alloc::Layout, io::Write, mem, ptr};
[INFO] [stdout]   |           ^^^^^^^^^^^^^                  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `alloc::Layout` and `ptr`
[INFO] [stdout]  --> src/mem.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{alloc::Layout, io::Write, mem, ptr};
[INFO] [stdout]   |           ^^^^^^^^^^^^^                  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]`
[INFO] [stdout]    --> src/mem.rs:248:1
[INFO] [stdout]     |
[INFO] [stdout] 248 | #[no_mangle]
[INFO] [stdout]     | ^^^^^^^^^^^^ `#[no_mangle]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[export_name]` takes precedence
[INFO] [stdout]    --> src/mem.rs:249:1
[INFO] [stdout]     |
[INFO] [stdout] 249 | #[export_name = "setEnvironment"]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] help: remove the `#[no_mangle]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 248 - #[no_mangle]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]`
[INFO] [stdout]    --> src/mem.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | #[no_mangle]
[INFO] [stdout]     | ^^^^^^^^^^^^ `#[no_mangle]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[export_name]` takes precedence
[INFO] [stdout]    --> src/mem.rs:257:1
[INFO] [stdout]     |
[INFO] [stdout] 257 | #[export_name = "onDeploy"]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[no_mangle]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 256 - #[no_mangle]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]`
[INFO] [stdout]    --> src/mem.rs:264:1
[INFO] [stdout]     |
[INFO] [stdout] 264 | #[no_mangle]
[INFO] [stdout]     | ^^^^^^^^^^^^ `#[no_mangle]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[export_name]` takes precedence
[INFO] [stdout]    --> src/mem.rs:265:1
[INFO] [stdout]     |
[INFO] [stdout] 265 | #[export_name = "__new"]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[no_mangle]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 264 - #[no_mangle]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]`
[INFO] [stdout]    --> src/mem.rs:275:1
[INFO] [stdout]     |
[INFO] [stdout] 275 | #[no_mangle]
[INFO] [stdout]     | ^^^^^^^^^^^^ `#[no_mangle]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[export_name]` takes precedence
[INFO] [stdout]    --> src/mem.rs:276:1
[INFO] [stdout]     |
[INFO] [stdout] 276 | #[export_name = "__pin"]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[no_mangle]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 275 - #[no_mangle]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]`
[INFO] [stdout]    --> src/mem.rs:285:1
[INFO] [stdout]     |
[INFO] [stdout] 285 | #[no_mangle]
[INFO] [stdout]     | ^^^^^^^^^^^^ `#[no_mangle]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[export_name]` takes precedence
[INFO] [stdout]    --> src/mem.rs:286:1
[INFO] [stdout]     |
[INFO] [stdout] 286 | #[export_name = "__unpin"]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[no_mangle]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 285 - #[no_mangle]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]`
[INFO] [stdout]    --> src/mem.rs:299:1
[INFO] [stdout]     |
[INFO] [stdout] 299 | #[no_mangle]
[INFO] [stdout]     | ^^^^^^^^^^^^ `#[no_mangle]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[export_name]` takes precedence
[INFO] [stdout]    --> src/mem.rs:300:1
[INFO] [stdout]     |
[INFO] [stdout] 300 | #[export_name = "__collect"]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[no_mangle]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 299 - #[no_mangle]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]`
[INFO] [stdout]    --> src/mem.rs:248:1
[INFO] [stdout]     |
[INFO] [stdout] 248 | #[no_mangle]
[INFO] [stdout]     | ^^^^^^^^^^^^ `#[no_mangle]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[export_name]` takes precedence
[INFO] [stdout]    --> src/mem.rs:249:1
[INFO] [stdout]     |
[INFO] [stdout] 249 | #[export_name = "setEnvironment"]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] help: remove the `#[no_mangle]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 248 - #[no_mangle]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]`
[INFO] [stdout]    --> src/mem.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | #[no_mangle]
[INFO] [stdout]     | ^^^^^^^^^^^^ `#[no_mangle]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[export_name]` takes precedence
[INFO] [stdout]    --> src/mem.rs:257:1
[INFO] [stdout]     |
[INFO] [stdout] 257 | #[export_name = "onDeploy"]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[no_mangle]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 256 - #[no_mangle]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]`
[INFO] [stdout]    --> src/mem.rs:264:1
[INFO] [stdout]     |
[INFO] [stdout] 264 | #[no_mangle]
[INFO] [stdout]     | ^^^^^^^^^^^^ `#[no_mangle]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[export_name]` takes precedence
[INFO] [stdout]    --> src/mem.rs:265:1
[INFO] [stdout]     |
[INFO] [stdout] 265 | #[export_name = "__new"]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[no_mangle]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 264 - #[no_mangle]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]`
[INFO] [stdout]    --> src/mem.rs:275:1
[INFO] [stdout]     |
[INFO] [stdout] 275 | #[no_mangle]
[INFO] [stdout]     | ^^^^^^^^^^^^ `#[no_mangle]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[export_name]` takes precedence
[INFO] [stdout]    --> src/mem.rs:276:1
[INFO] [stdout]     |
[INFO] [stdout] 276 | #[export_name = "__pin"]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[no_mangle]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 275 - #[no_mangle]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]`
[INFO] [stdout]    --> src/mem.rs:285:1
[INFO] [stdout]     |
[INFO] [stdout] 285 | #[no_mangle]
[INFO] [stdout]     | ^^^^^^^^^^^^ `#[no_mangle]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[export_name]` takes precedence
[INFO] [stdout]    --> src/mem.rs:286:1
[INFO] [stdout]     |
[INFO] [stdout] 286 | #[export_name = "__unpin"]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[no_mangle]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 285 - #[no_mangle]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]`
[INFO] [stdout]    --> src/mem.rs:299:1
[INFO] [stdout]     |
[INFO] [stdout] 299 | #[no_mangle]
[INFO] [stdout]     | ^^^^^^^^^^^^ `#[no_mangle]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[export_name]` takes precedence
[INFO] [stdout]    --> src/mem.rs:300:1
[INFO] [stdout]     |
[INFO] [stdout] 300 | #[export_name = "__collect"]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[no_mangle]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 299 - #[no_mangle]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mem.rs:278:5
[INFO] [stdout]     |
[INFO] [stdout] 278 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bytes` is never read
[INFO] [stdout]  --> src/env/global.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Address {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 2 |     bytes: [u8; crate::constant::ADDRESS_BYTE_LENGTH],
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `leak` is never used
[INFO] [stdout]    --> src/mem.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl WaString {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 217 |     fn leak(self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/mem.rs:16:29
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub const fn new(inner: &[u8]) -> Cursor {
[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] 16 |     pub const fn new(inner: &[u8]) -> Cursor<'_> {
[INFO] [stdout]    |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/mem.rs:86:38
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 if let Some(index) = MEMORY.iter().position(|cell_ptr| *cell_ptr == ptr) {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/mem.rs:87:21
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     MEMORY.remove(index);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/mem.rs:127:29
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub fn cursor<'a>(self: &mut Box<Self>) -> Cursor {
[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] 127 |     pub fn cursor<'a>(self: &mut Box<Self>) -> Cursor<'_> {
[INFO] [stdout]     |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/mem.rs:270:9
[INFO] [stdout]     |
[INFO] [stdout] 270 |         MEMORY.push(ptr);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/mem.rs:292:49
[INFO] [stdout]     |
[INFO] [stdout] 292 |         log_str(&alloc::format!("Mem size: {}", MEMORY.len()));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/mem.rs:304:20
[INFO] [stdout]     |
[INFO] [stdout] 304 |         for ptr in MEMORY.iter() {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mem.rs:278:5
[INFO] [stdout]     |
[INFO] [stdout] 278 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bytes` is never read
[INFO] [stdout]  --> src/env/global.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Address {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 2 |     bytes: [u8; crate::constant::ADDRESS_BYTE_LENGTH],
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `leak` is never used
[INFO] [stdout]    --> src/mem.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl WaString {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 217 |     fn leak(self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/mem.rs:16:29
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub const fn new(inner: &[u8]) -> Cursor {
[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] 16 |     pub const fn new(inner: &[u8]) -> Cursor<'_> {
[INFO] [stdout]    |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/mem.rs:86:38
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 if let Some(index) = MEMORY.iter().position(|cell_ptr| *cell_ptr == ptr) {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/mem.rs:87:21
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     MEMORY.remove(index);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/mem.rs:127:29
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub fn cursor<'a>(self: &mut Box<Self>) -> Cursor {
[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] 127 |     pub fn cursor<'a>(self: &mut Box<Self>) -> Cursor<'_> {
[INFO] [stdout]     |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/mem.rs:270:9
[INFO] [stdout]     |
[INFO] [stdout] 270 |         MEMORY.push(ptr);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/mem.rs:292:49
[INFO] [stdout]     |
[INFO] [stdout] 292 |         log_str(&alloc::format!("Mem size: {}", MEMORY.len()));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/mem.rs:304:20
[INFO] [stdout]     |
[INFO] [stdout] 304 |         for ptr in MEMORY.iter() {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking example v0.1.0 (/opt/rustwide/workdir/example)
[INFO] [stdout] warning: unused import: `rust_runtime`
[INFO] [stdout]  --> example/src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rust_runtime;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_runtime`
[INFO] [stdout]  --> example/src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rust_runtime;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "fac923a34fecf08c6d0555b6371f798a142873c75c779e4383565c68cbfc91c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fac923a34fecf08c6d0555b6371f798a142873c75c779e4383565c68cbfc91c4", kill_on_drop: false }`
[INFO] [stdout] fac923a34fecf08c6d0555b6371f798a142873c75c779e4383565c68cbfc91c4
