[INFO] updating cached repository https://github.com/fulmicoton/common-search [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83a686933cfc89a365012d809038ba6812a7eb01 [INFO] testing fulmicoton/common-search against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffulmicoton%2Fcommon-search" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fulmicoton/common-search on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/fulmicoton/common-search already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3363545bf7534b3d0f98c7a651caf011c3e8e84c59b7526983248e1baf063faa [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" "3363545bf7534b3d0f98c7a651caf011c3e8e84c59b7526983248e1baf063faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3363545bf7534b3d0f98c7a651caf011c3e8e84c59b7526983248e1baf063faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3363545bf7534b3d0f98c7a651caf011c3e8e84c59b7526983248e1baf063faa", kill_on_drop: false }` [INFO] [stdout] 3363545bf7534b3d0f98c7a651caf011c3e8e84c59b7526983248e1baf063faa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c8d4550fa30d48eafd1664d0b284e4d81bd18151670d90a3084a0fe0abf77f8 [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" "8c8d4550fa30d48eafd1664d0b284e4d81bd18151670d90a3084a0fe0abf77f8", kill_on_drop: false }` [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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling snap v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling curl v0.4.31 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling census v0.4.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling owned-read v0.4.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling whatlang v0.5.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling curl-sys v0.4.33+curl-7.71.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling combine v4.2.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling bitpacking v0.8.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling fst v0.3.5 [INFO] [stderr] Compiling murmurhash32 v0.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling levenshtein_automata v0.1.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling structopt-derive v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tantivy-fst v0.2.1 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling chan v0.1.23 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling fail v0.3.0 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling rayon v0.9.0 [INFO] [stderr] Compiling atomicwrites v0.2.5 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling structopt v0.1.7 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling tantivy-query-grammar v0.12.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling tantivy v0.12.0 [INFO] [stderr] Compiling tantivy-commoncrawl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::future::Future` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use futures::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tantivy::tokenizer::Tokenizer` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use tantivy::tokenizer::Tokenizer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&std::path::Path: tantivy::Directory` is not satisfied [INFO] [stdout] --> src/main.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | Index::create(index_directory, schema()).expect("Failed to create the index"); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `tantivy::Directory` is not implemented for `&std::path::Path` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tantivy-0.12.0/src/core/index.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn create(dir: Dir, schema: Schema) -> crate::Result { [INFO] [stdout] | --------- required by this bound in `tantivy::Index::create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&std::path::Path: tantivy::Directory` is not satisfied [INFO] [stdout] --> src/main.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | let index = Index::open(index_directory)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `tantivy::Directory` is not implemented for `&std::path::Path` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tantivy-0.12.0/src/core/index.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn open(directory: D) -> crate::Result { [INFO] [stdout] | --------- required by this bound in `tantivy::Index::open` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `filter` found for struct `tantivy::tokenizer::SimpleTokenizer` in the current scope [INFO] [stdout] --> src/main.rs:247:10 [INFO] [stdout] | [INFO] [stdout] 247 | .filter(RemoveLongFilter::limit(40)) [INFO] [stdout] | ^^^^^^ method not found in `tantivy::tokenizer::SimpleTokenizer` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tantivy-0.12.0/src/tokenizer/simple_tokenizer.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SimpleTokenizer; [INFO] [stdout] | --------------------------- doesn't satisfy `_: std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the method `filter` exists but the following trait bounds were not satisfied: [INFO] [stdout] `tantivy::tokenizer::SimpleTokenizer: std::iter::Iterator` [INFO] [stdout] which is required by `&mut tantivy::tokenizer::SimpleTokenizer: std::iter::Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | .filter(Stemmer::new()) [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stdout] --> src/main.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | index_writer.garbage_collect_files()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl futures::Future` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `impl futures::Future` [INFO] [stdout] = note: required by `std::ops::Try::into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/main.rs:311:14 [INFO] [stdout] | [INFO] [stdout] 311 | .wait() [INFO] [stdout] | ^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tantivy-commoncrawl`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "8c8d4550fa30d48eafd1664d0b284e4d81bd18151670d90a3084a0fe0abf77f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c8d4550fa30d48eafd1664d0b284e4d81bd18151670d90a3084a0fe0abf77f8", kill_on_drop: false }` [INFO] [stdout] 8c8d4550fa30d48eafd1664d0b284e4d81bd18151670d90a3084a0fe0abf77f8