[INFO] fetching crate kytea-tokenizer 0.10.0... [INFO] testing kytea-tokenizer-0.10.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate kytea-tokenizer 0.10.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate kytea-tokenizer 0.10.0 [INFO] finished tweaking crates.io crate kytea-tokenizer 0.10.0 [INFO] tweaked toml for crates.io crate kytea-tokenizer 0.10.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kytea-tokenizer 0.10.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 121 packages to latest compatible versions [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding strum v0.22.0 (available: v0.27.2) [INFO] [stderr] Adding tantivy v0.19.2 (available: v0.25.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded measure_time v0.8.3 [INFO] [stderr] Downloaded utf8-ranges v1.0.5 [INFO] [stderr] Downloaded murmurhash32 v0.2.0 [INFO] [stderr] Downloaded ownedbytes v0.4.0 [INFO] [stderr] Downloaded fastdivide v0.4.2 [INFO] [stderr] Downloaded strum_macros v0.22.0 [INFO] [stderr] Downloaded bitpacking v0.8.4 [INFO] [stderr] Downloaded lz4_flex v0.9.5 [INFO] [stderr] Downloaded fail v0.5.1 [INFO] [stderr] Downloaded tantivy-query-grammar v0.19.0 [INFO] [stderr] Downloaded fastfield_codecs v0.3.1 [INFO] [stderr] Downloaded oneshot v0.1.11 [INFO] [stderr] Downloaded htmlescape v0.3.1 [INFO] [stderr] Downloaded levenshtein_automata v0.2.1 [INFO] [stderr] Downloaded tantivy-common v0.4.0 [INFO] [stderr] Downloaded tantivy-bitpacker v0.3.0 [INFO] [stderr] Downloaded strum v0.22.0 [INFO] [stderr] Downloaded census v0.4.2 [INFO] [stderr] Downloaded tantivy-fst v0.4.0 [INFO] [stderr] Downloaded rust-stemmers v1.2.0 [INFO] [stderr] Downloaded tantivy v0.19.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d892a34faf5ca216c55c4660aeec626d6c5eb1dfa96ca6b4f673a9e44af5ef8 [INFO] running `Command { std: "docker" "start" "-a" "3d892a34faf5ca216c55c4660aeec626d6c5eb1dfa96ca6b4f673a9e44af5ef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d892a34faf5ca216c55c4660aeec626d6c5eb1dfa96ca6b4f673a9e44af5ef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d892a34faf5ca216c55c4660aeec626d6c5eb1dfa96ca6b4f673a9e44af5ef8", kill_on_drop: false }` [INFO] [stdout] 3d892a34faf5ca216c55c4660aeec626d6c5eb1dfa96ca6b4f673a9e44af5ef8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cfdad6aa8faf357c673ac5578267e66d574413691d1c1bff040f22a2d03e93f [INFO] running `Command { std: "docker" "start" "-a" "1cfdad6aa8faf357c673ac5578267e66d574413691d1c1bff040f22a2d03e93f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling kytea-tokenizer v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling strum_macros v0.22.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling strum v0.22.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pos.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PoS` [INFO] [stdout] ... [INFO] [stdout] 27 | pub enum PoS { [INFO] [stdout] | --- `PoS` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.46s [INFO] running `Command { std: "docker" "inspect" "1cfdad6aa8faf357c673ac5578267e66d574413691d1c1bff040f22a2d03e93f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cfdad6aa8faf357c673ac5578267e66d574413691d1c1bff040f22a2d03e93f", kill_on_drop: false }` [INFO] [stdout] 1cfdad6aa8faf357c673ac5578267e66d574413691d1c1bff040f22a2d03e93f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f452dc20d54fa74ba39011f5e91b56f70651c4921434d5c5eaa8cc3fa63284c [INFO] running `Command { std: "docker" "start" "-a" "6f452dc20d54fa74ba39011f5e91b56f70651c4921434d5c5eaa8cc3fa63284c", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pos.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PoS` [INFO] [stdout] ... [INFO] [stdout] 27 | pub enum PoS { [INFO] [stdout] | --- `PoS` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling kytea-tokenizer v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pos.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PoS` [INFO] [stdout] ... [INFO] [stdout] 27 | pub enum PoS { [INFO] [stdout] | --- `PoS` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.28s [INFO] running `Command { std: "docker" "inspect" "6f452dc20d54fa74ba39011f5e91b56f70651c4921434d5c5eaa8cc3fa63284c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f452dc20d54fa74ba39011f5e91b56f70651c4921434d5c5eaa8cc3fa63284c", kill_on_drop: false }` [INFO] [stdout] 6f452dc20d54fa74ba39011f5e91b56f70651c4921434d5c5eaa8cc3fa63284c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7afcf99ff067aff784506a9bbd8101382f81216da40c7cf11f53706e94a7196e [INFO] running `Command { std: "docker" "start" "-a" "7afcf99ff067aff784506a9bbd8101382f81216da40c7cf11f53706e94a7196e", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pos.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | FromPrimitive, [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PoS` [INFO] [stderr] ... [INFO] [stderr] 27 | pub enum PoS { [INFO] [stderr] | --- `PoS` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `kytea-tokenizer` (lib) generated 1 warning [INFO] [stderr] warning: `kytea-tokenizer` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kytea_tokenizer-53889e3be9bb0213) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test parser::tag::test::test_tag_iter ... ok [INFO] [stdout] test parser::words::test::test_words_mixed ... ok [INFO] [stdout] test parser::words::test::test_words_rev ... ok [INFO] [stdout] test parser::words::test::test_words ... ok [INFO] [stdout] test pos::test::pos_from_str ... ok [INFO] [stdout] test parser::test::word_iterator ... ok [INFO] [stdout] test parser::tag::test::test_tags ... ok [INFO] [stdout] test tokenizer::test::parse_only ... ok [INFO] [stdout] test pos::test::pos_to_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests kytea_tokenizer [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" "7afcf99ff067aff784506a9bbd8101382f81216da40c7cf11f53706e94a7196e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7afcf99ff067aff784506a9bbd8101382f81216da40c7cf11f53706e94a7196e", kill_on_drop: false }` [INFO] [stdout] 7afcf99ff067aff784506a9bbd8101382f81216da40c7cf11f53706e94a7196e