[INFO] cloning 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" "clone" "--bare" "https://github.com/fulmicoton/common-search" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffulmicoton%2Fcommon-search", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffulmicoton%2Fcommon-search'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83a686933cfc89a365012d809038ba6812a7eb01 [INFO] testing fulmicoton/common-search against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffulmicoton%2Fcommon-search" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fulmicoton/common-search on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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-4/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.49.0" "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-4/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.49.0" "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.49.0" "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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37ef85f3e88497a7e416086311402213606617ea5ecbbfe730f23d728a45b2d2 [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" "37ef85f3e88497a7e416086311402213606617ea5ecbbfe730f23d728a45b2d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37ef85f3e88497a7e416086311402213606617ea5ecbbfe730f23d728a45b2d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ef85f3e88497a7e416086311402213606617ea5ecbbfe730f23d728a45b2d2", kill_on_drop: false }` [INFO] [stdout] 37ef85f3e88497a7e416086311402213606617ea5ecbbfe730f23d728a45b2d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1d6314674dc7b0b515bd9914ccbfb7362bd2e9da9c4ecdaed7861239ae2c3da [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" "d1d6314674dc7b0b515bd9914ccbfb7362bd2e9da9c4ecdaed7861239ae2c3da", 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 syn v1.0.58 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling snap v1.0.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Compiling census v0.4.0 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling smallvec v1.6.0 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling levenshtein_automata v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling owned-read v0.4.1 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling whatlang v0.5.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling inotify-sys v0.1.4 [INFO] [stderr] Compiling filetime v0.2.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling murmurhash32 v0.2.0 [INFO] [stderr] Compiling structopt-derive v0.1.6 [INFO] [stderr] Compiling bitpacking v0.8.2 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling curl-sys v0.4.39+curl-7.74.0 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling tantivy-fst v0.3.0 [INFO] [stderr] Compiling combine v4.5.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling chan v0.1.23 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling fail v0.4.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling structopt v0.1.7 [INFO] [stderr] Compiling atomicwrites v0.2.5 [INFO] [stderr] Compiling rayon v0.9.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling tantivy-query-grammar v0.13.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling tantivy v0.13.2 [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 `&Path: 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 `Directory` is not implemented for `&Path` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tantivy-0.13.2/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 `&Path: 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 `Directory` is not implemented for `&Path` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tantivy-0.13.2/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 `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 `SimpleTokenizer` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tantivy-0.13.2/src/tokenizer/simple_tokenizer.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SimpleTokenizer; [INFO] [stdout] | --------------------------- doesn't satisfy `SimpleTokenizer: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the method `filter` exists but the following trait bounds were not satisfied: [INFO] [stdout] `SimpleTokenizer: Iterator` [INFO] [stdout] which is required by `&mut SimpleTokenizer: 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 `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 `Try` is not implemented for `impl futures::Future` [INFO] [stdout] = note: required by `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" "d1d6314674dc7b0b515bd9914ccbfb7362bd2e9da9c4ecdaed7861239ae2c3da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d6314674dc7b0b515bd9914ccbfb7362bd2e9da9c4ecdaed7861239ae2c3da", kill_on_drop: false }` [INFO] [stdout] d1d6314674dc7b0b515bd9914ccbfb7362bd2e9da9c4ecdaed7861239ae2c3da