[INFO] fetching crate linera-wasmer-vm 4.4.0-linera.7... [INFO] testing linera-wasmer-vm-4.4.0-linera.7 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate linera-wasmer-vm 4.4.0-linera.7 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate linera-wasmer-vm 4.4.0-linera.7 [INFO] finished tweaking crates.io crate linera-wasmer-vm 4.4.0-linera.7 [INFO] tweaked toml for crates.io crate linera-wasmer-vm 4.4.0-linera.7 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate linera-wasmer-vm 4.4.0-linera.7 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 119 packages to latest compatible versions [INFO] [stderr] Adding corosensei v0.1.4 (available: v0.3.1) [INFO] [stderr] Adding enum-iterator v0.7.0 (available: v2.3.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.12.0) [INFO] [stderr] Adding loupe v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding mach2 v0.4.3 (available: v0.5.0) [INFO] [stderr] Adding more-asserts v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding wasmer-types v4.4.0 (available: v6.1.0) [INFO] [stderr] Adding windows-sys v0.59.0 (available: v0.61.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded darling v0.21.3 [INFO] [stderr] Downloaded loupe v0.1.3 [INFO] [stderr] Downloaded darling_macro v0.21.3 [INFO] [stderr] Downloaded darling_core v0.21.3 [INFO] [stderr] Downloaded enumset v1.1.10 [INFO] [stderr] Downloaded enumset_derive v0.14.0 [INFO] [stderr] Downloaded loupe-derive v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 829504fff35ace140e58933a8433f9f288dd843925bc5060be9742cfce9d0358 [INFO] running `Command { std: "docker" "start" "-a" "829504fff35ace140e58933a8433f9f288dd843925bc5060be9742cfce9d0358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "829504fff35ace140e58933a8433f9f288dd843925bc5060be9742cfce9d0358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "829504fff35ace140e58933a8433f9f288dd843925bc5060be9742cfce9d0358", kill_on_drop: false }` [INFO] [stdout] 829504fff35ace140e58933a8433f9f288dd843925bc5060be9742cfce9d0358 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0708ea405a081e8beaf79a33aff15cb6b6a09e163c3fbf94ec3a89b50cc5ee0 [INFO] running `Command { std: "docker" "start" "-a" "e0708ea405a081e8beaf79a33aff15cb6b6a09e163c3fbf94ec3a89b50cc5ee0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling rend v0.4.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling rkyv v0.7.45 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling corosensei v0.1.4 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling more-asserts v0.2.2 [INFO] [stderr] Compiling region v3.0.2 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling enumset_derive v0.14.0 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling bytecheck_derive v0.6.12 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling enumset v1.1.10 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling enum-iterator v0.7.0 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling wasmer-types v4.4.0 [INFO] [stderr] Compiling linera-wasmer-vm v4.4.0-linera.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/instance/mod.rs:1264:20 [INFO] [stdout] | [INFO] [stdout] 1264 | pub fn exports(&self) -> indexmap::map::Iter { [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] 1264 | pub fn exports(&self) -> indexmap::map::Iter<'_, String, ExportIndex> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter_globals(&self) -> Iter { [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] 82 | pub fn iter_globals(&self) -> Iter<'_, VMGlobal> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | register(&mut PREV_SIGSEGV, libc::SIGSEGV); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 173 | register(&raw mut PREV_SIGSEGV, libc::SIGSEGV); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | register(&mut PREV_SIGILL, libc::SIGILL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 176 | register(&raw mut PREV_SIGILL, libc::SIGILL); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | register(&mut PREV_SIGFPE, libc::SIGFPE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 180 | register(&raw mut PREV_SIGFPE, libc::SIGFPE); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | register(&mut PREV_SIGBUS, libc::SIGBUS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 186 | register(&raw mut PREV_SIGBUS, libc::SIGBUS); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:233:34 [INFO] [stdout] | [INFO] [stdout] 233 | libc::SIGSEGV => &PREV_SIGSEGV, [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 233 | libc::SIGSEGV => &raw const PREV_SIGSEGV, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:234:33 [INFO] [stdout] | [INFO] [stdout] 234 | libc::SIGBUS => &PREV_SIGBUS, [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 234 | libc::SIGBUS => &raw const PREV_SIGBUS, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | libc::SIGFPE => &PREV_SIGFPE, [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 235 | libc::SIGFPE => &raw const PREV_SIGFPE, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:236:33 [INFO] [stdout] | [INFO] [stdout] 236 | libc::SIGILL => &PREV_SIGILL, [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 236 | libc::SIGILL => &raw const PREV_SIGILL, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/vmcontext.rs:597:5 [INFO] [stdout] | [INFO] [stdout] 586 | #[derive(Debug, Clone, Copy, Hash, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 597 | pub call_trampoline: VMTrampoline, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.77s [INFO] running `Command { std: "docker" "inspect" "e0708ea405a081e8beaf79a33aff15cb6b6a09e163c3fbf94ec3a89b50cc5ee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0708ea405a081e8beaf79a33aff15cb6b6a09e163c3fbf94ec3a89b50cc5ee0", kill_on_drop: false }` [INFO] [stdout] e0708ea405a081e8beaf79a33aff15cb6b6a09e163c3fbf94ec3a89b50cc5ee0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e4fea624fb48bb0327097351c5631d6963d140c97a75ac5c47264e4a2ecdc4a [INFO] running `Command { std: "docker" "start" "-a" "5e4fea624fb48bb0327097351c5631d6963d140c97a75ac5c47264e4a2ecdc4a", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/instance/mod.rs:1264:20 [INFO] [stdout] | [INFO] [stdout] 1264 | pub fn exports(&self) -> indexmap::map::Iter { [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] 1264 | pub fn exports(&self) -> indexmap::map::Iter<'_, String, ExportIndex> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter_globals(&self) -> Iter { [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] 82 | pub fn iter_globals(&self) -> Iter<'_, VMGlobal> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | register(&mut PREV_SIGSEGV, libc::SIGSEGV); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 173 | register(&raw mut PREV_SIGSEGV, libc::SIGSEGV); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling linera-wasmer-vm v4.4.0-linera.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | register(&mut PREV_SIGILL, libc::SIGILL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 176 | register(&raw mut PREV_SIGILL, libc::SIGILL); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | register(&mut PREV_SIGFPE, libc::SIGFPE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 180 | register(&raw mut PREV_SIGFPE, libc::SIGFPE); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | register(&mut PREV_SIGBUS, libc::SIGBUS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 186 | register(&raw mut PREV_SIGBUS, libc::SIGBUS); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:233:34 [INFO] [stdout] | [INFO] [stdout] 233 | libc::SIGSEGV => &PREV_SIGSEGV, [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 233 | libc::SIGSEGV => &raw const PREV_SIGSEGV, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:234:33 [INFO] [stdout] | [INFO] [stdout] 234 | libc::SIGBUS => &PREV_SIGBUS, [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 234 | libc::SIGBUS => &raw const PREV_SIGBUS, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | libc::SIGFPE => &PREV_SIGFPE, [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 235 | libc::SIGFPE => &raw const PREV_SIGFPE, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:236:33 [INFO] [stdout] | [INFO] [stdout] 236 | libc::SIGILL => &PREV_SIGILL, [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 236 | libc::SIGILL => &raw const PREV_SIGILL, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/vmcontext.rs:597:5 [INFO] [stdout] | [INFO] [stdout] 586 | #[derive(Debug, Clone, Copy, Hash, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 597 | pub call_trampoline: VMTrampoline, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/instance/mod.rs:1264:20 [INFO] [stdout] | [INFO] [stdout] 1264 | pub fn exports(&self) -> indexmap::map::Iter { [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] 1264 | pub fn exports(&self) -> indexmap::map::Iter<'_, String, ExportIndex> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter_globals(&self) -> Iter { [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] 82 | pub fn iter_globals(&self) -> Iter<'_, VMGlobal> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | register(&mut PREV_SIGSEGV, libc::SIGSEGV); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 173 | register(&raw mut PREV_SIGSEGV, libc::SIGSEGV); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | register(&mut PREV_SIGILL, libc::SIGILL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 176 | register(&raw mut PREV_SIGILL, libc::SIGILL); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | register(&mut PREV_SIGFPE, libc::SIGFPE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 180 | register(&raw mut PREV_SIGFPE, libc::SIGFPE); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | register(&mut PREV_SIGBUS, libc::SIGBUS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 186 | register(&raw mut PREV_SIGBUS, libc::SIGBUS); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:233:34 [INFO] [stdout] | [INFO] [stdout] 233 | libc::SIGSEGV => &PREV_SIGSEGV, [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 233 | libc::SIGSEGV => &raw const PREV_SIGSEGV, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:234:33 [INFO] [stdout] | [INFO] [stdout] 234 | libc::SIGBUS => &PREV_SIGBUS, [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 234 | libc::SIGBUS => &raw const PREV_SIGBUS, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | libc::SIGFPE => &PREV_SIGFPE, [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 235 | libc::SIGFPE => &raw const PREV_SIGFPE, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/trap/traphandlers.rs:236:33 [INFO] [stdout] | [INFO] [stdout] 236 | libc::SIGILL => &PREV_SIGILL, [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 236 | libc::SIGILL => &raw const PREV_SIGILL, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/vmcontext.rs:597:5 [INFO] [stdout] | [INFO] [stdout] 586 | #[derive(Debug, Clone, Copy, Hash, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 597 | pub call_trampoline: VMTrampoline, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "5e4fea624fb48bb0327097351c5631d6963d140c97a75ac5c47264e4a2ecdc4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e4fea624fb48bb0327097351c5631d6963d140c97a75ac5c47264e4a2ecdc4a", kill_on_drop: false }` [INFO] [stdout] 5e4fea624fb48bb0327097351c5631d6963d140c97a75ac5c47264e4a2ecdc4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b64b16dbc3cff14deb2cf2fa6dc8d63d60c44a2b27e861cfca5e5cb64d0ce6d4 [INFO] running `Command { std: "docker" "start" "-a" "b64b16dbc3cff14deb2cf2fa6dc8d63d60c44a2b27e861cfca5e5cb64d0ce6d4", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/instance/mod.rs:1264:20 [INFO] [stderr] | [INFO] [stderr] 1264 | pub fn exports(&self) -> indexmap::map::Iter { [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] 1264 | pub fn exports(&self) -> indexmap::map::Iter<'_, String, ExportIndex> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:82:25 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn iter_globals(&self) -> Iter { [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] 82 | pub fn iter_globals(&self) -> Iter<'_, VMGlobal> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/trap/traphandlers.rs:173:22 [INFO] [stderr] | [INFO] [stderr] 173 | register(&mut PREV_SIGSEGV, libc::SIGSEGV); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 173 | register(&raw mut PREV_SIGSEGV, libc::SIGSEGV); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/trap/traphandlers.rs:176:22 [INFO] [stderr] | [INFO] [stderr] 176 | register(&mut PREV_SIGILL, libc::SIGILL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 176 | register(&raw mut PREV_SIGILL, libc::SIGILL); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/trap/traphandlers.rs:180:26 [INFO] [stderr] | [INFO] [stderr] 180 | register(&mut PREV_SIGFPE, libc::SIGFPE); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 180 | register(&raw mut PREV_SIGFPE, libc::SIGFPE); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/trap/traphandlers.rs:186:26 [INFO] [stderr] | [INFO] [stderr] 186 | register(&mut PREV_SIGBUS, libc::SIGBUS); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 186 | register(&raw mut PREV_SIGBUS, libc::SIGBUS); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/trap/traphandlers.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | libc::SIGSEGV => &PREV_SIGSEGV, [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 233 | libc::SIGSEGV => &raw const PREV_SIGSEGV, [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/trap/traphandlers.rs:234:33 [INFO] [stderr] | [INFO] [stderr] 234 | libc::SIGBUS => &PREV_SIGBUS, [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 234 | libc::SIGBUS => &raw const PREV_SIGBUS, [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/trap/traphandlers.rs:235:33 [INFO] [stderr] | [INFO] [stderr] 235 | libc::SIGFPE => &PREV_SIGFPE, [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 235 | libc::SIGFPE => &raw const PREV_SIGFPE, [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/trap/traphandlers.rs:236:33 [INFO] [stderr] | [INFO] [stderr] 236 | libc::SIGILL => &PREV_SIGILL, [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 236 | libc::SIGILL => &raw const PREV_SIGILL, [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/vmcontext.rs:597:5 [INFO] [stderr] | [INFO] [stderr] 586 | #[derive(Debug, Clone, Copy, Hash, PartialEq, Eq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 597 | pub call_trampoline: VMTrampoline, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `linera-wasmer-vm` (lib) generated 11 warnings (run `cargo fix --lib -p linera-wasmer-vm` to apply 2 suggestions) [INFO] [stderr] warning: `linera-wasmer-vm` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/linera_wasmer_vm-4b6582ff5c768470) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test test_vmfunction_body::check_vmfunction_body_offsets ... ok [INFO] [stdout] test mmap::tests::test_round_up_to_page_size ... ok [INFO] [stdout] test table::table_element_size_test ... ok [INFO] [stdout] test threadconditions::tests::threadconditions_notify_nowaiters ... ok [INFO] [stdout] test vmcontext::test_vmcaller_checked_anyfunc::check_vmcaller_checked_anyfunc_offsets ... ok [INFO] [stdout] test vmcontext::test_vmglobal_definition::check_vmglobal_begins_aligned ... ok [INFO] [stdout] test vmcontext::test_vmfunction_import::check_vmfunction_import_offsets ... ok [INFO] [stdout] test vmcontext::test_vmmemory_definition::check_vmmemory_definition_offsets ... ok [INFO] [stdout] test vmcontext::test_vmglobal_import::check_vmglobal_import_offsets ... ok [INFO] [stdout] test vmcontext::test_vmglobal_definition::check_vmglobal_definition_offsets ... ok [INFO] [stdout] test vmcontext::test_vmmemory_import::check_vmmemory_import_offsets ... ok [INFO] [stdout] test vmcontext::test_vmshared_signature_index::check_target_shared_signature_index ... ok [INFO] [stdout] test vmcontext::test_vmshared_signature_index::check_vmshared_signature_index ... ok [INFO] [stdout] test vmcontext::test_vmtable_definition::check_vmtable_definition_offsets ... ok [INFO] [stdout] test vmcontext::test_vmtable_import::check_vmtable_import_offsets ... ok [INFO] [stdout] test threadconditions::tests::threadconditions_notify_1waiter ... ok [INFO] [stdout] test vmcontext::test_vmglobal_definition::check_vmglobal_definition_alignment ... ok [INFO] [stdout] test vmcontext::test_vmdynamicfunction_import_context::check_vmdynamicfunction_import_context_offsets ... ok [INFO] [stdout] test threadconditions::tests::threadconditions_notify_2waiters ... ok [INFO] [stdout] test threadconditions::tests::threadconditions_notify_waiter_timeout ... ok [INFO] [stderr] Doc-tests linera_wasmer_vm [INFO] [stdout] test threadconditions::tests::threadconditions_notify_waiter_mismatch ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/libcalls.rs - libcalls (line 25) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b64b16dbc3cff14deb2cf2fa6dc8d63d60c44a2b27e861cfca5e5cb64d0ce6d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b64b16dbc3cff14deb2cf2fa6dc8d63d60c44a2b27e861cfca5e5cb64d0ce6d4", kill_on_drop: false }` [INFO] [stdout] b64b16dbc3cff14deb2cf2fa6dc8d63d60c44a2b27e861cfca5e5cb64d0ce6d4