[INFO] cloning repository https://github.com/JunyaoC/test-stylus-1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JunyaoC/test-stylus-1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJunyaoC%2Ftest-stylus-1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJunyaoC%2Ftest-stylus-1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc841caa1ed7dde2fb8d151fadd0f53bc2ab9543 [INFO] checking JunyaoC/test-stylus-1 against try#be699666730c5a1745838222e98e2d85019affdc for pr-134300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJunyaoC%2Ftest-stylus-1" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JunyaoC/test-stylus-1 on toolchain be699666730c5a1745838222e98e2d85019affdc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/JunyaoC/test-stylus-1 [INFO] finished tweaking git repo https://github.com/JunyaoC/test-stylus-1 [INFO] tweaked toml for git repo https://github.com/JunyaoC/test-stylus-1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JunyaoC/test-stylus-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" "+be699666730c5a1745838222e98e2d85019affdc" "fetch" "--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 [ERROR] error running command: no output for 300 seconds [INFO] checking JunyaoC/test-stylus-1 against try#be699666730c5a1745838222e98e2d85019affdc for pr-134300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJunyaoC%2Ftest-stylus-1" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JunyaoC/test-stylus-1 on toolchain be699666730c5a1745838222e98e2d85019affdc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/JunyaoC/test-stylus-1 [INFO] finished tweaking git repo https://github.com/JunyaoC/test-stylus-1 [INFO] tweaked toml for git repo https://github.com/JunyaoC/test-stylus-1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JunyaoC/test-stylus-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" "+be699666730c5a1745838222e98e2d85019affdc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stylus-sdk v0.5.2 [INFO] [stderr] Downloaded alloy-sol-types v0.7.6 [INFO] [stderr] Downloaded keccak-const v0.2.0 [INFO] [stderr] Downloaded stylus-proc v0.5.2 [INFO] [stderr] Downloaded alloy-primitives v0.7.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a61a178b267e149d8e24159377b232c4a423108e6126b903efe352029fb354c [INFO] running `Command { std: "docker" "start" "-a" "1a61a178b267e149d8e24159377b232c4a423108e6126b903efe352029fb354c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a61a178b267e149d8e24159377b232c4a423108e6126b903efe352029fb354c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a61a178b267e149d8e24159377b232c4a423108e6126b903efe352029fb354c", kill_on_drop: false }` [INFO] [stdout] 1a61a178b267e149d8e24159377b232c4a423108e6126b903efe352029fb354c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78c558b4833e4228c41f65648f2be730f3f5f7aeebec13b7fb57a033dc60c978 [INFO] running `Command { std: "docker" "start" "-a" "78c558b4833e4228c41f65648f2be730f3f5f7aeebec13b7fb57a033dc60c978", kill_on_drop: false }` [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling const-hex v1.11.0 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking keccak-const v0.2.0 [INFO] [stderr] Compiling ruint v1.12.3 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling alloy-primitives v0.7.6 [INFO] [stderr] Compiling syn-solidity v0.7.7 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling alloy-sol-macro-input v0.7.7 [INFO] [stderr] Compiling alloy-sol-macro-expander v0.7.7 [INFO] [stderr] Compiling alloy-sol-macro v0.7.7 [INFO] [stderr] Compiling alloy-sol-types v0.7.6 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Compiling stylus-proc v0.5.2 [INFO] [stderr] Checking stylus-sdk v0.5.2 [INFO] [stderr] Checking stylus-hello-world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `nonce_bytes` [INFO] [stdout] --> src/lib.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let nonce_bytes = match BASE64.decode(nonce) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nonce_bytes` [INFO] [stdout] --> src/lib.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let nonce_bytes = match BASE64.decode(nonce) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> examples/counter.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ethers::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dotenv` [INFO] [stdout] --> examples/counter.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dotenv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eyre` [INFO] [stdout] --> examples/counter.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use eyre::eyre; [INFO] [stdout] | ^^^^ use of undeclared crate or module `eyre` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/counter.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Counter` [INFO] [stdout] --> examples/counter.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | let counter = Counter::new(address, client); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Counter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use stylus_hello_world::Counter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> examples/counter.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/counter.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | async fn main() -> eyre::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stylus-hello-world` (example "counter") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "78c558b4833e4228c41f65648f2be730f3f5f7aeebec13b7fb57a033dc60c978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78c558b4833e4228c41f65648f2be730f3f5f7aeebec13b7fb57a033dc60c978", kill_on_drop: false }` [INFO] [stdout] 78c558b4833e4228c41f65648f2be730f3f5f7aeebec13b7fb57a033dc60c978