[INFO] fetching crate rust-code-analysis 0.0.23... [INFO] testing rust-code-analysis-0.0.23 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate rust-code-analysis 0.0.23 into /workspace/builds/worker-68/source [INFO] validating manifest of crates.io crate rust-code-analysis 0.0.23 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust-code-analysis 0.0.23 [INFO] finished tweaking crates.io crate rust-code-analysis 0.0.23 [INFO] tweaked toml for crates.io crate rust-code-analysis 0.0.23 written to /workspace/builds/worker-68/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tree-sitter-python v0.19.1 [INFO] [stderr] Downloaded tree-sitter v0.20.0 [INFO] [stderr] Downloaded tree-sitter-javascript v0.19.1 [INFO] [stderr] Downloaded tree-sitter v0.19.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 145336e20659c5d1e9b6a09505b7c73cb466662d68ea2241b0d7b759a5cf4865 [INFO] running `Command { std: "docker" "start" "-a" "145336e20659c5d1e9b6a09505b7c73cb466662d68ea2241b0d7b759a5cf4865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "145336e20659c5d1e9b6a09505b7c73cb466662d68ea2241b0d7b759a5cf4865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "145336e20659c5d1e9b6a09505b7c73cb466662d68ea2241b0d7b759a5cf4865", kill_on_drop: false }` [INFO] [stdout] 145336e20659c5d1e9b6a09505b7c73cb466662d68ea2241b0d7b759a5cf4865 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 572d84bc0b50f6de75607c70e51d5b5fba92561fba5847a148187d7d33162ad2 [INFO] running `Command { std: "docker" "start" "-a" "572d84bc0b50f6de75607c70e51d5b5fba92561fba5847a148187d7d33162ad2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tree-sitter v0.19.5 [INFO] [stderr] Compiling tree-sitter v0.20.0 [INFO] [stderr] Compiling tree-sitter-javascript v0.19.1 [INFO] [stderr] Compiling tree-sitter-cpp v0.19.0 [INFO] [stderr] Compiling tree-sitter-rust v0.19.0 [INFO] [stderr] Compiling tree-sitter-typescript v0.19.0 [INFO] [stderr] Compiling tree-sitter-python v0.19.1 [INFO] [stderr] Compiling tree-sitter-ccomment v0.19.0 [INFO] [stderr] Compiling tree-sitter-java v0.19.0 [INFO] [stderr] Compiling tree-sitter-preproc v0.19.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-format v0.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling rust-code-analysis v0.0.23 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling tree-sitter-mozcpp v0.19.5 [INFO] [stderr] Compiling tree-sitter-mozjs v0.19.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling enum-iterator-derive v0.6.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling enum-iterator v0.6.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/asttools.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/asttools.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:221:1 [INFO] [stdout] | [INFO] [stdout] 221 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | $name::language() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected struct `Language`, found struct `tree_sitter::Language` [INFO] [stdout] ... [INFO] [stdout] 235 | fn get_language() -> Language { [INFO] [stdout] | -------- expected `Language` because of return type [INFO] [stdout] | [INFO] [stdout] ::: src/langs.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / mk_langs!( [INFO] [stdout] 10 | | // 1) Name for enum [INFO] [stdout] 11 | | // 2) Language description [INFO] [stdout] 12 | | // 3) Display name [INFO] [stdout] ... | [INFO] [stdout] 117 | | ) [INFO] [stdout] 118 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `tree_sitter` are being used? [INFO] [stdout] = note: this error originates in the macro `get_language` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | $name::language() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected struct `Language`, found struct `tree_sitter::Language` [INFO] [stdout] ... [INFO] [stdout] 235 | fn get_language() -> Language { [INFO] [stdout] | -------- expected `Language` because of return type [INFO] [stdout] | [INFO] [stdout] ::: src/langs.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / mk_langs!( [INFO] [stdout] 10 | | // 1) Name for enum [INFO] [stdout] 11 | | // 2) Language description [INFO] [stdout] 12 | | // 3) Display name [INFO] [stdout] ... | [INFO] [stdout] 117 | | ) [INFO] [stdout] 118 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `tree_sitter` are being used? [INFO] [stdout] = note: this error originates in the macro `get_language` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-code-analysis` due to 3 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "572d84bc0b50f6de75607c70e51d5b5fba92561fba5847a148187d7d33162ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "572d84bc0b50f6de75607c70e51d5b5fba92561fba5847a148187d7d33162ad2", kill_on_drop: false }` [INFO] [stdout] 572d84bc0b50f6de75607c70e51d5b5fba92561fba5847a148187d7d33162ad2