[INFO] updating cached repository https://github.com/fulmicoton/common-search [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 83a686933cfc89a365012d809038ba6812a7eb01 [INFO] checking fulmicoton/common-search against try#13f916f63bc6575d5ff1f989237dfabe88981368 for pr-69880 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffulmicoton%2Fcommon-search" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fulmicoton/common-search on toolchain 13f916f63bc6575d5ff1f989237dfabe88981368 [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/fulmicoton/common-search [INFO] removed path dependency tantivy from git repo https://github.com/fulmicoton/common-search [INFO] finished tweaking git repo https://github.com/fulmicoton/common-search [INFO] tweaked toml for git repo https://github.com/fulmicoton/common-search written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/fulmicoton/common-search already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (tantivy) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (tantivy) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f219c6f6534462638f14cf1903db37554e77e904d8ace7fb55fe5b3b1d31daeb [INFO] running `"docker" "start" "-a" "f219c6f6534462638f14cf1903db37554e77e904d8ace7fb55fe5b3b1d31daeb"` [INFO] [stderr] warning: dependency (tantivy) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling snap v1.0.0 [INFO] [stderr] Compiling curl v0.4.28 [INFO] [stderr] Checking census v0.4.0 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Compiling curl-sys v0.4.30+curl-7.69.1 [INFO] [stderr] Checking owned-read v0.4.1 [INFO] [stderr] Checking whatlang v0.5.0 [INFO] [stderr] Checking combine v4.0.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking fst v0.3.5 [INFO] [stderr] Checking bitpacking v0.8.2 [INFO] [stderr] Checking murmurhash32 v0.2.0 [INFO] [stderr] Compiling structopt-derive v0.1.6 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking atomicwrites v0.2.5 [INFO] [stderr] Checking structopt v0.1.7 [INFO] [stderr] Checking serde v1.0.104 [INFO] [stderr] Checking fail v0.3.0 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking rayon v0.9.0 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking levenshtein_automata v0.1.1 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking tantivy-fst v0.2.1 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking rust-stemmers v1.2.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking tantivy-query-grammar v0.12.0 [INFO] [stderr] Checking tantivy v0.12.0 [INFO] [stderr] Checking tantivy-commoncrawl v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `futures::future::Future` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use futures::future::Future; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tantivy::tokenizer::Tokenizer` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use tantivy::tokenizer::Tokenizer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::future::Future` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use futures::future::Future; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tantivy::tokenizer::Tokenizer` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use tantivy::tokenizer::Tokenizer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `flate2::read::MultiGzDecoder` [INFO] [stderr] --> src/main.rs:340:9 [INFO] [stderr] | [INFO] [stderr] 340 | use flate2::read::MultiGzDecoder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tantivy::Index` [INFO] [stderr] --> src/main.rs:341:9 [INFO] [stderr] | [INFO] [stderr] 341 | use tantivy::Index; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `&std::path::Path: tantivy::Directory` is not satisfied [INFO] [stderr] --> src/main.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | Index::create(index_directory, schema()).expect("Failed to create the index"); [INFO] [stderr] | ^^^^^^^^^^^^^ the trait `tantivy::Directory` is not implemented for `&std::path::Path` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tantivy-0.12.0/src/core/index.rs:144:24 [INFO] [stderr] | [INFO] [stderr] 144 | pub fn create(dir: Dir, schema: Schema) -> crate::Result { [INFO] [stderr] | --------- required by this bound in `tantivy::Index::create` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `&std::path::Path: tantivy::Directory` is not satisfied [INFO] [stderr] --> src/main.rs:245:29 [INFO] [stderr] | [INFO] [stderr] 245 | let index = Index::open(index_directory)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ the trait `tantivy::Directory` is not implemented for `&std::path::Path` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tantivy-0.12.0/src/core/index.rs:242:20 [INFO] [stderr] | [INFO] [stderr] 242 | pub fn open(directory: D) -> crate::Result { [INFO] [stderr] | --------- required by this bound in `tantivy::Index::open` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `&std::path::Path: tantivy::Directory` is not satisfied [INFO] [stderr] --> src/main.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | Index::create(index_directory, schema()).expect("Failed to create the index"); [INFO] [stderr] | ^^^^^^^^^^^^^ the trait `tantivy::Directory` is not implemented for `&std::path::Path` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tantivy-0.12.0/src/core/index.rs:144:24 [INFO] [stderr] | [INFO] [stderr] 144 | pub fn create(dir: Dir, schema: Schema) -> crate::Result { [INFO] [stderr] | --------- required by this bound in `tantivy::Index::create` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `filter` found for struct `tantivy::tokenizer::SimpleTokenizer` in the current scope [INFO] [stderr] --> src/main.rs:247:10 [INFO] [stderr] | [INFO] [stderr] 247 | .filter(RemoveLongFilter::limit(40)) [INFO] [stderr] | ^^^^^^ method not found in `tantivy::tokenizer::SimpleTokenizer` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tantivy-0.12.0/src/tokenizer/simple_tokenizer.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct SimpleTokenizer; [INFO] [stderr] | --------------------------- doesn't satisfy `_: std::iter::Iterator` [INFO] [stderr] | [INFO] [stderr] = note: the method `filter` exists but the following trait bounds were not satisfied: [INFO] [stderr] `tantivy::tokenizer::SimpleTokenizer: std::iter::Iterator` [INFO] [stderr] which is required by `&mut tantivy::tokenizer::SimpleTokenizer: std::iter::Iterator` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `&std::path::Path: tantivy::Directory` is not satisfied [INFO] [stderr] --> src/main.rs:245:29 [INFO] [stderr] | [INFO] [stderr] 245 | let index = Index::open(index_directory)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ the trait `tantivy::Directory` is not implemented for `&std::path::Path` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tantivy-0.12.0/src/core/index.rs:242:20 [INFO] [stderr] | [INFO] [stderr] 242 | pub fn open(directory: D) -> crate::Result { [INFO] [stderr] | --------- required by this bound in `tantivy::Index::open` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `filter` found for struct `tantivy::tokenizer::SimpleTokenizer` in the current scope [INFO] [stderr] --> src/main.rs:247:10 [INFO] [stderr] | [INFO] [stderr] 247 | .filter(RemoveLongFilter::limit(40)) [INFO] [stderr] | ^^^^^^ method not found in `tantivy::tokenizer::SimpleTokenizer` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tantivy-0.12.0/src/tokenizer/simple_tokenizer.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct SimpleTokenizer; [INFO] [stderr] | --------------------------- doesn't satisfy `_: std::iter::Iterator` [INFO] [stderr] | [INFO] [stderr] = note: the method `filter` exists but the following trait bounds were not satisfied: [INFO] [stderr] `tantivy::tokenizer::SimpleTokenizer: std::iter::Iterator` [INFO] [stderr] which is required by `&mut tantivy::tokenizer::SimpleTokenizer: std::iter::Iterator` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stderr] --> src/main.rs:250:17 [INFO] [stderr] | [INFO] [stderr] 250 | .filter(Stemmer::new()) [INFO] [stderr] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stderr] --> src/main.rs:250:17 [INFO] [stderr] | [INFO] [stderr] 250 | .filter(Stemmer::new()) [INFO] [stderr] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stderr] --> src/main.rs:307:9 [INFO] [stderr] | [INFO] [stderr] 307 | index_writer.garbage_collect_files()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl futures::Future` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `impl futures::Future` [INFO] [stderr] = note: required by `std::ops::Try::into_result` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wait` found for opaque type `impl futures::Future` in the current scope [INFO] [stderr] --> src/main.rs:311:14 [INFO] [stderr] | [INFO] [stderr] 311 | .wait() [INFO] [stderr] | ^^^^ method not found in `impl futures::Future` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stderr] --> src/main.rs:307:9 [INFO] [stderr] | [INFO] [stderr] 307 | index_writer.garbage_collect_files()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl futures::Future` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `impl futures::Future` [INFO] [stderr] = note: required by `std::ops::Try::into_result` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wait` found for opaque type `impl futures::Future` in the current scope [INFO] [stderr] --> src/main.rs:311:14 [INFO] [stderr] | [INFO] [stderr] 311 | .wait() [INFO] [stderr] | ^^^^ method not found in `impl futures::Future` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error[E0599]: no method named `read_to_end` found for struct `std::fs::File` in the current scope [INFO] [stderr] --> src/main.rs:347:14 [INFO] [stderr] | [INFO] [stderr] 347 | file.read_to_end(&mut data).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `std::fs::File` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::io::Read;` [INFO] [stderr] [INFO] [stderr] error: could not compile `tantivy-commoncrawl`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `tantivy-commoncrawl`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f219c6f6534462638f14cf1903db37554e77e904d8ace7fb55fe5b3b1d31daeb"` [INFO] running `"docker" "rm" "-f" "f219c6f6534462638f14cf1903db37554e77e904d8ace7fb55fe5b3b1d31daeb"` [INFO] [stdout] f219c6f6534462638f14cf1903db37554e77e904d8ace7fb55fe5b3b1d31daeb