[INFO] fetching crate perlin 0.1.0... [INFO] testing perlin-0.1.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate perlin 0.1.0 into /workspace/builds/worker-35/source [INFO] validating manifest of crates.io crate perlin 0.1.0 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate perlin 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate perlin 0.1.0 [INFO] tweaked toml for crates.io crate perlin 0.1.0 written to /workspace/builds/worker-35/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e84cbbca4f282b806f37a4bc446d6241d672a996ac3f360dd13a374d81dc2b3a [INFO] running `Command { std: "docker" "start" "-a" "e84cbbca4f282b806f37a4bc446d6241d672a996ac3f360dd13a374d81dc2b3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e84cbbca4f282b806f37a4bc446d6241d672a996ac3f360dd13a374d81dc2b3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e84cbbca4f282b806f37a4bc446d6241d672a996ac3f360dd13a374d81dc2b3a", kill_on_drop: false }` [INFO] [stdout] e84cbbca4f282b806f37a4bc446d6241d672a996ac3f360dd13a374d81dc2b3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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=forbid" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67953482f368b002b7bca3ac105d13bdfa9a1fc7907c6c66bc873a6cdcc6c03e [INFO] running `Command { std: "docker" "start" "-a" "67953482f368b002b7bca3ac105d13bdfa9a1fc7907c6c66bc873a6cdcc6c03e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling perlin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unused import: `index::boolean_index::boolean_query::*` [INFO] [stdout] --> src/index/boolean_index/query_result_iterator/nary_query_iterator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use index::boolean_index::boolean_query::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | #![deny(missing_docs, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/index/boolean_index/mod.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | postings: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Storage` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | #![deny(missing_docs, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/index/boolean_index/mod.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | type QueryResult = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | let vocab = try!(Self::load_vocabulary(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | #![deny(missing_docs, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | let doc_count = try!(Self::load_statistics(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | try!(index.index_documents(documents)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | try!(index.save_vocabulary()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | try!(index.save_statistics()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:129:34 [INFO] [stdout] | [INFO] [stdout] 129 | let mut vocab_file = try!(OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | try!(vocab_file.write(&byte_buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | try!(vocab_file.write(&byte_buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | try!(vocab_file.read_to_end(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:166:30 [INFO] [stdout] | [INFO] [stdout] 166 | let mut vocab_file = try!(OpenOptions::new().read(true).open(path.join(VOCAB_FILENAME))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | let metadata = try!(vocab_file.metadata()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | try!(statistics_file.write(&vbyte_encode(self.document_count))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:191:39 [INFO] [stdout] | [INFO] [stdout] 191 | let mut statistics_file = try!(OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | try!(statistics_file.read_to_end(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:204:35 [INFO] [stdout] | [INFO] [stdout] 204 | let mut statistics_file = try!(OpenOptions::new().read(true).open(path.join(STATISTICS_FILENAME))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | try!(index.index_documents(documents)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/index/boolean_index/mod.rs:234:39 [INFO] [stdout] | [INFO] [stdout] 234 | fn from_parts(inverted_index: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Storage` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/index/boolean_index/mod.rs:249:100 [INFO] [stdout] | [INFO] [stdout] 249 | fn index_documents(&mut self, documents: TDocsIterator) -> Result<(usize)> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | #![deny(missing_docs, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 249 - fn index_documents(&mut self, documents: TDocsIterator) -> Result<(usize)> [INFO] [stdout] 249 + fn index_documents(&mut self, documents: TDocsIterator) -> Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index/boolean_index/mod.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | try!(self.postings.store(term_id, listing)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/storage/compression.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | bytes: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/storage/compression.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn underlying_iterator(&mut self) -> &mut Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/storage/mod.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `perlin` due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "67953482f368b002b7bca3ac105d13bdfa9a1fc7907c6c66bc873a6cdcc6c03e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67953482f368b002b7bca3ac105d13bdfa9a1fc7907c6c66bc873a6cdcc6c03e", kill_on_drop: false }` [INFO] [stdout] 67953482f368b002b7bca3ac105d13bdfa9a1fc7907c6c66bc873a6cdcc6c03e