[INFO] cloning repository https://github.com/Navidem/rls-analysis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Navidem/rls-analysis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNavidem%2Frls-analysis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNavidem%2Frls-analysis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5a178098f159354096d97dd86941963facc7dce [INFO] checking Navidem/rls-analysis against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNavidem%2Frls-analysis" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Navidem/rls-analysis on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Navidem/rls-analysis [INFO] finished tweaking git repo https://github.com/Navidem/rls-analysis [INFO] tweaked toml for git repo https://github.com/Navidem/rls-analysis written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/Navidem/rls-analysis already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nibble_vec v0.0.4 [INFO] [stderr] Downloaded derive-new v0.5.4 [INFO] [stderr] Downloaded rls-span v0.4.0 [INFO] [stderr] Downloaded rls-data v0.16.0 [INFO] [stderr] Downloaded radix_trie v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ec4438436969aa8bbb83b21b40aed9dc1344fb86c8ea536d0fb7c13f0eadb93 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2ec4438436969aa8bbb83b21b40aed9dc1344fb86c8ea536d0fb7c13f0eadb93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ec4438436969aa8bbb83b21b40aed9dc1344fb86c8ea536d0fb7c13f0eadb93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec4438436969aa8bbb83b21b40aed9dc1344fb86c8ea536d0fb7c13f0eadb93", kill_on_drop: false }` [INFO] [stdout] 2ec4438436969aa8bbb83b21b40aed9dc1344fb86c8ea536d0fb7c13f0eadb93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 643954e6b94e2075aff35d7bf14f994ef43fb783b712a9c3c8f2f84215ff7dd5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "643954e6b94e2075aff35d7bf14f994ef43fb783b712a9c3c8f2f84215ff7dd5", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking nibble_vec v0.0.4 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Compiling proc-macro2 v0.3.6 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking radix_trie v0.1.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling quote v0.5.1 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking rls-span v0.4.0 [INFO] [stderr] Checking rls-data v0.16.0 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Compiling derive-new v0.5.4 [INFO] [stderr] Checking rls-analysis v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:581:25 [INFO] [stdout] | [INFO] [stdout] 581 | write!(f, "{}", ::std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:581:25 [INFO] [stdout] | [INFO] [stdout] 581 | write!(f, "{}", ::std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:516:45 [INFO] [stdout] | [INFO] [stdout] 516 | ... parent_qualpath.trim_right_matches('/'), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:516:45 [INFO] [stdout] | [INFO] [stdout] 516 | ... parent_qualpath.trim_right_matches('/'), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_dir` [INFO] [stdout] --> src/lowering.rs:366:51 [INFO] [stdout] | [INFO] [stdout] 366 | fn lower_sig(&self, raw_sig: &raw::Signature, base_dir: &Path) -> Signature { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_dir` [INFO] [stdout] --> src/lowering.rs:366:51 [INFO] [stdout] | [INFO] [stdout] 366 | fn lower_sig(&self, raw_sig: &raw::Signature, base_dir: &Path) -> Signature { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> benches/std_api_crate.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref STDLIB_FILE_PATH: PathBuf = PathBuf::from("/checkout/src/libstd/lib.rs"); [INFO] [stdout] 49 | | static ref STDLIB_DATA_PATH: PathBuf = PathBuf::from("test_data/rust-analysis"); [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 57 | | }; [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> benches/std_api_crate.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref STDLIB_FILE_PATH: PathBuf = PathBuf::from("/checkout/src/libstd/lib.rs"); [INFO] [stdout] 49 | | static ref STDLIB_DATA_PATH: PathBuf = PathBuf::from("test_data/rust-analysis"); [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 57 | | }; [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> benches/std_api_crate.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref STDLIB_FILE_PATH: PathBuf = PathBuf::from("/checkout/src/libstd/lib.rs"); [INFO] [stdout] 49 | | static ref STDLIB_DATA_PATH: PathBuf = PathBuf::from("test_data/rust-analysis"); [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 57 | | }; [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `search_directories` has an incompatible type for trait [INFO] [stdout] --> benches/std_api_crate.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | fn search_directories(&self) -> Vec { vec![self.path.clone()] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `rls_analysis::loader::SearchDirectory`, found struct `PathBuf` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&TestAnalysisLoader) -> Vec` [INFO] [stdout] found fn pointer `fn(&TestAnalysisLoader) -> Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rls-analysis` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "643954e6b94e2075aff35d7bf14f994ef43fb783b712a9c3c8f2f84215ff7dd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "643954e6b94e2075aff35d7bf14f994ef43fb783b712a9c3c8f2f84215ff7dd5", kill_on_drop: false }` [INFO] [stdout] 643954e6b94e2075aff35d7bf14f994ef43fb783b712a9c3c8f2f84215ff7dd5