[INFO] cloning repository https://github.com/etmorefish/rust_projects [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/etmorefish/rust_projects" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetmorefish%2Frust_projects", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetmorefish%2Frust_projects'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b243e90c7a85c10bc0654202a418915abd84a8d3 [INFO] testing etmorefish/rust_projects against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetmorefish%2Frust_projects" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/etmorefish/rust_projects on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/etmorefish/rust_projects [INFO] finished tweaking git repo https://github.com/etmorefish/rust_projects [INFO] tweaked toml for git repo https://github.com/etmorefish/rust_projects written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/etmorefish/rust_projects 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" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-3-tc1/source/chinese_search_engine/Cargo.toml: unused manifest key: target.x86_64-unknown-linux-gnu.linker [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.88 [INFO] [stderr] Downloaded env_filter v0.1.0 [INFO] [stderr] Downloaded cedarwood v0.4.6 [INFO] [stderr] Downloaded ordered-float v3.9.2 [INFO] [stderr] Downloaded colored v2.0.4 [INFO] [stderr] Downloaded env_logger v0.11.3 [INFO] [stderr] Downloaded openssl-sys v0.9.94 [INFO] [stderr] Downloaded js-sys v0.3.65 [INFO] [stderr] Downloaded openssl v0.10.58 [INFO] [stderr] Downloaded web-sys v0.3.65 [INFO] [stderr] Downloaded libc v0.2.149 [INFO] [stderr] Downloaded tokio v1.33.0 [INFO] [stderr] Downloaded rustix v0.38.21 [INFO] [stderr] Downloaded wasm-bindgen v0.2.88 [INFO] [stderr] Downloaded linux-raw-sys v0.4.10 [INFO] [stderr] Downloaded reqwest v0.11.22 [INFO] [stderr] Downloaded serde v1.0.190 [INFO] [stderr] Downloaded phf_codegen v0.11.2 [INFO] [stderr] Downloaded errno v0.3.5 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.38 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.88 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Downloaded serde_derive v1.0.190 [INFO] [stderr] Downloaded smallvec v1.11.1 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.88 [INFO] [stderr] Downloaded jieba-rs v0.6.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44926ccb2e9d2139125d2a2200bc96d7bfb59743641d81d312604d49db85bfc1 [INFO] running `Command { std: "docker" "start" "-a" "44926ccb2e9d2139125d2a2200bc96d7bfb59743641d81d312604d49db85bfc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44926ccb2e9d2139125d2a2200bc96d7bfb59743641d81d312604d49db85bfc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44926ccb2e9d2139125d2a2200bc96d7bfb59743641d81d312604d49db85bfc1", kill_on_drop: false }` [INFO] [stdout] 44926ccb2e9d2139125d2a2200bc96d7bfb59743641d81d312604d49db85bfc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1853022df9d329461fb35f288d48fa6a99c0efaf1ed6648aa8b3fce381f0b2f7 [INFO] running `Command { std: "docker" "start" "-a" "1853022df9d329461fb35f288d48fa6a99c0efaf1ed6648aa8b3fce381f0b2f7", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/chinese_search_engine/Cargo.toml: unused manifest key: target.x86_64-unknown-linux-gnu.linker [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling openssl v0.10.58 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling openssl-sys v0.9.94 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling jieba-rs v0.6.8 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling cedarwood v0.4.6 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling colored v2.0.4 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling sso v0.1.0 (/opt/rustwide/workdir/sso) [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling plist v1.6.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling syntect v5.1.0 [INFO] [stderr] Compiling chinese_search_engine v0.1.0 (/opt/rustwide/workdir/chinese_search_engine) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> chinese_search_engine/src/bin/jieba.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> chinese_search_engine/src/bin/jieba.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> chinese_search_engine/src/main.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> chinese_search_engine/src/main.rs:309:1 [INFO] [stdout] | [INFO] [stdout] 309 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::PossibleValuesParser` [INFO] [stdout] --> chinese_search_engine/src/main.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | use clap::builder::PossibleValuesParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> chinese_search_engine/src/main.rs:309:1 [INFO] [stdout] | [INFO] [stdout] 309 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `summary_start` is never read [INFO] [stdout] --> chinese_search_engine/src/main.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | let mut summary_start = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `summary_end` is never read [INFO] [stdout] --> chinese_search_engine/src/main.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | let mut summary_end = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling httpie v0.1.0 (/opt/rustwide/workdir/httpie) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 08s [INFO] running `Command { std: "docker" "inspect" "1853022df9d329461fb35f288d48fa6a99c0efaf1ed6648aa8b3fce381f0b2f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1853022df9d329461fb35f288d48fa6a99c0efaf1ed6648aa8b3fce381f0b2f7", kill_on_drop: false }` [INFO] [stdout] 1853022df9d329461fb35f288d48fa6a99c0efaf1ed6648aa8b3fce381f0b2f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1b0310937c529a9d98ee2d64eaa9cad7ecdbd9e6129a20e353ca956ecc6356c [INFO] running `Command { std: "docker" "start" "-a" "e1b0310937c529a9d98ee2d64eaa9cad7ecdbd9e6129a20e353ca956ecc6356c", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/chinese_search_engine/Cargo.toml: unused manifest key: target.x86_64-unknown-linux-gnu.linker [INFO] [stderr] Compiling chinese_search_engine v0.1.0 (/opt/rustwide/workdir/chinese_search_engine) [INFO] [stderr] Compiling sso v0.1.0 (/opt/rustwide/workdir/sso) [INFO] [stderr] Compiling httpie v0.1.0 (/opt/rustwide/workdir/httpie) [INFO] [stdout] warning: unused import: `clap::builder::PossibleValuesParser` [INFO] [stdout] --> chinese_search_engine/src/main.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | use clap::builder::PossibleValuesParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `summary_start` is never read [INFO] [stdout] --> chinese_search_engine/src/main.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | let mut summary_start = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `summary_end` is never read [INFO] [stdout] --> chinese_search_engine/src/main.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | let mut summary_end = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> chinese_search_engine/src/main.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | let text = "世界经济学是一门非常大的社会科学"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> chinese_search_engine/src/main.rs:387:13 [INFO] [stdout] | [INFO] [stdout] 387 | let text = " [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> chinese_search_engine/src/main.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | let mut v = vec![1, 2, 2, 2, 3, 4, 5, 2, 4]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `summary_start` is never read [INFO] [stdout] --> chinese_search_engine/src/main.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | let mut summary_start = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `summary_end` is never read [INFO] [stdout] --> chinese_search_engine/src/main.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | let mut summary_end = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.05s [INFO] running `Command { std: "docker" "inspect" "e1b0310937c529a9d98ee2d64eaa9cad7ecdbd9e6129a20e353ca956ecc6356c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1b0310937c529a9d98ee2d64eaa9cad7ecdbd9e6129a20e353ca956ecc6356c", kill_on_drop: false }` [INFO] [stdout] e1b0310937c529a9d98ee2d64eaa9cad7ecdbd9e6129a20e353ca956ecc6356c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 559fe5b65255212d296adf7f66bb6263a0cec040c5f370f9f284d9a767ee211e [INFO] running `Command { std: "docker" "start" "-a" "559fe5b65255212d296adf7f66bb6263a0cec040c5f370f9f284d9a767ee211e", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/chinese_search_engine/Cargo.toml: unused manifest key: target.x86_64-unknown-linux-gnu.linker [INFO] [stderr] warning: unused import: `clap::builder::PossibleValuesParser` [INFO] [stderr] --> chinese_search_engine/src/main.rs:312:9 [INFO] [stderr] | [INFO] [stderr] 312 | use clap::builder::PossibleValuesParser; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `summary_start` is never read [INFO] [stderr] --> chinese_search_engine/src/main.rs:113:25 [INFO] [stderr] | [INFO] [stderr] 113 | let mut summary_start = 0; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `summary_end` is never read [INFO] [stderr] --> chinese_search_engine/src/main.rs:114:25 [INFO] [stderr] | [INFO] [stderr] 114 | let mut summary_end = 0; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `text` [INFO] [stderr] --> chinese_search_engine/src/main.rs:319:13 [INFO] [stderr] | [INFO] [stderr] 319 | let text = "世界经济学是一门非常大的社会科学"; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `text` [INFO] [stderr] --> chinese_search_engine/src/main.rs:387:13 [INFO] [stderr] | [INFO] [stderr] 387 | let text = " [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> chinese_search_engine/src/main.rs:415:13 [INFO] [stderr] | [INFO] [stderr] 415 | let mut v = vec![1, 2, 2, 2, 3, 4, 5, 2, 4]; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `summary_start` is never read [INFO] [stderr] --> chinese_search_engine/src/main.rs:483:25 [INFO] [stderr] | [INFO] [stderr] 483 | let mut summary_start = 0; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `summary_end` is never read [INFO] [stderr] --> chinese_search_engine/src/main.rs:484:25 [INFO] [stderr] | [INFO] [stderr] 484 | let mut summary_end = 0; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: `chinese_search_engine` (bin "chinese_search_engine" test) generated 8 warnings (run `cargo fix --bin "chinese_search_engine" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chinese_search_engine-a0de87d9737cb91d) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::test_directory ... ok [INFO] [stdout] test tests::test_sort ... ok [INFO] [stdout] test tests::test_vec ... ok [INFO] [stdout] test tests::test_process_text ... FAILED [INFO] [stdout] test tests::test_text_preview ... FAILED [INFO] [stdout] test tests::test_regex ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_process_text stdout ---- [INFO] [stdout] thread 'tests::test_process_text' panicked at chinese_search_engine/src/main.rs:403:45: [INFO] [stdout] read_to_string failed: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55fe8cf8ef25 - std::backtrace_rs::backtrace::libunwind::trace::h1a07e5dba0da0cd2 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5 [INFO] [stdout] 1: 0x55fe8cf8ef25 - std::backtrace_rs::backtrace::trace_unsynchronized::h61b9b8394328c0bc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55fe8cf8ef25 - std::sys_common::backtrace::_print_fmt::h1c5e18b460934cff [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x55fe8cf8ef25 - ::fmt::h1e1a1972118942ad [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55fe8cfb7edb - core::fmt::rt::Argument::fmt::h07af2b4071d536cd [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/fmt/rt.rs:165:63 [INFO] [stdout] 5: 0x55fe8cfb7edb - core::fmt::write::hc090a2ffd6b28c4a [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/fmt/mod.rs:1157:21 [INFO] [stdout] 6: 0x55fe8cf8c5ef - std::io::Write::write_fmt::h9443d787e8277bd2 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/io/mod.rs:1832:15 [INFO] [stdout] 7: 0x55fe8cf8ecfe - std::sys_common::backtrace::_print::h4e80c5803d4ee35b [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x55fe8cf8ecfe - std::sys_common::backtrace::print::ha96650907276675e [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x55fe8cf90679 - std::panicking::default_hook::{{closure}}::h215c2a0a8346e0e0 [INFO] [stdout] 10: 0x55fe8cf9033e - std::panicking::default_hook::h207342be97478370 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:295:9 [INFO] [stdout] 11: 0x55fe8cc5092a - as core::ops::function::Fn>::call::haebd875eeb75949f [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 12: 0x55fe8cc5092a - test::test_main::{{closure}}::h9108cb0ebacdb458 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x55fe8cf90c46 - as core::ops::function::Fn>::call::ha9c3bc81d312fd83 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 14: 0x55fe8cf90c46 - std::panicking::rust_panic_with_hook::hac8bdceee1e4fe2c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:799:13 [INFO] [stdout] 15: 0x55fe8cf909f4 - std::panicking::begin_panic_handler::{{closure}}::h00d785e82757ce3c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:664:13 [INFO] [stdout] 16: 0x55fe8cf8f3e9 - std::sys_common::backtrace::__rust_end_short_backtrace::h1628d957bcd06996 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x55fe8cf90727 - rust_begin_unwind [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:652:5 [INFO] [stdout] 18: 0x55fe8cbfbe83 - core::panicking::panic_fmt::hdc63834ffaaefae5 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x55fe8cbfc3f6 - core::result::unwrap_failed::h82b551e0ff2b2176 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/result.rs:1654:5 [INFO] [stdout] 20: 0x55fe8cc0e8e4 - core::result::Result::expect::hb3f41aae6edc5d2f [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/result.rs:1034:23 [INFO] [stdout] 21: 0x55fe8cc17d54 - chinese_search_engine::tests::test_process_text::ha56b9dbbbdcb603a [INFO] [stdout] at /opt/rustwide/workdir/chinese_search_engine/src/main.rs:403:20 [INFO] [stdout] 22: 0x55fe8cc17cc7 - chinese_search_engine::tests::test_process_text::{{closure}}::ha990cb8b1472e1c3 [INFO] [stdout] at /opt/rustwide/workdir/chinese_search_engine/src/main.rs:386:27 [INFO] [stdout] 23: 0x55fe8cc0cda6 - core::ops::function::FnOnce::call_once::hc2f6f554ae58cc4a [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x55fe8cc5530b - core::ops::function::FnOnce::call_once::hb194ee8411fb46c7 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x55fe8cc5530b - test::__rust_begin_short_backtrace::h871a93aaa56c76c5 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:623:18 [INFO] [stdout] 26: 0x55fe8cc54a11 - test::run_test_in_process::{{closure}}::h6d9e6b0161cb50c6 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:646:60 [INFO] [stdout] 27: 0x55fe8cc54a11 - as core::ops::function::FnOnce<()>>::call_once::hb9f3c63b5d0e0baa [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x55fe8cc54a11 - std::panicking::try::do_call::h83eb4c9b7c70ebcc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40 [INFO] [stdout] 29: 0x55fe8cc54a11 - std::panicking::try::h5ffd56bf671a89b3 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19 [INFO] [stdout] 30: 0x55fe8cc54a11 - std::panic::catch_unwind::h044e758d6cbf65b7 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14 [INFO] [stdout] 31: 0x55fe8cc54a11 - test::run_test_in_process::hf7ca2db08c9223b8 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:646:27 [INFO] [stdout] 32: 0x55fe8cc54a11 - test::run_test::{{closure}}::h9657c20462181b87 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:569:43 [INFO] [stdout] 33: 0x55fe8cc1d494 - test::run_test::{{closure}}::h80c3aef427ce62cc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:597:41 [INFO] [stdout] 34: 0x55fe8cc1d494 - std::sys_common::backtrace::__rust_begin_short_backtrace::h43274eec75e29097 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 35: 0x55fe8cc21f02 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hea1335728d2a7953 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/thread/mod.rs:542:17 [INFO] [stdout] 36: 0x55fe8cc21f02 - as core::ops::function::FnOnce<()>>::call_once::hb16d5d5fd985753c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x55fe8cc21f02 - std::panicking::try::do_call::h65de05e16c44e167 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40 [INFO] [stdout] 38: 0x55fe8cc21f02 - std::panicking::try::h187f01afe14eb3bf [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19 [INFO] [stdout] 39: 0x55fe8cc21f02 - std::panic::catch_unwind::h1b55347b2c8efb63 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14 [INFO] [stdout] 40: 0x55fe8cc21f02 - std::thread::Builder::spawn_unchecked_::{{closure}}::hea39e0adaff5b52d [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/thread/mod.rs:541:30 [INFO] [stdout] 41: 0x55fe8cc21f02 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9b61aba01c3c1f32 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x55fe8cf9537b - as core::ops::function::FnOnce>::call_once::h09e5a4c541afa800 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 43: 0x55fe8cf9537b - as core::ops::function::FnOnce>::call_once::h9c8b03c22f4e7026 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 44: 0x55fe8cf9537b - std::sys::pal::unix::thread::Thread::new::thread_start::h522bc89a54da820a [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7feebb20dac3 - [INFO] [stdout] 46: 0x7feebb29ea04 - __clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::test_text_preview stdout ---- [INFO] [stdout] thread 'tests::test_text_preview' panicked at chinese_search_engine/src/main.rs:450:45: [INFO] [stdout] read_to_string failed: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55fe8cf8ef25 - std::backtrace_rs::backtrace::libunwind::trace::h1a07e5dba0da0cd2 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5 [INFO] [stdout] 1: 0x55fe8cf8ef25 - std::backtrace_rs::backtrace::trace_unsynchronized::h61b9b8394328c0bc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55fe8cf8ef25 - std::sys_common::backtrace::_print_fmt::h1c5e18b460934cff [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x55fe8cf8ef25 - ::fmt::h1e1a1972118942ad [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55fe8cfb7edb - core::fmt::rt::Argument::fmt::h07af2b4071d536cd [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/fmt/rt.rs:165:63 [INFO] [stdout] 5: 0x55fe8cfb7edb - core::fmt::write::hc090a2ffd6b28c4a [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/fmt/mod.rs:1157:21 [INFO] [stdout] 6: 0x55fe8cf8c5ef - std::io::Write::write_fmt::h9443d787e8277bd2 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/io/mod.rs:1832:15 [INFO] [stdout] 7: 0x55fe8cf8ecfe - std::sys_common::backtrace::_print::h4e80c5803d4ee35b [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x55fe8cf8ecfe - std::sys_common::backtrace::print::ha96650907276675e [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x55fe8cf90679 - std::panicking::default_hook::{{closure}}::h215c2a0a8346e0e0 [INFO] [stdout] 10: 0x55fe8cf9033e - std::panicking::default_hook::h207342be97478370 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:295:9 [INFO] [stdout] 11: 0x55fe8cc5092a - as core::ops::function::Fn>::call::haebd875eeb75949f [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 12: 0x55fe8cc5092a - test::test_main::{{closure}}::h9108cb0ebacdb458 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x55fe8cf90c46 - as core::ops::function::Fn>::call::ha9c3bc81d312fd83 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 14: 0x55fe8cf90c46 - std::panicking::rust_panic_with_hook::hac8bdceee1e4fe2c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:799:13 [INFO] [stdout] 15: 0x55fe8cf909f4 - std::panicking::begin_panic_handler::{{closure}}::h00d785e82757ce3c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:664:13 [INFO] [stdout] 16: 0x55fe8cf8f3e9 - std::sys_common::backtrace::__rust_end_short_backtrace::h1628d957bcd06996 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x55fe8cf90727 - rust_begin_unwind [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:652:5 [INFO] [stdout] 18: 0x55fe8cbfbe83 - core::panicking::panic_fmt::hdc63834ffaaefae5 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x55fe8cbfc3f6 - core::result::unwrap_failed::h82b551e0ff2b2176 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/result.rs:1654:5 [INFO] [stdout] 20: 0x55fe8cc0e8e4 - core::result::Result::expect::hb3f41aae6edc5d2f [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/result.rs:1034:23 [INFO] [stdout] 21: 0x55fe8cc18c3c - chinese_search_engine::tests::test_text_preview::hd17f737904af8c1d [INFO] [stdout] at /opt/rustwide/workdir/chinese_search_engine/src/main.rs:450:20 [INFO] [stdout] 22: 0x55fe8cc18ba7 - chinese_search_engine::tests::test_text_preview::{{closure}}::hb6506c6e86633057 [INFO] [stdout] at /opt/rustwide/workdir/chinese_search_engine/src/main.rs:446:27 [INFO] [stdout] 23: 0x55fe8cc0cba6 - core::ops::function::FnOnce::call_once::h16f4a1965e69c6e0 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x55fe8cc5530b - core::ops::function::FnOnce::call_once::hb194ee8411fb46c7 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x55fe8cc5530b - test::__rust_begin_short_backtrace::h871a93aaa56c76c5 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:623:18 [INFO] [stdout] 26: 0x55fe8cc54a11 - test::run_test_in_process::{{closure}}::h6d9e6b0161cb50c6 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:646:60 [INFO] [stdout] 27: 0x55fe8cc54a11 - as core::ops::function::FnOnce<()>>::call_once::hb9f3c63b5d0e0baa [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x55fe8cc54a11 - std::panicking::try::do_call::h83eb4c9b7c70ebcc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40 [INFO] [stdout] 29: 0x55fe8cc54a11 - std::panicking::try::h5ffd56bf671a89b3 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19 [INFO] [stdout] 30: 0x55fe8cc54a11 - std::panic::catch_unwind::h044e758d6cbf65b7 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14 [INFO] [stdout] 31: 0x55fe8cc54a11 - test::run_test_in_process::hf7ca2db08c9223b8 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:646:27 [INFO] [stdout] 32: 0x55fe8cc54a11 - test::run_test::{{closure}}::h9657c20462181b87 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:569:43 [INFO] [stdout] 33: 0x55fe8cc1d494 - test::run_test::{{closure}}::h80c3aef427ce62cc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:597:41 [INFO] [stdout] 34: 0x55fe8cc1d494 - std::sys_common::backtrace::__rust_begin_short_backtrace::h43274eec75e29097 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 35: 0x55fe8cc21f02 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hea1335728d2a7953 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/thread/mod.rs:542:17 [INFO] [stdout] 36: 0x55fe8cc21f02 - as core::ops::function::FnOnce<()>>::call_once::hb16d5d5fd985753c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x55fe8cc21f02 - std::panicking::try::do_call::h65de05e16c44e167 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40 [INFO] [stdout] 38: 0x55fe8cc21f02 - std::panicking::try::h187f01afe14eb3bf [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19 [INFO] [stdout] 39: 0x55fe8cc21f02 - std::panic::catch_unwind::h1b55347b2c8efb63 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14 [INFO] [stdout] 40: 0x55fe8cc21f02 - std::thread::Builder::spawn_unchecked_::{{closure}}::hea39e0adaff5b52d [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/thread/mod.rs:541:30 [INFO] [stdout] 41: 0x55fe8cc21f02 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9b61aba01c3c1f32 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x55fe8cf9537b - as core::ops::function::FnOnce>::call_once::h09e5a4c541afa800 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 43: 0x55fe8cf9537b - as core::ops::function::FnOnce>::call_once::h9c8b03c22f4e7026 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 44: 0x55fe8cf9537b - std::sys::pal::unix::thread::Thread::new::thread_start::h522bc89a54da820a [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7feebb20dac3 - [INFO] [stdout] 46: 0x7feebb29ea04 - __clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_process_text [INFO] [stdout] tests::test_text_preview [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.60s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p chinese_search_engine --bin chinese_search_engine` [INFO] running `Command { std: "docker" "inspect" "559fe5b65255212d296adf7f66bb6263a0cec040c5f370f9f284d9a767ee211e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "559fe5b65255212d296adf7f66bb6263a0cec040c5f370f9f284d9a767ee211e", kill_on_drop: false }` [INFO] [stdout] 559fe5b65255212d296adf7f66bb6263a0cec040c5f370f9f284d9a767ee211e [INFO] testing etmorefish/rust_projects against beta-2024-06-22 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetmorefish%2Frust_projects" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/etmorefish/rust_projects on toolchain beta-2024-06-22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/etmorefish/rust_projects [INFO] finished tweaking git repo https://github.com/etmorefish/rust_projects [INFO] tweaked toml for git repo https://github.com/etmorefish/rust_projects written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/etmorefish/rust_projects 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" "+beta-2024-06-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-3-tc2/source/chinese_search_engine/Cargo.toml: unused manifest key: target.x86_64-unknown-linux-gnu.linker [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28a877e4cb6f26963edcc292c23e5cb0d605ea6915525021e3cd4b36009063e0 [INFO] running `Command { std: "docker" "start" "-a" "28a877e4cb6f26963edcc292c23e5cb0d605ea6915525021e3cd4b36009063e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28a877e4cb6f26963edcc292c23e5cb0d605ea6915525021e3cd4b36009063e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28a877e4cb6f26963edcc292c23e5cb0d605ea6915525021e3cd4b36009063e0", kill_on_drop: false }` [INFO] [stdout] 28a877e4cb6f26963edcc292c23e5cb0d605ea6915525021e3cd4b36009063e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b01ff4f49f11be0e775feda088984658dcd08c236e4e6218a60cc8f053aa02d [INFO] running `Command { std: "docker" "start" "-a" "2b01ff4f49f11be0e775feda088984658dcd08c236e4e6218a60cc8f053aa02d", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/chinese_search_engine/Cargo.toml: unused manifest key: target.x86_64-unknown-linux-gnu.linker [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl v0.10.58 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.94 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling jieba-rs v0.6.8 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.31/src/format_description/parse/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let items = format_items [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(items.into()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `items` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 83 | let items: Box<_> = format_items [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `time` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2b01ff4f49f11be0e775feda088984658dcd08c236e4e6218a60cc8f053aa02d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b01ff4f49f11be0e775feda088984658dcd08c236e4e6218a60cc8f053aa02d", kill_on_drop: false }` [INFO] [stdout] 2b01ff4f49f11be0e775feda088984658dcd08c236e4e6218a60cc8f053aa02d