[INFO] fetching crate linera-wasmer-vm 4.4.0-linera.7... [INFO] testing linera-wasmer-vm-4.4.0-linera.7 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate linera-wasmer-vm 4.4.0-linera.7 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate linera-wasmer-vm 4.4.0-linera.7 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 118 packages to latest compatible versions [INFO] [stderr] Adding corosensei v0.1.4 (available: v0.2.2) [INFO] [stderr] Adding enum-iterator v0.7.0 (available: v2.1.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.10.0) [INFO] [stderr] Adding loupe v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding more-asserts v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding wasmer-types v4.4.0 (available: v6.0.1) [INFO] [stderr] Adding windows-sys v0.59.0 (available: v0.60.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2266514c1bc1adf9aab0e987d9f3e5492dc69d56104b4645fb4639d38c47ba9b [INFO] running `Command { std: "docker" "start" "-a" "2266514c1bc1adf9aab0e987d9f3e5492dc69d56104b4645fb4639d38c47ba9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2266514c1bc1adf9aab0e987d9f3e5492dc69d56104b4645fb4639d38c47ba9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2266514c1bc1adf9aab0e987d9f3e5492dc69d56104b4645fb4639d38c47ba9b", kill_on_drop: false }` [INFO] [stdout] 2266514c1bc1adf9aab0e987d9f3e5492dc69d56104b4645fb4639d38c47ba9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 023f7427b9ea72e284a60df437fa7762025a5cc05ee3214792f6a7a0b471e83b [INFO] running `Command { std: "docker" "start" "-a" "023f7427b9ea72e284a60df437fa7762025a5cc05ee3214792f6a7a0b471e83b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rend v0.4.2 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rkyv v0.7.45 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling corosensei v0.1.4 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling more-asserts v0.2.2 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling region v3.0.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [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 enum-iterator v0.7.0 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling enumset_derive v0.11.0 [INFO] [stderr] Compiling enumset v1.1.6 [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/instance/mod.rs:1264:20 [INFO] [stdout] | [INFO] [stdout] 1264 | pub fn exports(&self) -> indexmap::map::Iter { [INFO] [stdout] | ^^^^^ ---------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1264 | pub fn exports(&self) -> indexmap::map::Iter<'_, String, ExportIndex> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter_globals(&self) -> Iter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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)]` 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 25.09s [INFO] running `Command { std: "docker" "inspect" "023f7427b9ea72e284a60df437fa7762025a5cc05ee3214792f6a7a0b471e83b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "023f7427b9ea72e284a60df437fa7762025a5cc05ee3214792f6a7a0b471e83b", kill_on_drop: false }` [INFO] [stdout] 023f7427b9ea72e284a60df437fa7762025a5cc05ee3214792f6a7a0b471e83b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c71085952c12f796f194b6bd16fcd63e558a9fe083023522cdb1a2379f1b8974 [INFO] running `Command { std: "docker" "start" "-a" "c71085952c12f796f194b6bd16fcd63e558a9fe083023522cdb1a2379f1b8974", kill_on_drop: false }` [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/instance/mod.rs:1264:20 [INFO] [stdout] | [INFO] [stdout] 1264 | pub fn exports(&self) -> indexmap::map::Iter { [INFO] [stdout] | ^^^^^ ---------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1264 | pub fn exports(&self) -> indexmap::map::Iter<'_, String, ExportIndex> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter_globals(&self) -> Iter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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)]` 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] [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: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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/instance/mod.rs:1264:20 [INFO] [stdout] | [INFO] [stdout] 1264 | pub fn exports(&self) -> indexmap::map::Iter { [INFO] [stdout] | ^^^^^ ---------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1264 | pub fn exports(&self) -> indexmap::map::Iter<'_, String, ExportIndex> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter_globals(&self) -> Iter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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)]` 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 2.05s [INFO] running `Command { std: "docker" "inspect" "c71085952c12f796f194b6bd16fcd63e558a9fe083023522cdb1a2379f1b8974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c71085952c12f796f194b6bd16fcd63e558a9fe083023522cdb1a2379f1b8974", kill_on_drop: false }` [INFO] [stdout] c71085952c12f796f194b6bd16fcd63e558a9fe083023522cdb1a2379f1b8974 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 299bcdcb2e67e42d27ec599a2208cc4ae0383a9a3096b6f9ea28ac0015269375 [INFO] running `Command { std: "docker" "start" "-a" "299bcdcb2e67e42d27ec599a2208cc4ae0383a9a3096b6f9ea28ac0015269375", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/instance/mod.rs:1264:20 [INFO] [stderr] | [INFO] [stderr] 1264 | pub fn exports(&self) -> indexmap::map::Iter { [INFO] [stderr] | ^^^^^ ---------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 1264 | pub fn exports(&self) -> indexmap::map::Iter<'_, String, ExportIndex> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/store.rs:82:25 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn iter_globals(&self) -> Iter { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/linera_wasmer_vm-455a9039b2ebf9ea) [INFO] [stdout] [INFO] [stdout] running 21 tests [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_vmdynamicfunction_import_context::check_vmdynamicfunction_import_context_offsets ... ok [INFO] [stdout] test vmcontext::test_vmfunction_import::check_vmfunction_import_offsets ... ok [INFO] [stdout] test vmcontext::test_vmglobal_definition::check_vmglobal_begins_aligned ... ok [INFO] [stdout] test vmcontext::test_vmglobal_definition::check_vmglobal_definition_alignment ... ok [INFO] [stdout] test test_vmfunction_body::check_vmfunction_body_offsets ... ok [INFO] [stdout] test vmcontext::test_vmglobal_definition::check_vmglobal_definition_offsets ... ok [INFO] [stdout] test vmcontext::test_vmglobal_import::check_vmglobal_import_offsets ... ok [INFO] [stdout] test vmcontext::test_vmtable_definition::check_vmtable_definition_offsets ... ok [INFO] [stdout] test vmcontext::test_vmmemory_definition::check_vmmemory_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_import::check_vmtable_import_offsets ... ok [INFO] [stdout] test threadconditions::tests::threadconditions_notify_1waiter ... ok [INFO] [stdout] test threadconditions::tests::threadconditions_notify_2waiters ... ok [INFO] [stdout] test threadconditions::tests::threadconditions_notify_waiter_timeout ... ok [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] running `Command { std: "docker" "inspect" "299bcdcb2e67e42d27ec599a2208cc4ae0383a9a3096b6f9ea28ac0015269375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "299bcdcb2e67e42d27ec599a2208cc4ae0383a9a3096b6f9ea28ac0015269375", kill_on_drop: false }` [INFO] [stdout] 299bcdcb2e67e42d27ec599a2208cc4ae0383a9a3096b6f9ea28ac0015269375