[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 master#b61e69433951e31f7bd746e22f516a48ad41623b for prs-64470-and-65389 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffulmicoton%2Fcommon-search" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fulmicoton/common-search on toolchain b61e69433951e31f7bd746e22f516a48ad41623b [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "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-11/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" "+b61e69433951e31f7bd746e22f516a48ad41623b" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+b61e69433951e31f7bd746e22f516a48ad41623b" "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] 0f8d5b1a5221545e0fe6bbf65fdd3590be6410ee4eb61419647660b8a6046131 [INFO] running `"docker" "start" "-a" "0f8d5b1a5221545e0fe6bbf65fdd3590be6410ee4eb61419647660b8a6046131"` [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] Checking itertools v0.7.11 [INFO] [stderr] Checking fst v0.3.5 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking bitpacking v0.8.1 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Checking atomicwrites v0.2.5 [INFO] [stderr] Checking fail v0.3.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking rust-stemmers v1.1.0 [INFO] [stderr] Checking structopt v0.1.7 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking rayon v0.9.0 [INFO] [stderr] Checking once_cell v0.2.4 [INFO] [stderr] Checking crossbeam v0.5.0 [INFO] [stderr] Checking levenshtein_automata v0.1.1 [INFO] [stderr] Checking tantivy-fst v0.1.0 [INFO] [stderr] Checking rental v0.5.5 [INFO] [stderr] Checking owned-read v0.4.0 [INFO] [stderr] Checking tantivy v0.10.2 [INFO] [stderr] Checking tantivy-commoncrawl v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_imports)]` on by default [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.10.2/src/core/index.rs:140:24 [INFO] [stderr] | [INFO] [stderr] 140 | pub fn create(dir: Dir, schema: Schema) -> 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.10.2/src/core/index.rs:224:20 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn open(directory: D) -> Result { [INFO] [stderr] | --------- required by this bound in `tantivy::Index::open` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:250:17 [INFO] [stderr] | [INFO] [stderr] 250 | .filter(Stemmer::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^ expected 1 parameter [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.10.2/src/core/index.rs:140:24 [INFO] [stderr] | [INFO] [stderr] 140 | pub fn create(dir: Dir, schema: Schema) -> 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.10.2/src/core/index.rs:224:20 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn open(directory: D) -> Result { [INFO] [stderr] | --------- required by this bound in `tantivy::Index::open` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:250:17 [INFO] [stderr] | [INFO] [stderr] 250 | .filter(Stemmer::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wait` found for type `std::result::Result` in the current scope [INFO] [stderr] --> src/main.rs:311:14 [INFO] [stderr] | [INFO] [stderr] 311 | .wait() [INFO] [stderr] | ^^^^ method not found in `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: the method `wait` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut std::result::Result : futures::Future` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wait` found for type `std::result::Result` in the current scope [INFO] [stderr] --> src/main.rs:311:14 [INFO] [stderr] | [INFO] [stderr] 311 | .wait() [INFO] [stderr] | ^^^^ method not found in `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: the method `wait` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut std::result::Result : futures::Future` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_to_end` found for type `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] 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] error: aborting due to 4 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] 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] error: aborting due to 5 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] warning: build failed, waiting for other jobs to finish... [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" "0f8d5b1a5221545e0fe6bbf65fdd3590be6410ee4eb61419647660b8a6046131"` [INFO] running `"docker" "rm" "-f" "0f8d5b1a5221545e0fe6bbf65fdd3590be6410ee4eb61419647660b8a6046131"` [INFO] [stdout] 0f8d5b1a5221545e0fe6bbf65fdd3590be6410ee4eb61419647660b8a6046131