[INFO] fetching crate stylus-sdk 0.6.0... [INFO] checking stylus-sdk-0.6.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate stylus-sdk 0.6.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate stylus-sdk 0.6.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stylus-sdk 0.6.0 [INFO] finished tweaking crates.io crate stylus-sdk 0.6.0 [INFO] tweaked toml for crates.io crate stylus-sdk 0.6.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 73 packages to latest compatible versions [INFO] [stderr] Adding alloy-primitives v0.7.6 (available: v0.7.7) [INFO] [stderr] Adding alloy-sol-macro v0.7.7 (available: v0.8.5) [INFO] [stderr] Adding alloy-sol-macro-expander v0.7.7 (available: v0.8.5) [INFO] [stderr] Adding alloy-sol-macro-input v0.7.7 (available: v0.8.5) [INFO] [stderr] Adding alloy-sol-types v0.7.6 (available: v0.7.7) [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding syn-solidity v0.7.7 (available: v0.8.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 612ebe2e2674c049d60bedc65b69b8d329149f93d051b49be34318bc2c22b5c9 [INFO] running `Command { std: "docker" "start" "-a" "612ebe2e2674c049d60bedc65b69b8d329149f93d051b49be34318bc2c22b5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "612ebe2e2674c049d60bedc65b69b8d329149f93d051b49be34318bc2c22b5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "612ebe2e2674c049d60bedc65b69b8d329149f93d051b49be34318bc2c22b5c9", kill_on_drop: false }` [INFO] [stdout] 612ebe2e2674c049d60bedc65b69b8d329149f93d051b49be34318bc2c22b5c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4403f3ba63be35defad5989ed8d45f872b21134d9aebd3df5d5e10deee5dee91 [INFO] running `Command { std: "docker" "start" "-a" "4403f3ba63be35defad5989ed8d45f872b21134d9aebd3df5d5e10deee5dee91", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling const-hex v1.12.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ruint v1.12.3 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking mini-alloc v0.6.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking keccak-const v0.2.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling syn-solidity v0.7.7 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling alloy-primitives v0.7.6 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling alloy-sol-macro-input v0.7.7 [INFO] [stderr] Compiling alloy-sol-macro-expander v0.7.7 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling alloy-sol-macro v0.7.7 [INFO] [stderr] Compiling alloy-sol-types v0.7.6 [INFO] [stderr] Compiling stylus-proc v0.6.0 [INFO] [stderr] Checking stylus-sdk v0.6.0 (/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:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | 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: 16 warnings emitted [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:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | 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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.04s [INFO] running `Command { std: "docker" "inspect" "4403f3ba63be35defad5989ed8d45f872b21134d9aebd3df5d5e10deee5dee91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4403f3ba63be35defad5989ed8d45f872b21134d9aebd3df5d5e10deee5dee91", kill_on_drop: false }` [INFO] [stdout] 4403f3ba63be35defad5989ed8d45f872b21134d9aebd3df5d5e10deee5dee91