[INFO] cloning repository https://github.com/alidn/universal-lsif [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alidn/universal-lsif" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falidn%2Funiversal-lsif", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falidn%2Funiversal-lsif'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca07720c721181a399c9497323d51850f98e11b9 [INFO] checking alidn/universal-lsif against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falidn%2Funiversal-lsif" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alidn/universal-lsif on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alidn/universal-lsif [INFO] finished tweaking git repo https://github.com/alidn/universal-lsif [INFO] tweaked toml for git repo https://github.com/alidn/universal-lsif written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/alidn/universal-lsif already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded languageserver-types v0.54.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97d6536e458d543bd62288f9c33789c8a0100a841975140083e0dd58a2f35e5c [INFO] running `Command { std: "docker" "start" "-a" "97d6536e458d543bd62288f9c33789c8a0100a841975140083e0dd58a2f35e5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97d6536e458d543bd62288f9c33789c8a0100a841975140083e0dd58a2f35e5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97d6536e458d543bd62288f9c33789c8a0100a841975140083e0dd58a2f35e5c", kill_on_drop: false }` [INFO] [stdout] 97d6536e458d543bd62288f9c33789c8a0100a841975140083e0dd58a2f35e5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 168a4bf0469fb24662270a9e07ab98f584d0df930e1f78cb81b47b3babefe167 [INFO] running `Command { std: "docker" "start" "-a" "168a4bf0469fb24662270a9e07ab98f584d0df930e1f78cb81b47b3babefe167", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling serde_derive v1.0.120 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking console v0.14.0 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking ignore v0.4.17 [INFO] [stderr] Checking url_serde v0.2.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking languageserver-types v0.54.0 [INFO] [stderr] Checking jsonrpc-lite v0.5.0 [INFO] [stderr] Checking universal-lsif v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lsif_data_cache.rs (1 fix) [INFO] [stderr] Fixed src/lsp/parse_helpers.rs (1 fix) [INFO] [stderr] Fixed src/indexer.rs (4 fixes) [INFO] [stderr] Fixed src/protocol/types.rs (1 fix) [INFO] [stderr] Fixed src/tests/mod.rs (6 fixes) [INFO] [stderr] Fixed src/main.rs (8 fixes) [INFO] [stderr] Fixed src/lsp/mod.rs (5 fixes) [INFO] [stderr] Fixed src/crawler.rs (4 fixes) [INFO] [stderr] Fixed src/cli.rs (1 fix) [INFO] [stdout] error[E0425]: cannot find function `get_words` in this scope [INFO] [stdout] --> src/crawler.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | get_words(text.to_string()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 259 | use crate::crawler::get_words; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_words` in this scope [INFO] [stdout] --> src/crawler.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | get_words(text.to_string()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 259 | use crate::crawler::get_words; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TextDocumentPositionParams` in this scope [INFO] [stdout] --> src/tests/mod.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | .get_definition(TextDocumentPositionParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::protocol::types::TextDocumentPositionParams; [INFO] [stdout] | [INFO] [stdout] 2 | use languageserver_types::TextDocumentPositionParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TextDocumentIdentifier` in this scope [INFO] [stdout] --> src/tests/mod.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | text_document: TextDocumentIdentifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::protocol::types::TextDocumentIdentifier; [INFO] [stdout] | [INFO] [stdout] 2 | use languageserver_types::TextDocumentIdentifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Url` [INFO] [stdout] --> src/tests/mod.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | uri: Url::from_file_path( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::protocol::types::Url; [INFO] [stdout] | [INFO] [stdout] 2 | use languageserver_types::Url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Position` in this scope [INFO] [stdout] --> src/tests/mod.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | position: Position { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::protocol::types::Position; [INFO] [stdout] | [INFO] [stdout] 2 | use languageserver_types::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/crawler.rs:270:47 [INFO] [stdout] | [INFO] [stdout] 270 | .try_for_each(|(word, _range)| -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 generic parameters: `T`, `E` [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 270 | .try_for_each(|(word, _range)| -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/crawler.rs:314:47 [INFO] [stdout] | [INFO] [stdout] 314 | .try_for_each(|(word, _range)| -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 generic parameters: `T`, `E` [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 314 | .try_for_each(|(word, _range)| -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lsp/mod.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 178 | / match JsonRpc::parse(message) { [INFO] [stdout] 179 | | Ok(JsonRpc::Request(_obj)) => { [INFO] [stdout] 180 | | //dbg!(obj); [INFO] [stdout] 181 | | return None; [INFO] [stdout] ... | [INFO] [stdout] 197 | | Err(err) => panic!("Error in parsing incoming string: {}", err), [INFO] [stdout] 198 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 199 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParallelIterator` [INFO] [stdout] --> src/crawler.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | use rayon::iter::{ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `universal-lsif` due to 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lsp/mod.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 178 | / match JsonRpc::parse(message) { [INFO] [stdout] 179 | | Ok(JsonRpc::Request(_obj)) => { [INFO] [stdout] 180 | | //dbg!(obj); [INFO] [stdout] 181 | | return None; [INFO] [stdout] ... | [INFO] [stdout] 197 | | Err(err) => panic!("Error in parsing incoming string: {}", err), [INFO] [stdout] 198 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 199 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParallelIterator` [INFO] [stdout] --> src/crawler.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | use rayon::iter::{ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_document` [INFO] [stdout] --> src/lsif_data_cache.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_document(&self, filename: &str) -> Option<&DocumentInfo> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_extensions` [INFO] [stdout] --> src/protocol/types.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn get_extensions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_client` [INFO] [stdout] --> src/tests/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn get_client() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `client_with_document` [INFO] [stdout] --> src/tests/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn client_with_document(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_client` [INFO] [stdout] --> src/tests/mod.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_client() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "168a4bf0469fb24662270a9e07ab98f584d0df930e1f78cb81b47b3babefe167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "168a4bf0469fb24662270a9e07ab98f584d0df930e1f78cb81b47b3babefe167", kill_on_drop: false }` [INFO] [stdout] 168a4bf0469fb24662270a9e07ab98f584d0df930e1f78cb81b47b3babefe167