[INFO] cloning repository https://github.com/imishinist/mysearch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imishinist/mysearch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimishinist%2Fmysearch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimishinist%2Fmysearch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46519e17553e13d7c988fcd7a0b2d3d0c1718a37 [INFO] testing imishinist/mysearch against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimishinist%2Fmysearch" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/imishinist/mysearch on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/imishinist/mysearch [INFO] finished tweaking git repo https://github.com/imishinist/mysearch [INFO] tweaked toml for git repo https://github.com/imishinist/mysearch written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/imishinist/mysearch already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded levenshtein_automata v0.2.0 [INFO] [stderr] Downloaded snap v1.0.4 [INFO] [stderr] Downloaded tantivy-query-grammar v0.14.0 [INFO] [stderr] Downloaded murmurhash32 v0.2.0 [INFO] [stderr] Downloaded census v0.4.0 [INFO] [stderr] Downloaded tantivy v0.14.0 [INFO] [stderr] Downloaded tantivy-fst v0.3.0 [INFO] [stderr] Downloaded bitpacking v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4cd320cbb1d320b06019dc3c1b61c937bbf14b40c0d6839d48951dbecd6e6ce [INFO] running `Command { std: "docker" "start" "-a" "f4cd320cbb1d320b06019dc3c1b61c937bbf14b40c0d6839d48951dbecd6e6ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4cd320cbb1d320b06019dc3c1b61c937bbf14b40c0d6839d48951dbecd6e6ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4cd320cbb1d320b06019dc3c1b61c937bbf14b40c0d6839d48951dbecd6e6ce", kill_on_drop: false }` [INFO] [stdout] f4cd320cbb1d320b06019dc3c1b61c937bbf14b40c0d6839d48951dbecd6e6ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5678553ac74b5fd4eca370554c6357fb75e7e6fb1db1c5cdeb945dee57d053b1 [INFO] running `Command { std: "docker" "start" "-a" "5678553ac74b5fd4eca370554c6357fb75e7e6fb1db1c5cdeb945dee57d053b1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling snap v1.0.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling combine v4.5.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bitpacking v0.8.2 [INFO] [stderr] Compiling murmurhash32 v0.2.0 [INFO] [stderr] Compiling census v0.4.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling levenshtein_automata v0.2.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling lru v0.6.5 [INFO] [stderr] Compiling tantivy-fst v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling crossbeam v0.8.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling fail v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling tantivy-query-grammar v0.14.0 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling tantivy v0.14.0 [INFO] [stderr] Compiling mysearch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/directory/owned_bytes.rs:33:69 [INFO] [stdout] | [INFO] [stdout] 33 | let data = unsafe { mem::transmute::<_, &'static [u8]>(bytes.deref()) }; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Deref`, so calling `deref` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.47s [INFO] running `Command { std: "docker" "inspect" "5678553ac74b5fd4eca370554c6357fb75e7e6fb1db1c5cdeb945dee57d053b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5678553ac74b5fd4eca370554c6357fb75e7e6fb1db1c5cdeb945dee57d053b1", kill_on_drop: false }` [INFO] [stdout] 5678553ac74b5fd4eca370554c6357fb75e7e6fb1db1c5cdeb945dee57d053b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62747140515e253640b7adb66459e5f0d14f9197c22fd74b30c1bfa2fb8df6c9 [INFO] running `Command { std: "docker" "start" "-a" "62747140515e253640b7adb66459e5f0d14f9197c22fd74b30c1bfa2fb8df6c9", kill_on_drop: false }` [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/directory/owned_bytes.rs:33:69 [INFO] [stdout] | [INFO] [stdout] 33 | let data = unsafe { mem::transmute::<_, &'static [u8]>(bytes.deref()) }; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Deref`, so calling `deref` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mysearch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/directory/owned_bytes.rs:33:69 [INFO] [stdout] | [INFO] [stdout] 33 | let data = unsafe { mem::transmute::<_, &'static [u8]>(bytes.deref()) }; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Deref`, so calling `deref` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.14s [INFO] running `Command { std: "docker" "inspect" "62747140515e253640b7adb66459e5f0d14f9197c22fd74b30c1bfa2fb8df6c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62747140515e253640b7adb66459e5f0d14f9197c22fd74b30c1bfa2fb8df6c9", kill_on_drop: false }` [INFO] [stdout] 62747140515e253640b7adb66459e5f0d14f9197c22fd74b30c1bfa2fb8df6c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 49b82679bd5c449e194d13cd0241da4533c2a072583ebeaad91e6cc1d6e0ed6f [INFO] running `Command { std: "docker" "start" "-a" "49b82679bd5c449e194d13cd0241da4533c2a072583ebeaad91e6cc1d6e0ed6f", kill_on_drop: false }` [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/directory/owned_bytes.rs:33:69 [INFO] [stderr] | [INFO] [stderr] 33 | let data = unsafe { mem::transmute::<_, &'static [u8]>(bytes.deref()) }; [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[u8]` does not implement `Deref`, so calling `deref` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `mysearch` (lib) generated 1 warning (run `cargo fix --lib -p mysearch` to apply 1 suggestion) [INFO] [stderr] warning: `mysearch` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mysearch-86da5e1370c3eb76) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test directory::file_slice::tests::test_file_slice_trait_slice_len ... ok [INFO] [stdout] test directory::file_slice::tests::test_slice_read_slice ... ok [INFO] [stdout] test directory::file_slice::tests::test_file_slice ... ok [INFO] [stdout] test directory::owned_bytes::tests::test_owned_bytes_read_incomplete ... ok [INFO] [stdout] test directory::owned_bytes::tests::test_owned_bytes_read_right_at_the_end ... ok [INFO] [stdout] test directory::owned_bytes::tests::test_owned_bytes_read_to_end ... ok [INFO] [stdout] test directory::owned_bytes::tests::test_owned_bytes_debug ... ok [INFO] [stdout] test directory::file_slice::tests::test_slice_simple_read ... ok [INFO] [stdout] test directory::owned_bytes::tests::test_owned_bytes_read_u8 ... ok [INFO] [stdout] test directory::owned_bytes::tests::test_owned_bytes_split ... ok [INFO] [stdout] test directory::owned_bytes::tests::test_owned_bytes_split_boundary ... ok [INFO] [stdout] test directory::owned_bytes::tests::test_owned_bytes_read_u64 ... ok [INFO] [stdout] test directory::ram_directory::tests::test_persist ... ok [INFO] [stdout] test directory::owned_bytes::tests::test_owned_bytes_read ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mysearch-9f9f8192a586e241) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/tantivy.rs (/opt/rustwide/target/debug/deps/tantivy-76c8486d45470d1a) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mysearch [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "49b82679bd5c449e194d13cd0241da4533c2a072583ebeaad91e6cc1d6e0ed6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49b82679bd5c449e194d13cd0241da4533c2a072583ebeaad91e6cc1d6e0ed6f", kill_on_drop: false }` [INFO] [stdout] 49b82679bd5c449e194d13cd0241da4533c2a072583ebeaad91e6cc1d6e0ed6f