[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#5785402183672f7786e9dc343d7b435bdaf4a4bc for pr-138001 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJunyaoC%2Ftest-stylus-1" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JunyaoC/test-stylus-1 on toolchain 5785402183672f7786e9dc343d7b435bdaf4a4bc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-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-2-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" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "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#5785402183672f7786e9dc343d7b435bdaf4a4bc for pr-138001 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJunyaoC%2Ftest-stylus-1" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JunyaoC/test-stylus-1 on toolchain 5785402183672f7786e9dc343d7b435bdaf4a4bc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-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-2-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" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "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 syn-solidity v0.7.7 [INFO] [stderr] Downloaded ruint-macro v1.2.1 [INFO] [stderr] Downloaded alloy-sol-macro-expander v0.7.7 [INFO] [stderr] Downloaded ruint v1.12.3 [INFO] [stderr] Downloaded alloy-primitives v0.7.6 [INFO] [stderr] Downloaded alloy-sol-types v0.7.6 [INFO] [stderr] Downloaded alloy-sol-macro-input v0.7.7 [INFO] [stderr] Downloaded const-hex v1.11.0 [INFO] [stderr] Downloaded alloy-sol-macro v0.7.7 [INFO] [stderr] Downloaded stylus-proc v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f9f4de9e4d0da3a3105728f4f6fde1c86e0926a26179bcf6cdf3d13cc11dc7c [INFO] running `Command { std: "docker" "start" "-a" "2f9f4de9e4d0da3a3105728f4f6fde1c86e0926a26179bcf6cdf3d13cc11dc7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f9f4de9e4d0da3a3105728f4f6fde1c86e0926a26179bcf6cdf3d13cc11dc7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f9f4de9e4d0da3a3105728f4f6fde1c86e0926a26179bcf6cdf3d13cc11dc7c", kill_on_drop: false }` [INFO] [stdout] 2f9f4de9e4d0da3a3105728f4f6fde1c86e0926a26179bcf6cdf3d13cc11dc7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 541ac03d518de29421cf8c66f208a615375ecd65007ab5516b2a6c0e47e552db [INFO] running `Command { std: "docker" "start" "-a" "541ac03d518de29421cf8c66f208a615375ecd65007ab5516b2a6c0e47e552db", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling const-hex v1.11.0 [INFO] [stderr] Compiling serde v1.0.197 [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 half v2.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [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] Checking keccak-const v0.2.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling syn-solidity v0.7.7 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling derive_more v0.99.17 [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 alloy-primitives v0.7.6 [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 unresolved module or unlinked crate `ethers` [INFO] [stdout] --> examples/counter.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ethers::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ethers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ethers`, use `cargo add ethers` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `dotenv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dotenv`, use `cargo add dotenv` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `eyre` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `eyre`, use `cargo add eyre` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/counter.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `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" "541ac03d518de29421cf8c66f208a615375ecd65007ab5516b2a6c0e47e552db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "541ac03d518de29421cf8c66f208a615375ecd65007ab5516b2a6c0e47e552db", kill_on_drop: false }` [INFO] [stdout] 541ac03d518de29421cf8c66f208a615375ecd65007ab5516b2a6c0e47e552db