[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#8384de5d92dd9b1c0b67caa5c1c1b11bf606490f for pr-146300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJunyaoC%2Ftest-stylus-1" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JunyaoC/test-stylus-1 on toolchain 8384de5d92dd9b1c0b67caa5c1c1b11bf606490f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "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 const-hex v1.11.0 [INFO] [stderr] Downloaded stylus-proc v0.5.2 [INFO] [stderr] Downloaded stylus-sdk v0.5.2 [INFO] [stderr] Downloaded alloy-sol-macro v0.7.7 [INFO] [stderr] Downloaded alloy-sol-macro-input v0.7.7 [INFO] [stderr] Downloaded alloy-sol-types v0.7.6 [INFO] [stderr] Downloaded keccak-const v0.2.0 [INFO] [stderr] Downloaded alloy-sol-macro-expander v0.7.7 [INFO] [stderr] Downloaded syn-solidity v0.7.7 [INFO] [stderr] Downloaded alloy-primitives v0.7.6 [INFO] [stderr] Downloaded ruint v1.12.3 [INFO] [stderr] Downloaded proptest v1.4.0 [INFO] [stderr] Downloaded syn v2.0.50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58a50c9a2c88a1233d26e29f565d5ee41de9ae1bf5c73ccf34774db9923bed64 [INFO] running `Command { std: "docker" "start" "-a" "58a50c9a2c88a1233d26e29f565d5ee41de9ae1bf5c73ccf34774db9923bed64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58a50c9a2c88a1233d26e29f565d5ee41de9ae1bf5c73ccf34774db9923bed64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58a50c9a2c88a1233d26e29f565d5ee41de9ae1bf5c73ccf34774db9923bed64", kill_on_drop: false }` [INFO] [stdout] 58a50c9a2c88a1233d26e29f565d5ee41de9ae1bf5c73ccf34774db9923bed64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de1dc9e695f75d04a503f396eab220fb662be3bfa54cb81944228913f8af3ac3 [INFO] running `Command { std: "docker" "start" "-a" "de1dc9e695f75d04a503f396eab220fb662be3bfa54cb81944228913f8af3ac3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling const-hex v1.11.0 [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 memchr v2.7.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling ruint v1.12.3 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking keccak-const v0.2.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking sha2 v0.10.8 [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] Checking 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "de1dc9e695f75d04a503f396eab220fb662be3bfa54cb81944228913f8af3ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de1dc9e695f75d04a503f396eab220fb662be3bfa54cb81944228913f8af3ac3", kill_on_drop: false }` [INFO] [stdout] de1dc9e695f75d04a503f396eab220fb662be3bfa54cb81944228913f8af3ac3