[INFO] cloning repository https://github.com/doocho/stylus-erc721 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/doocho/stylus-erc721" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoocho%2Fstylus-erc721", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoocho%2Fstylus-erc721'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af1932aa7986b51eb1657764484201645b3f909a [INFO] checking doocho/stylus-erc721 against try#8cf44c88fc5805dc578c5c987397615b47d2e2b2 for pr-136764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoocho%2Fstylus-erc721" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/doocho/stylus-erc721 on toolchain 8cf44c88fc5805dc578c5c987397615b47d2e2b2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8cf44c88fc5805dc578c5c987397615b47d2e2b2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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/doocho/stylus-erc721 [INFO] finished tweaking git repo https://github.com/doocho/stylus-erc721 [INFO] tweaked toml for git repo https://github.com/doocho/stylus-erc721 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/doocho/stylus-erc721 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" "+8cf44c88fc5805dc578c5c987397615b47d2e2b2" "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 ruint-macro v1.1.0 [INFO] [stderr] Downloaded stylus-sdk v0.5.0 [INFO] [stderr] Downloaded alloy-primitives v0.3.3 [INFO] [stderr] Downloaded alloy-sol-macro v0.3.1 [INFO] [stderr] Downloaded mini-alloc v0.4.2 [INFO] [stderr] Downloaded ruint v1.11.1 [INFO] [stderr] Downloaded syn-solidity v0.3.1 [INFO] [stderr] Downloaded stylus-proc v0.5.0 [INFO] [stderr] Downloaded alloy-sol-types v0.3.1 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+8cf44c88fc5805dc578c5c987397615b47d2e2b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8b942e7b4fae3ba3a1bd37e92ca84d4353c394810228dc28d63e470808caea0 [INFO] running `Command { std: "docker" "start" "-a" "d8b942e7b4fae3ba3a1bd37e92ca84d4353c394810228dc28d63e470808caea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8b942e7b4fae3ba3a1bd37e92ca84d4353c394810228dc28d63e470808caea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8b942e7b4fae3ba3a1bd37e92ca84d4353c394810228dc28d63e470808caea0", kill_on_drop: false }` [INFO] [stdout] d8b942e7b4fae3ba3a1bd37e92ca84d4353c394810228dc28d63e470808caea0 [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" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+8cf44c88fc5805dc578c5c987397615b47d2e2b2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 528bf9695b766bef015c282f943200f6a8d0f37d60ecc311b5cc5f4e30def4e6 [INFO] running `Command { std: "docker" "start" "-a" "528bf9695b766bef015c282f943200f6a8d0f37d60ecc311b5cc5f4e30def4e6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling ruint-macro v1.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling const-hex v1.11.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ruint v1.11.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking keccak-const v0.2.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking mini-alloc v0.4.2 [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] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling syn-solidity v0.3.1 [INFO] [stderr] Compiling alloy-sol-macro v0.3.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling alloy-primitives v0.3.3 [INFO] [stderr] Compiling alloy-sol-types v0.3.1 [INFO] [stderr] Compiling stylus-proc v0.5.0 [INFO] [stderr] Checking stylus-sdk v0.5.0 [INFO] [stderr] Checking stylus-erc721 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `token_id` [INFO] [stdout] --> src/lib.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | fn token_uri(token_id: U256) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_id` [INFO] [stdout] --> src/lib.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | fn token_uri(token_id: U256) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `stylus_erc721` [INFO] [stdout] --> src/main.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 4 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stylus-erc721` (bin "stylus-erc721") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "528bf9695b766bef015c282f943200f6a8d0f37d60ecc311b5cc5f4e30def4e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "528bf9695b766bef015c282f943200f6a8d0f37d60ecc311b5cc5f4e30def4e6", kill_on_drop: false }` [INFO] [stdout] 528bf9695b766bef015c282f943200f6a8d0f37d60ecc311b5cc5f4e30def4e6