[INFO] fetching crate openzeppelin-stylus 0.3.0... [INFO] building openzeppelin-stylus-0.3.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate openzeppelin-stylus 0.3.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate openzeppelin-stylus 0.3.0 [INFO] finished tweaking crates.io crate openzeppelin-stylus 0.3.0 [INFO] tweaked toml for crates.io crate openzeppelin-stylus 0.3.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate openzeppelin-stylus 0.3.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate openzeppelin-stylus 0.3.0 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bc8bb972815eed3185f8661dba7c174a97011d98d280cd31cbf3fa28ae6e9e2 [INFO] running `Command { std: "docker" "start" "-a" "7bc8bb972815eed3185f8661dba7c174a97011d98d280cd31cbf3fa28ae6e9e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bc8bb972815eed3185f8661dba7c174a97011d98d280cd31cbf3fa28ae6e9e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bc8bb972815eed3185f8661dba7c174a97011d98d280cd31cbf3fa28ae6e9e2", kill_on_drop: false }` [INFO] [stdout] 7bc8bb972815eed3185f8661dba7c174a97011d98d280cd31cbf3fa28ae6e9e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecf77fc115155fa5edbeaf02608b0bd2fd07b3fb1e36787bf2f4772e7890c51a [INFO] running `Command { std: "docker" "start" "-a" "ecf77fc115155fa5edbeaf02608b0bd2fd07b3fb1e36787bf2f4772e7890c51a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling const-hex v1.14.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling mini-alloc v0.9.0 [INFO] [stderr] Compiling keccak-const v0.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ruint v1.14.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [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 sha3 v0.10.8 [INFO] [stderr] Compiling syn-solidity v0.8.25 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling openzeppelin-stylus-proc v0.3.0 [INFO] [stderr] Compiling alloy-sol-macro-input v0.8.20 [INFO] [stderr] Compiling alloy-sol-macro-expander v0.8.20 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling trybuild v1.0.105 [INFO] [stderr] Compiling alloy-sol-macro v0.8.20 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling alloy-primitives v0.8.20 [INFO] [stderr] Compiling alloy-sol-types v0.8.20 [INFO] [stderr] Compiling stylus-core v0.9.0 [INFO] [stderr] Compiling stylus-proc v0.9.0 [INFO] [stderr] Compiling stylus-sdk v0.9.0 [INFO] [stderr] Compiling openzeppelin-stylus v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `function_selector` [INFO] [stdout] --> src/finance/vesting_wallet.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | contract, evm, function_selector, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `function_selector` [INFO] [stdout] --> src/token/erc1155/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | evm, function_selector, msg, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `function_selector` [INFO] [stdout] --> src/token/erc1155/utils/holder.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use stylus_sdk::{abi::Bytes, function_selector, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `function_selector` [INFO] [stdout] --> src/token/erc20/utils/safe_erc20.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | contract, function_selector, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `function_selector` [INFO] [stdout] --> src/token/erc721/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | evm, function_selector, msg, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `function_selector` [INFO] [stdout] --> src/token/erc721/utils/holder.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use stylus_sdk::{abi::Bytes, function_selector, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `VM` has no field named `host` [INFO] [stdout] --> src/utils/storage_slot.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | VM { host: alloc::boxed::Box::new(stylus_sdk::host::WasmVM {}) }; [INFO] [stdout] | ^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stylus-sdk-0.9.0/src/host/mod.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct VM(pub WasmVM); [INFO] [stdout] | -- `VM` defined here [INFO] [stdout] | [INFO] [stdout] help: `VM` is a tuple struct, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 69 - VM { host: alloc::boxed::Box::new(stylus_sdk::host::WasmVM {}) }; [INFO] [stdout] 69 + VM(/* WasmVM */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0560`. [INFO] [stdout] [INFO] [stderr] error: could not compile `openzeppelin-stylus` (lib) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ecf77fc115155fa5edbeaf02608b0bd2fd07b3fb1e36787bf2f4772e7890c51a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecf77fc115155fa5edbeaf02608b0bd2fd07b3fb1e36787bf2f4772e7890c51a", kill_on_drop: false }` [INFO] [stdout] ecf77fc115155fa5edbeaf02608b0bd2fd07b3fb1e36787bf2f4772e7890c51a