[INFO] cloning repository https://github.com/strickczq/szu-information-retrieval [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/strickczq/szu-information-retrieval" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrickczq%2Fszu-information-retrieval", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrickczq%2Fszu-information-retrieval'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0b4f361c0f9ea0e5f8104860ac7a692a2b8618a [INFO] testing strickczq/szu-information-retrieval against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrickczq%2Fszu-information-retrieval" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/strickczq/szu-information-retrieval [INFO] finished tweaking git repo https://github.com/strickczq/szu-information-retrieval [INFO] tweaked toml for git repo https://github.com/strickczq/szu-information-retrieval written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/strickczq/szu-information-retrieval on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/strickczq/szu-information-retrieval 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77673fab0743f8813d10208b5b70889f6e15dd1d85aecb248cd229af0bdf6dfe [INFO] running `Command { std: "docker" "start" "-a" "77673fab0743f8813d10208b5b70889f6e15dd1d85aecb248cd229af0bdf6dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77673fab0743f8813d10208b5b70889f6e15dd1d85aecb248cd229af0bdf6dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77673fab0743f8813d10208b5b70889f6e15dd1d85aecb248cd229af0bdf6dfe", kill_on_drop: false }` [INFO] [stdout] 77673fab0743f8813d10208b5b70889f6e15dd1d85aecb248cd229af0bdf6dfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7f0834abd9f1d872aaf949febe61ea746a5de1dedbd0ea9a351051d506bcf0f [INFO] running `Command { std: "docker" "start" "-a" "c7f0834abd9f1d872aaf949febe61ea746a5de1dedbd0ea9a351051d506bcf0f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling phf_codegen v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling jieba-rs v0.6.7 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling phf v0.11.1 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling cedarwood v0.4.6 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.18 [INFO] [stderr] Compiling bitflags v2.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling matchit v0.7.0 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling pin-project v1.1.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling sprs v0.11.1 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.11 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tower-http v0.4.1 [INFO] [stderr] Compiling szu-ir v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/count_vectorizer.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_data(&self) -> CsMatView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_data(&self) -> CsMatView<'_, usize> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/tfidf_vectorizer.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_tf_idf(&self) -> CsMatView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_tf_idf(&self) -> CsMatView<'_, f64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.95s [INFO] running `Command { std: "docker" "inspect" "c7f0834abd9f1d872aaf949febe61ea746a5de1dedbd0ea9a351051d506bcf0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7f0834abd9f1d872aaf949febe61ea746a5de1dedbd0ea9a351051d506bcf0f", kill_on_drop: false }` [INFO] [stdout] c7f0834abd9f1d872aaf949febe61ea746a5de1dedbd0ea9a351051d506bcf0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d74545f827a85cf2ce92b1fa114081d804bb7308af05b6d7689fbde1a05760d [INFO] running `Command { std: "docker" "start" "-a" "7d74545f827a85cf2ce92b1fa114081d804bb7308af05b6d7689fbde1a05760d", kill_on_drop: false }` [INFO] [stderr] Compiling szu-ir v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/count_vectorizer.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_data(&self) -> CsMatView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_data(&self) -> CsMatView<'_, usize> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/tfidf_vectorizer.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_tf_idf(&self) -> CsMatView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_tf_idf(&self) -> CsMatView<'_, f64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.97s [INFO] running `Command { std: "docker" "inspect" "7d74545f827a85cf2ce92b1fa114081d804bb7308af05b6d7689fbde1a05760d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d74545f827a85cf2ce92b1fa114081d804bb7308af05b6d7689fbde1a05760d", kill_on_drop: false }` [INFO] [stdout] 7d74545f827a85cf2ce92b1fa114081d804bb7308af05b6d7689fbde1a05760d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d11443065c3863d1be7ba41e65c6d0f9a6eb7d061c0ddb1c7d2ce702d5a05e7e [INFO] running `Command { std: "docker" "start" "-a" "d11443065c3863d1be7ba41e65c6d0f9a6eb7d061c0ddb1c7d2ce702d5a05e7e", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/core/count_vectorizer.rs:79:21 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn get_data(&self) -> CsMatView { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 79 | pub fn get_data(&self) -> CsMatView<'_, usize> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/core/tfidf_vectorizer.rs:50:23 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn get_tf_idf(&self) -> CsMatView { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 50 | pub fn get_tf_idf(&self) -> CsMatView<'_, f64> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `szu-ir` (bin "szu-ir" test) generated 2 warnings (run `cargo fix --bin "szu-ir" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/szu_ir-30f7cc57829a1c49) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test core::cs_helper::tests::test_cs_mat_from_cs_vecs ... ok [INFO] [stdout] test core::cs_helper::tests::test_cs_vec_count ... ok [INFO] [stdout] test core::tfidf_vectorizer::tests::test_tf_idf ... ok [INFO] [stdout] test core::cs_helper::tests::test_intersection ... ok [INFO] [stdout] test core::inverted_index::tests::test_inverted_index ... ok [INFO] [stdout] test core::cs_helper::tests::test_cos_sim ... ok [INFO] [stdout] test core::count_vectorizer::tests::test_stemmer ... ok [INFO] [stdout] test core::count_vectorizer::tests::test_tokenizer ... ok [INFO] [stdout] test core::count_vectorizer::tests::test_jieba ... ok [INFO] [stdout] test core::count_vectorizer::tests::test_count_vectorizer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.79s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d11443065c3863d1be7ba41e65c6d0f9a6eb7d061c0ddb1c7d2ce702d5a05e7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d11443065c3863d1be7ba41e65c6d0f9a6eb7d061c0ddb1c7d2ce702d5a05e7e", kill_on_drop: false }` [INFO] [stdout] d11443065c3863d1be7ba41e65c6d0f9a6eb7d061c0ddb1c7d2ce702d5a05e7e