[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 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffulmicoton%2Fcommon-search" "/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/fulmicoton/common-search on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-5/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" "+1.45.2" "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] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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" "+1.45.2" "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" "+1.45.2" "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-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" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f3bbe331b4c350819a07299be6ea5205a2c49adbbdeba97a13d178d2c2106a9 [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" "8f3bbe331b4c350819a07299be6ea5205a2c49adbbdeba97a13d178d2c2106a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f3bbe331b4c350819a07299be6ea5205a2c49adbbdeba97a13d178d2c2106a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f3bbe331b4c350819a07299be6ea5205a2c49adbbdeba97a13d178d2c2106a9", kill_on_drop: false }` [INFO] [stdout] 8f3bbe331b4c350819a07299be6ea5205a2c49adbbdeba97a13d178d2c2106a9 [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3343fe0d1c68eefe7dcbad2aeb2d2d187b9392d16dcaafd20dcc5954c315847d [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" "3343fe0d1c68eefe7dcbad2aeb2d2d187b9392d16dcaafd20dcc5954c315847d", 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] Compiling serde v1.0.114 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling snap v1.0.1 [INFO] [stderr] Compiling curl v0.4.31 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling census v0.4.0 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.34+curl-7.71.1 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling owned-read v0.4.1 [INFO] [stderr] Compiling whatlang v0.5.0 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling combine v4.2.1 [INFO] [stderr] Compiling fst v0.3.5 [INFO] [stderr] Compiling murmurhash32 v0.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling structopt-derive v0.1.6 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling atomicwrites v0.2.5 [INFO] [stderr] Compiling chan v0.1.23 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling structopt v0.1.7 [INFO] [stderr] Compiling fail v0.3.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling rayon v0.9.0 [INFO] [stderr] Compiling bitpacking v0.8.2 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling levenshtein_automata v0.1.1 [INFO] [stderr] Compiling tantivy-fst v0.2.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tantivy-query-grammar v0.12.0 [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 serde_json v1.0.57 [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" "3343fe0d1c68eefe7dcbad2aeb2d2d187b9392d16dcaafd20dcc5954c315847d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3343fe0d1c68eefe7dcbad2aeb2d2d187b9392d16dcaafd20dcc5954c315847d", kill_on_drop: false }` [INFO] [stdout] 3343fe0d1c68eefe7dcbad2aeb2d2d187b9392d16dcaafd20dcc5954c315847d