[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#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiksax%2Frust_runtime" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config
[INFO] removed /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/miksax/rust_runtime on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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-5-tc2/source/example/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ae796ef3f4c2f923d3839cbe2e61f2b46e62caca3f25edd0a9822930dd5584ea
[INFO] running `Command { std: "docker" "start" "-a" "ae796ef3f4c2f923d3839cbe2e61f2b46e62caca3f25edd0a9822930dd5584ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ae796ef3f4c2f923d3839cbe2e61f2b46e62caca3f25edd0a9822930dd5584ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae796ef3f4c2f923d3839cbe2e61f2b46e62caca3f25edd0a9822930dd5584ea", kill_on_drop: false }`
[INFO] [stdout] ae796ef3f4c2f923d3839cbe2e61f2b46e62caca3f25edd0a9822930dd5584ea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 24767fde8482556cc35a5288d3d3183626b2d14fcfebaa9dee3232cdf426c625
[INFO] running `Command { std: "docker" "start" "-a" "24767fde8482556cc35a5288d3d3183626b2d14fcfebaa9dee3232cdf426c625", 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Address` is never constructed
[INFO] [stdout]  --> src/env/global.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Address {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) 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: 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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_runtime` (lib test) due to 1 previous error; 18 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Address` is never constructed
[INFO] [stdout]  --> src/env/global.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Address {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) 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: 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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_runtime` (lib) due to 1 previous error; 18 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "24767fde8482556cc35a5288d3d3183626b2d14fcfebaa9dee3232cdf426c625", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24767fde8482556cc35a5288d3d3183626b2d14fcfebaa9dee3232cdf426c625", kill_on_drop: false }`
[INFO] [stdout] 24767fde8482556cc35a5288d3d3183626b2d14fcfebaa9dee3232cdf426c625
