[INFO] cloning repository https://github.com/ggonzalez94/stylus-debug-issue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ggonzalez94/stylus-debug-issue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggonzalez94%2Fstylus-debug-issue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggonzalez94%2Fstylus-debug-issue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be3808852ccebb759b3311caf724b6aa32e364c9 [INFO] checking ggonzalez94/stylus-debug-issue against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggonzalez94%2Fstylus-debug-issue" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/ggonzalez94/stylus-debug-issue [INFO] finished tweaking git repo https://github.com/ggonzalez94/stylus-debug-issue [INFO] tweaked toml for git repo https://github.com/ggonzalez94/stylus-debug-issue written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ggonzalez94/stylus-debug-issue on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ggonzalez94/stylus-debug-issue 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "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 syn-solidity v0.7.6 [INFO] [stderr] Downloaded alloy-sol-types v0.7.6 [INFO] [stderr] Downloaded stylus-proc v0.6.0 [INFO] [stderr] Downloaded alloy-sol-macro-input v0.7.6 [INFO] [stderr] Downloaded const-hex v1.11.0 [INFO] [stderr] Downloaded stylus-sdk v0.6.0 [INFO] [stderr] Downloaded mini-alloc v0.4.2 [INFO] [stderr] Downloaded alloy-sol-macro-expander v0.7.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.88 [INFO] [stderr] Downloaded mini-alloc v0.6.0 [INFO] [stderr] Downloaded alloy-sol-macro v0.7.6 [INFO] [stderr] Downloaded regex v1.10.3 [INFO] [stderr] Downloaded alloy-primitives v0.7.6 [INFO] [stderr] Downloaded syn v2.0.79 [INFO] [stderr] Downloaded indexmap v2.2.3 [INFO] [stderr] Downloaded regex-automata v0.4.5 [INFO] [stderr] Downloaded proptest v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fa85dca6e73b9d3ce99777581235d19e886ddcc2f5fc142fcdf7667aedb17c8 [INFO] running `Command { std: "docker" "start" "-a" "5fa85dca6e73b9d3ce99777581235d19e886ddcc2f5fc142fcdf7667aedb17c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fa85dca6e73b9d3ce99777581235d19e886ddcc2f5fc142fcdf7667aedb17c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fa85dca6e73b9d3ce99777581235d19e886ddcc2f5fc142fcdf7667aedb17c8", kill_on_drop: false }` [INFO] [stdout] 5fa85dca6e73b9d3ce99777581235d19e886ddcc2f5fc142fcdf7667aedb17c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da60762e674b4c7f955dc0dff1589398df51c699ea68d251aa2f31f452ee8506 [INFO] running `Command { std: "docker" "start" "-a" "da60762e674b4c7f955dc0dff1589398df51c699ea68d251aa2f31f452ee8506", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling itoa v1.0.10 [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 hex-literal v0.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling ruint v1.12.3 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking mini-alloc v0.6.0 [INFO] [stderr] Checking keccak-const v0.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking mini-alloc v0.4.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Checking syn-solidity v0.7.6 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking alloy-sol-macro-input v0.7.6 [INFO] [stderr] Compiling openzeppelin-stylus-proc v0.1.0 (https://github.com/OpenZeppelin/rust-contracts-stylus/?rev=06146bbac2a369fa6a366225d838a97bbf9ae7a7#06146bba) [INFO] [stderr] Checking alloy-sol-macro-expander v0.7.6 [INFO] [stderr] Compiling alloy-primitives v0.7.6 [INFO] [stderr] Compiling alloy-sol-macro v0.7.6 [INFO] [stderr] Compiling alloy-sol-types v0.7.6 [INFO] [stderr] Compiling stylus-proc v0.6.0 [INFO] [stderr] Checking stylus-sdk v0.6.0 [INFO] [stderr] Checking openzeppelin-stylus v0.1.0 (https://github.com/OpenZeppelin/rust-contracts-stylus/?rev=06146bbac2a369fa6a366225d838a97bbf9ae7a7#06146bba) [INFO] [stderr] Checking stylus-hello-world v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [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] [stderr] error: could not compile `stylus-hello-world` (bin "stylus-hello-world") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[E0282]: type annotations needed [INFO] [stdout] --> examples/counter.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let chain_id = provider.get_chainid().await?.as_u64(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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: E0282, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stylus-hello-world` (example "counter") due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "da60762e674b4c7f955dc0dff1589398df51c699ea68d251aa2f31f452ee8506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da60762e674b4c7f955dc0dff1589398df51c699ea68d251aa2f31f452ee8506", kill_on_drop: false }` [INFO] [stdout] da60762e674b4c7f955dc0dff1589398df51c699ea68d251aa2f31f452ee8506