[INFO] cloning repository https://github.com/humblepenguinn/odyssey [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/humblepenguinn/odyssey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhumblepenguinn%2Fodyssey", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhumblepenguinn%2Fodyssey'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d84889266055cad79a208bbd4ec62679d480a92 [INFO] building humblepenguinn/odyssey against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhumblepenguinn%2Fodyssey" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/humblepenguinn/odyssey [INFO] finished tweaking git repo https://github.com/humblepenguinn/odyssey [INFO] tweaked toml for git repo https://github.com/humblepenguinn/odyssey written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/humblepenguinn/odyssey on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/humblepenguinn/odyssey already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8de738777f474bde1f0d342af9ad7d873560d3ec7a61f1c380de7593f8814781 [INFO] running `Command { std: "docker" "start" "-a" "8de738777f474bde1f0d342af9ad7d873560d3ec7a61f1c380de7593f8814781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8de738777f474bde1f0d342af9ad7d873560d3ec7a61f1c380de7593f8814781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8de738777f474bde1f0d342af9ad7d873560d3ec7a61f1c380de7593f8814781", kill_on_drop: false }` [INFO] [stdout] 8de738777f474bde1f0d342af9ad7d873560d3ec7a61f1c380de7593f8814781 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] b6633d04c0ed470c99f8818fc93f8a8fc0839e04cfae5a6e945370f103c567e4 [INFO] running `Command { std: "docker" "start" "-a" "b6633d04c0ed470c99f8818fc93f8a8fc0839e04cfae5a6e945370f103c567e4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling hex-slice v0.1.4 [INFO] [stderr] Compiling bs58 v0.5.0 [INFO] [stderr] Compiling sha256 v1.1.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling bitcoin_hashes v0.12.0 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling odyssey v0.0.0-pre (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `data` is never read [INFO] [stdout] --> src/transactions.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | data = format!("Reward to '{}'", receiver); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | INSTANCE.write(BlockChain::new().unwrap()); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | INSTANCE.assume_init_mut() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/constants.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | INSTANCE.write(Constants::new()); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/constants.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | INSTANCE.assume_init_ref() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/constants.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | INSTANCE.write(EnvLoader::new()); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/constants.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | INSTANCE.assume_init_ref() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wallet.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | INSTANCE.write(Wallets::new().unwrap()); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wallet.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | INSTANCE.assume_init_mut() [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.56s [INFO] running `Command { std: "docker" "inspect" "b6633d04c0ed470c99f8818fc93f8a8fc0839e04cfae5a6e945370f103c567e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6633d04c0ed470c99f8818fc93f8a8fc0839e04cfae5a6e945370f103c567e4", kill_on_drop: false }` [INFO] [stdout] b6633d04c0ed470c99f8818fc93f8a8fc0839e04cfae5a6e945370f103c567e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 96aa5cea61c7224b166a5fa520e8d80b0df362a4eda9a81f54e7eeb51e26e15a [INFO] running `Command { std: "docker" "start" "-a" "96aa5cea61c7224b166a5fa520e8d80b0df362a4eda9a81f54e7eeb51e26e15a", kill_on_drop: false }` [INFO] [stdout] warning: value assigned to `data` is never read [INFO] [stdout] --> src/transactions.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | data = format!("Reward to '{}'", receiver); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | INSTANCE.write(BlockChain::new().unwrap()); [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] [INFO] [stdout] [INFO] [stderr] Compiling odyssey v0.0.0-pre (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | INSTANCE.assume_init_mut() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/constants.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | INSTANCE.write(Constants::new()); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/constants.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | INSTANCE.assume_init_ref() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/constants.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | INSTANCE.write(EnvLoader::new()); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/constants.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | INSTANCE.assume_init_ref() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wallet.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | INSTANCE.write(Wallets::new().unwrap()); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wallet.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | INSTANCE.assume_init_mut() [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] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `data` is never read [INFO] [stdout] --> src/transactions.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | data = format!("Reward to '{}'", receiver); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | INSTANCE.write(BlockChain::new().unwrap()); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | INSTANCE.assume_init_mut() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/constants.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | INSTANCE.write(Constants::new()); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/constants.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | INSTANCE.assume_init_ref() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/constants.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | INSTANCE.write(EnvLoader::new()); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/constants.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | INSTANCE.assume_init_ref() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wallet.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | INSTANCE.write(Wallets::new().unwrap()); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wallet.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | INSTANCE.assume_init_mut() [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] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "--export" "rustsecp256k1_v0_8_1_context_create" "--export" "rustsecp256k1_v0_8_1_context_destroy" "--export" "rustsecp256k1_v0_8_1_default_error_callback_fn" "--export" "rustsecp256k1_v0_8_1_default_illegal_callback_fn" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libsled-2abbdccaf9035412,libfxhash-63b2664e449b7b2a,libbyteorder-f00db367bf6f80f8,libcrc32fast-f0a61590867b47c0,liblog-aac0b01dcdc00680,libcrossbeam_epoch-2cfefcf566d62518,libmemoffset-a87239c1b05d0a49,libcrossbeam_utils-e7e3862e7aed54f1,libparking_lot-3597511de96a9d27,libparking_lot_core-8404123600604c66,libsmallvec-2bf3a711842ab8ea,liblock_api-8d0b75ea2899d9ee,libscopeguard-969e7c3c4435a7ba,libinstant-4ee7e638d10598a5,libbs58-28de0a1bea32cff2,libdotenv-89f45f0506c47bba,libbincode-72ba8fcaf795dd84}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libripemd-77110d1918d3027a,libsecp256k1-5cab98542d0cdb66,libbitcoin_hashes-db50766d8b44a14f,libbitcoin_private-1aeac3d768c20246,librand-f9407743a192d1aa,librand_chacha-bee43409f7e328a5,libppv_lite86-486e4425e6fd09e6,librand_core-174fac7c0d2a4966,libgetrandom-0f36e8ce46ed7078,libwasi-b9c6bfbff0bef49f,libsecp256k1_sys-6970ca92251d5909,libhex_slice-c5d10e2ea6f6a528,libsha256-d2816b293ec3a1c2,libhex-85aa986ef279af61,libsha2-12b2ba3e8ef50f2e,libcfg_if-50b02a9e3502ecf2,libdigest-6867552a40719a0e,libblock_buffer-56b2b9e2a4654e0a,libcrypto_common-6c8f084efad9d430,libgeneric_array-7ee413fce8f96687,libtypenum-4a5399017f020fcd,libnum_bigint-6a73e47d7535cda4,libserde-f5b22ad4da324153,libnum_integer-8a570596c0f5d5dc,libnum_traits-42c657e73be4a9ca}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/secp256k1-sys-06bd911f9b391f0e/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/odyssey-34e247ea17493420.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-6970ca92251d5909.rlib: archive member 'wasm.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-6970ca92251d5909.rlib: archive member 'lax_der_parsing.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-6970ca92251d5909.rlib: archive member 'precomputed_ecmult_gen.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-6970ca92251d5909.rlib: archive member 'precomputed_ecmult.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-6970ca92251d5909.rlib: archive member 'secp256k1.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-6970ca92251d5909.rlib(secp256k1_sys-6970ca92251d5909.secp256k1_sys.4a19d29bfc20011b-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_8_1_context_preallocated_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-6970ca92251d5909.rlib(secp256k1_sys-6970ca92251d5909.secp256k1_sys.4a19d29bfc20011b-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_8_1_context_preallocated_create [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-6970ca92251d5909.rlib(secp256k1_sys-6970ca92251d5909.secp256k1_sys.4a19d29bfc20011b-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_8_1_context_preallocated_destroy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `odyssey` (lib test) due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "96aa5cea61c7224b166a5fa520e8d80b0df362a4eda9a81f54e7eeb51e26e15a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96aa5cea61c7224b166a5fa520e8d80b0df362a4eda9a81f54e7eeb51e26e15a", kill_on_drop: false }` [INFO] [stdout] 96aa5cea61c7224b166a5fa520e8d80b0df362a4eda9a81f54e7eeb51e26e15a