[INFO] cloning repository https://github.com/bernardev254/Arbitrum-Mainnet-BS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bernardev254/Arbitrum-Mainnet-BS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbernardev254%2FArbitrum-Mainnet-BS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbernardev254%2FArbitrum-Mainnet-BS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0365c6743b19ba2c119ff1f56978e114dbb8efa [INFO] testing bernardev254/Arbitrum-Mainnet-BS/b0365c6743b19ba2c119ff1f56978e114dbb8efa against nightly-2025-01-18 for randomize-layout-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbernardev254%2FArbitrum-Mainnet-BS" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bernardev254/Arbitrum-Mainnet-BS on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/bernardev254/Arbitrum-Mainnet-BS [INFO] finished tweaking git repo https://github.com/bernardev254/Arbitrum-Mainnet-BS [INFO] tweaked toml for git repo https://github.com/bernardev254/Arbitrum-Mainnet-BS written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bernardev254/Arbitrum-Mainnet-BS 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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stylus-sdk v0.4.3 [INFO] [stderr] Downloaded ruint-macro v1.1.0 [INFO] [stderr] Downloaded alloy-sol-macro v0.3.1 [INFO] [stderr] Downloaded syn-solidity v0.3.1 [INFO] [stderr] Downloaded alloy-primitives v0.3.3 [INFO] [stderr] Downloaded stylus-proc v0.4.3 [INFO] [stderr] Downloaded alloy-sol-types v0.3.1 [INFO] [stderr] Downloaded ruint v1.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76f2e1a25ddce1a0706974c30e72be5525e53336cc630b227674939666b66f5b [INFO] running `Command { std: "docker" "start" "-a" "76f2e1a25ddce1a0706974c30e72be5525e53336cc630b227674939666b66f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76f2e1a25ddce1a0706974c30e72be5525e53336cc630b227674939666b66f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76f2e1a25ddce1a0706974c30e72be5525e53336cc630b227674939666b66f5b", kill_on_drop: false }` [INFO] [stdout] 76f2e1a25ddce1a0706974c30e72be5525e53336cc630b227674939666b66f5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b8053ed6bc33546fb7e00b93c787007471d4de989c71df5b782ce01ae6eef06 [INFO] running `Command { std: "docker" "start" "-a" "4b8053ed6bc33546fb7e00b93c787007471d4de989c71df5b782ce01ae6eef06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling ruint-macro v1.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling const-hex v1.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling ruint v1.11.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling keccak-const v0.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling mini-alloc v0.4.2 [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 regex-automata v0.4.5 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling syn-solidity v0.3.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling alloy-sol-macro v0.3.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling alloy-primitives v0.3.3 [INFO] [stderr] Compiling alloy-sol-types v0.3.1 [INFO] [stderr] Compiling stylus-proc v0.4.3 [INFO] [stderr] Compiling stylus-sdk v0.4.3 [INFO] [stderr] Compiling stylus-hello-world v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/lib.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | panic!(Err("Reentrant call not allowed!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 203 | panic!("{}", Err("Reentrant call not allowed!")); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BResult` and `GeneralError` [INFO] [stdout] --> src/lib.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | use errors::{BResult, BitsaveErrors, GeneralError, InvalidPrice, UserNotExist}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `U8` [INFO] [stdout] --> src/lib.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | alloy_primitives::{U256, U8}, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `contract::address` [INFO] [stdout] --> src/user_data.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use stylus_sdk::{block, contract::address, stylus_proc::sol_storage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | if (msg::reentrant()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 202 - if (msg::reentrant()) { [INFO] [stdout] 202 + if msg::reentrant() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_name` [INFO] [stdout] --> src/user_data.rs:42:68 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_user(&mut self, address: Address, user_id: U256, user_name: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `withdraw_amount` is never read [INFO] [stdout] --> src/user_data.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let mut withdraw_amount: U256 = U256::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stylus-hello-world` (lib) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4b8053ed6bc33546fb7e00b93c787007471d4de989c71df5b782ce01ae6eef06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b8053ed6bc33546fb7e00b93c787007471d4de989c71df5b782ce01ae6eef06", kill_on_drop: false }` [INFO] [stdout] 4b8053ed6bc33546fb7e00b93c787007471d4de989c71df5b782ce01ae6eef06