[INFO] cloning repository https://github.com/shramee/dojo-macros-in-scarb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shramee/dojo-macros-in-scarb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshramee%2Fdojo-macros-in-scarb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshramee%2Fdojo-macros-in-scarb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3933bb1f73de1604a1187cc695960e667c919cce [INFO] testing shramee/dojo-macros-in-scarb against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshramee%2Fdojo-macros-in-scarb" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shramee/dojo-macros-in-scarb [INFO] finished tweaking git repo https://github.com/shramee/dojo-macros-in-scarb [INFO] tweaked toml for git repo https://github.com/shramee/dojo-macros-in-scarb written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shramee/dojo-macros-in-scarb on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shramee/dojo-macros-in-scarb 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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] testing shramee/dojo-macros-in-scarb against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshramee%2Fdojo-macros-in-scarb" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shramee/dojo-macros-in-scarb [INFO] finished tweaking git repo https://github.com/shramee/dojo-macros-in-scarb [INFO] tweaked toml for git repo https://github.com/shramee/dojo-macros-in-scarb written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shramee/dojo-macros-in-scarb on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shramee/dojo-macros-in-scarb 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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 redox_syscall v0.5.7 [INFO] [stderr] Downloaded triomphe v0.1.14 [INFO] [stderr] Downloaded thiserror-impl v1.0.68 [INFO] [stderr] Downloaded thiserror v1.0.68 [INFO] [stderr] Downloaded rust-analyzer-salsa-macros v0.17.0-pre.6 [INFO] [stderr] Downloaded unescaper v0.1.5 [INFO] [stderr] Downloaded scarb-stable-hash v1.0.0 [INFO] [stderr] Downloaded genco-macros v0.17.9 [INFO] [stderr] Downloaded cairo-lang-macro-stable v1.0.0 [INFO] [stderr] Downloaded linkme v0.3.29 [INFO] [stderr] Downloaded cairo-lang-macro v0.1.0 [INFO] [stderr] Downloaded linkme-impl v0.3.29 [INFO] [stderr] Downloaded cairo-lang-debug v2.8.4 [INFO] [stderr] Downloaded xxhash-rust v0.8.12 [INFO] [stderr] Downloaded cairo-lang-utils v2.8.4 [INFO] [stderr] Downloaded xshell v0.2.6 [INFO] [stderr] Downloaded cairo-lang-syntax v2.8.4 [INFO] [stderr] Downloaded genco v0.17.9 [INFO] [stderr] Downloaded bigdecimal v0.4.6 [INFO] [stderr] Downloaded cairo-lang-macro-attributes v0.1.0 [INFO] [stderr] Downloaded libm v0.2.11 [INFO] [stderr] Downloaded cairo-lang-parser v2.8.4 [INFO] [stderr] Downloaded hashbrown v0.15.1 [INFO] [stderr] Downloaded cairo-lang-diagnostics v2.8.4 [INFO] [stderr] Downloaded cairo-lang-syntax-codegen v2.8.4 [INFO] [stderr] Downloaded colored v2.1.0 [INFO] [stderr] Downloaded path-clean v1.0.1 [INFO] [stderr] Downloaded cairo-lang-filesystem v2.8.4 [INFO] [stderr] Downloaded oorandom v11.1.4 [INFO] [stderr] Downloaded xshell-macros v0.2.6 [INFO] [stderr] Downloaded rust-analyzer-salsa v0.17.0-pre.6 [INFO] [stderr] Downloaded libc v0.2.161 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87f2fe1fac1ccbe1903ccbde55c7ff9639a58b60f564b43a8b7daa79fe00197e [INFO] running `Command { std: "docker" "start" "-a" "87f2fe1fac1ccbe1903ccbde55c7ff9639a58b60f564b43a8b7daa79fe00197e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87f2fe1fac1ccbe1903ccbde55c7ff9639a58b60f564b43a8b7daa79fe00197e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87f2fe1fac1ccbe1903ccbde55c7ff9639a58b60f564b43a8b7daa79fe00197e", kill_on_drop: false }` [INFO] [stdout] 87f2fe1fac1ccbe1903ccbde55c7ff9639a58b60f564b43a8b7daa79fe00197e [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 105677b5924b6154a5669e33b999082b6c6291f530938af94e16b457355837bf [INFO] running `Command { std: "docker" "start" "-a" "105677b5924b6154a5669e33b999082b6c6291f530938af94e16b457355837bf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling genco-macros v0.17.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling path-clean v1.0.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling xshell-macros v0.2.6 [INFO] [stderr] Compiling xxhash-rust v0.8.12 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cairo-lang-macro-stable v1.0.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling bigdecimal v0.4.6 [INFO] [stderr] Compiling xshell v0.2.6 [INFO] [stderr] Compiling scarb-stable-hash v1.0.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling rust-analyzer-salsa-macros v0.17.0-pre.6 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling linkme-impl v0.3.29 [INFO] [stderr] Compiling cairo-lang-macro-attributes v0.1.0 [INFO] [stderr] Compiling genco v0.17.9 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling linkme v0.3.29 [INFO] [stderr] Compiling cairo-lang-macro v0.1.0 [INFO] [stderr] Compiling unescaper v0.1.5 [INFO] [stderr] Compiling cairo-lang-syntax-codegen v2.8.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling rust-analyzer-salsa v0.17.0-pre.6 [INFO] [stderr] Compiling cairo-lang-utils v2.8.4 [INFO] [stderr] Compiling cairo-lang-debug v2.8.4 [INFO] [stderr] Compiling cairo-lang-filesystem v2.8.4 [INFO] [stderr] Compiling cairo-lang-syntax v2.8.4 [INFO] [stderr] Compiling cairo-lang-diagnostics v2.8.4 [INFO] [stderr] Compiling cairo-lang-parser v2.8.4 [INFO] [stderr] Compiling dojo_macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found keyword `if` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | if let SyntaxKind::ItemModule = module_ast.kind(&db) { [INFO] [stdout] | ^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `.`, `::`, `;`, `?`, `}`, or an operator, found keyword `let` [INFO] [stdout] --> src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | if let SyntaxKind::ItemModule = module_ast.kind(&db) { [INFO] [stdout] | ^^^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier or integer [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | if let SyntaxKind::ItemModule = module_ast.kind(&db) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Diagnostic`, `ProcMacroResult`, and `TokenStream` [INFO] [stdout] --> src/lib.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use cairo_lang_macro::{attribute_macro, Diagnostic, ProcMacroResult, TokenStream}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cairo_lang_parser::utils::SimpleParserDatabase` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cairo_lang_parser::utils::SimpleParserDatabase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MaybeModuleBody` and `ModuleItem` [INFO] [stdout] --> src/lib.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use cairo_lang_syntax::node::ast::{self, MaybeModuleBody, ModuleItem}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cairo_lang_syntax::node::kind::SyntaxKind` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cairo_lang_syntax::node::kind::SyntaxKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SyntaxNode` and `Terminal` [INFO] [stdout] --> src/lib.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use cairo_lang_syntax::node::{SyntaxNode, Terminal, TypedSyntaxNode}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dojo_macros` (lib) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "105677b5924b6154a5669e33b999082b6c6291f530938af94e16b457355837bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "105677b5924b6154a5669e33b999082b6c6291f530938af94e16b457355837bf", kill_on_drop: false }` [INFO] [stdout] 105677b5924b6154a5669e33b999082b6c6291f530938af94e16b457355837bf