[INFO] fetching crate stylus-sdk 0.6.1... [INFO] checking stylus-sdk-0.6.1 against try#306c6aded24f02440063be828ebe601fe5eb8323 for pr-133502-3 [INFO] extracting crate stylus-sdk 0.6.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate stylus-sdk 0.6.1 on toolchain 306c6aded24f02440063be828ebe601fe5eb8323 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stylus-sdk 0.6.1 [INFO] finished tweaking crates.io crate stylus-sdk 0.6.1 [INFO] tweaked toml for crates.io crate stylus-sdk 0.6.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate stylus-sdk 0.6.1 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" "+306c6aded24f02440063be828ebe601fe5eb8323" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93e3af3f37fe25d1b4a82fe806f355ee917e97daf6e5bc58defbba375bd2808c [INFO] running `Command { std: "docker" "start" "-a" "93e3af3f37fe25d1b4a82fe806f355ee917e97daf6e5bc58defbba375bd2808c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93e3af3f37fe25d1b4a82fe806f355ee917e97daf6e5bc58defbba375bd2808c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93e3af3f37fe25d1b4a82fe806f355ee917e97daf6e5bc58defbba375bd2808c", kill_on_drop: false }` [INFO] [stdout] 93e3af3f37fe25d1b4a82fe806f355ee917e97daf6e5bc58defbba375bd2808c [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53ea3eb9041b8b8ac980c1da268534af12a33279040c68566d24a5c7f64ef4aa [INFO] running `Command { std: "docker" "start" "-a" "53ea3eb9041b8b8ac980c1da268534af12a33279040c68566d24a5c7f64ef4aa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling const-hex v1.12.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling ruint v1.12.3 [INFO] [stderr] Checking mini-alloc v0.6.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking keccak-const v0.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling syn-solidity v0.7.6 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling alloy-sol-macro-input v0.7.6 [INFO] [stderr] Compiling alloy-sol-macro-expander v0.7.6 [INFO] [stderr] Compiling alloy-primitives v0.7.6 [INFO] [stderr] Compiling alloy-sol-macro v0.7.6 [INFO] [stderr] Compiling alloy-sol-types v0.7.6 [INFO] [stderr] Compiling stylus-proc v0.6.1 [INFO] [stderr] Checking stylus-sdk v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/block.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / wrap_hostio!( [INFO] [stdout] 19 | | /// Gets the basefee of the current block. [INFO] [stdout] 20 | | basefee BASEFEE block_basefee U256 [INFO] [stdout] 21 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/block.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / wrap_hostio!( [INFO] [stdout] 24 | | /// Gets the unique chain identifier of the Arbitrum chain. [INFO] [stdout] 25 | | chainid CHAINID chainid u64 [INFO] [stdout] 26 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/block.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / wrap_hostio!( [INFO] [stdout] 29 | | /// Gets the coinbase of the current block, which on Arbitrum chains is the L1 batch poster's [INFO] [stdout] 30 | | /// address. [INFO] [stdout] 31 | | coinbase COINBASE block_coinbase Address [INFO] [stdout] 32 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/block.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / wrap_hostio!( [INFO] [stdout] 35 | | /// Gets the gas limit of the current block. [INFO] [stdout] 36 | | gas_limit GAS_LIMIT block_gas_limit u64 [INFO] [stdout] 37 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/block.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / wrap_hostio!( [INFO] [stdout] 40 | | /// Gets a bounded estimate of the L1 block number at which the Sequencer sequenced the [INFO] [stdout] 41 | | /// transaction. See [`Block Numbers and Time`] for more information on how this value is [INFO] [stdout] 42 | | /// determined. [INFO] [stdout] ... | [INFO] [stdout] 45 | | number NUMBER block_number u64 [INFO] [stdout] 46 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/block.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / wrap_hostio!( [INFO] [stdout] 49 | | /// Gets a bounded estimate of the Unix timestamp at which the Sequencer sequenced the [INFO] [stdout] 50 | | /// transaction. See [`Block Numbers and Time`] for more information on how this value is [INFO] [stdout] 51 | | /// determined. [INFO] [stdout] ... | [INFO] [stdout] 54 | | timestamp TIMESTAMP block_timestamp u64 [INFO] [stdout] 55 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/call/raw.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | RETURN_DATA_LEN.set(outs_len); [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 is discouraged [INFO] [stdout] --> src/hostio.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/contract.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / wrap_hostio!( [INFO] [stdout] 58 | | /// Returns the length of the last EVM call or deployment return result, or `0` if neither have [INFO] [stdout] 59 | | /// happened during the program's execution. [INFO] [stdout] 60 | | return_data_len RETURN_DATA_LEN return_data_size usize [INFO] [stdout] 61 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/contract.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / wrap_hostio!( [INFO] [stdout] 64 | | /// Gets the address of the current program. [INFO] [stdout] 65 | | address ADDRESS contract_address Address [INFO] [stdout] 66 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/deploy/raw.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | RETURN_DATA_LEN.set(revert_data_len); [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 is discouraged [INFO] [stdout] --> src/hostio.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/msg.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / wrap_hostio!( [INFO] [stdout] 19 | | /// Whether the current call is reentrant. [INFO] [stdout] 20 | | reentrant REENTRANT msg_reentrant bool [INFO] [stdout] 21 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/msg.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / wrap_hostio!( [INFO] [stdout] 24 | | /// Gets the address of the account that called the program. For normal L2-to-L2 transactions [INFO] [stdout] 25 | | /// the semantics are equivalent to that of the EVM's [`CALLER`] opcode, including in cases [INFO] [stdout] 26 | | /// arising from [`DELEGATE_CALL`]. [INFO] [stdout] ... | [INFO] [stdout] 34 | | sender SENDER msg_sender Address [INFO] [stdout] 35 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/msg.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / wrap_hostio!( [INFO] [stdout] 38 | | /// Get the ETH value in wei sent to the program. [INFO] [stdout] 39 | | value VALUE msg_value U256 [INFO] [stdout] 40 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tx.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / wrap_hostio! { [INFO] [stdout] 19 | | /// Gets the price of ink in evm gas basis points. See [`Ink and Gas`] for more information on [INFO] [stdout] 20 | | /// Stylus's compute-pricing model. [INFO] [stdout] 21 | | /// [INFO] [stdout] 22 | | /// [`Ink and Gas`]: https://docs.arbitrum.io/stylus/concepts/stylus-gas [INFO] [stdout] 23 | | ink_price INK_PRICE tx_ink_price u32 [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tx.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / wrap_hostio!( [INFO] [stdout] 43 | | /// Gets the gas price in wei per gas, which on Arbitrum chains equals the basefee. [INFO] [stdout] 44 | | gas_price GAS_PRICE tx_gas_price U256 [INFO] [stdout] 45 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tx.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / wrap_hostio!( [INFO] [stdout] 48 | | /// Gets the top-level sender of the transaction. The semantics are equivalent to that of the [INFO] [stdout] 49 | | /// EVM's [`ORIGIN`] opcode. [INFO] [stdout] 50 | | /// [INFO] [stdout] 51 | | /// [`ORIGIN`]: https://www.evm.codes/#32 [INFO] [stdout] 52 | | origin ORIGIN tx_origin Address [INFO] [stdout] 53 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/block.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / wrap_hostio!( [INFO] [stdout] 19 | | /// Gets the basefee of the current block. [INFO] [stdout] 20 | | basefee BASEFEE block_basefee U256 [INFO] [stdout] 21 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/block.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / wrap_hostio!( [INFO] [stdout] 24 | | /// Gets the unique chain identifier of the Arbitrum chain. [INFO] [stdout] 25 | | chainid CHAINID chainid u64 [INFO] [stdout] 26 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/block.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / wrap_hostio!( [INFO] [stdout] 29 | | /// Gets the coinbase of the current block, which on Arbitrum chains is the L1 batch poster's [INFO] [stdout] 30 | | /// address. [INFO] [stdout] 31 | | coinbase COINBASE block_coinbase Address [INFO] [stdout] 32 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/block.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / wrap_hostio!( [INFO] [stdout] 35 | | /// Gets the gas limit of the current block. [INFO] [stdout] 36 | | gas_limit GAS_LIMIT block_gas_limit u64 [INFO] [stdout] 37 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/block.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / wrap_hostio!( [INFO] [stdout] 40 | | /// Gets a bounded estimate of the L1 block number at which the Sequencer sequenced the [INFO] [stdout] 41 | | /// transaction. See [`Block Numbers and Time`] for more information on how this value is [INFO] [stdout] 42 | | /// determined. [INFO] [stdout] ... | [INFO] [stdout] 45 | | number NUMBER block_number u64 [INFO] [stdout] 46 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/block.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / wrap_hostio!( [INFO] [stdout] 49 | | /// Gets a bounded estimate of the Unix timestamp at which the Sequencer sequenced the [INFO] [stdout] 50 | | /// transaction. See [`Block Numbers and Time`] for more information on how this value is [INFO] [stdout] 51 | | /// determined. [INFO] [stdout] ... | [INFO] [stdout] 54 | | timestamp TIMESTAMP block_timestamp u64 [INFO] [stdout] 55 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/call/raw.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | RETURN_DATA_LEN.set(outs_len); [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 is discouraged [INFO] [stdout] --> src/hostio.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/contract.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / wrap_hostio!( [INFO] [stdout] 58 | | /// Returns the length of the last EVM call or deployment return result, or `0` if neither have [INFO] [stdout] 59 | | /// happened during the program's execution. [INFO] [stdout] 60 | | return_data_len RETURN_DATA_LEN return_data_size usize [INFO] [stdout] 61 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/contract.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / wrap_hostio!( [INFO] [stdout] 64 | | /// Gets the address of the current program. [INFO] [stdout] 65 | | address ADDRESS contract_address Address [INFO] [stdout] 66 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/deploy/raw.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | RETURN_DATA_LEN.set(revert_data_len); [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 is discouraged [INFO] [stdout] --> src/hostio.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/msg.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / wrap_hostio!( [INFO] [stdout] 19 | | /// Whether the current call is reentrant. [INFO] [stdout] 20 | | reentrant REENTRANT msg_reentrant bool [INFO] [stdout] 21 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/msg.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / wrap_hostio!( [INFO] [stdout] 24 | | /// Gets the address of the account that called the program. For normal L2-to-L2 transactions [INFO] [stdout] 25 | | /// the semantics are equivalent to that of the EVM's [`CALLER`] opcode, including in cases [INFO] [stdout] 26 | | /// arising from [`DELEGATE_CALL`]. [INFO] [stdout] ... | [INFO] [stdout] 34 | | sender SENDER msg_sender Address [INFO] [stdout] 35 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/msg.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / wrap_hostio!( [INFO] [stdout] 38 | | /// Get the ETH value in wei sent to the program. [INFO] [stdout] 39 | | value VALUE msg_value U256 [INFO] [stdout] 40 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tx.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / wrap_hostio! { [INFO] [stdout] 19 | | /// Gets the price of ink in evm gas basis points. See [`Ink and Gas`] for more information on [INFO] [stdout] 20 | | /// Stylus's compute-pricing model. [INFO] [stdout] 21 | | /// [INFO] [stdout] 22 | | /// [`Ink and Gas`]: https://docs.arbitrum.io/stylus/concepts/stylus-gas [INFO] [stdout] 23 | | ink_price INK_PRICE tx_ink_price u32 [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tx.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / wrap_hostio!( [INFO] [stdout] 43 | | /// Gets the gas price in wei per gas, which on Arbitrum chains equals the basefee. [INFO] [stdout] 44 | | gas_price GAS_PRICE tx_gas_price U256 [INFO] [stdout] 45 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hostio.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe{ $cache.get() } [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tx.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / wrap_hostio!( [INFO] [stdout] 48 | | /// Gets the top-level sender of the transaction. The semantics are equivalent to that of the [INFO] [stdout] 49 | | /// EVM's [`ORIGIN`] opcode. [INFO] [stdout] 50 | | /// [INFO] [stdout] 51 | | /// [`ORIGIN`]: https://www.evm.codes/#32 [INFO] [stdout] 52 | | origin ORIGIN tx_origin Address [INFO] [stdout] 53 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.03s [INFO] running `Command { std: "docker" "inspect" "53ea3eb9041b8b8ac980c1da268534af12a33279040c68566d24a5c7f64ef4aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53ea3eb9041b8b8ac980c1da268534af12a33279040c68566d24a5c7f64ef4aa", kill_on_drop: false }` [INFO] [stdout] 53ea3eb9041b8b8ac980c1da268534af12a33279040c68566d24a5c7f64ef4aa