[INFO] cloning repository https://github.com/Kanaricc/text_classify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kanaricc/text_classify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKanaricc%2Ftext_classify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKanaricc%2Ftext_classify'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8277809893f84161d8a1ad47b031d5a9331b296 [INFO] testing Kanaricc/text_classify against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKanaricc%2Ftext_classify" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kanaricc/text_classify on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kanaricc/text_classify [INFO] finished tweaking git repo https://github.com/Kanaricc/text_classify [INFO] tweaked toml for git repo https://github.com/Kanaricc/text_classify written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Kanaricc/text_classify already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 073b47fff91c346e5e7dd387ff655fb6a6b42a36cab59a0a88a7118ca7548a6b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "073b47fff91c346e5e7dd387ff655fb6a6b42a36cab59a0a88a7118ca7548a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "073b47fff91c346e5e7dd387ff655fb6a6b42a36cab59a0a88a7118ca7548a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "073b47fff91c346e5e7dd387ff655fb6a6b42a36cab59a0a88a7118ca7548a6b", kill_on_drop: false }` [INFO] [stdout] 073b47fff91c346e5e7dd387ff655fb6a6b42a36cab59a0a88a7118ca7548a6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d376fe2795461cdc6ae9882fd831ce4580106af05acdbb527dcead84c57fdb2b [INFO] running `Command { std: "docker" "start" "-a" "d376fe2795461cdc6ae9882fd831ce4580106af05acdbb527dcead84c57fdb2b", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling smallvec v1.5.0 [INFO] [stderr] Compiling paste v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling terminal_size v0.1.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cedarwood v0.4.4 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling console v0.13.0 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling rand_distr v0.3.0 [INFO] [stderr] Compiling jieba-rs v0.6.2 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling simba v0.3.1 [INFO] [stderr] Compiling nalgebra v0.23.1 [INFO] [stderr] Compiling text_classify v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dict.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | self.dicts.retain(|k, v| !stop_words.contains(v)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dict.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | self.dicts.retain(|k, v| keep_words.contains(v)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drop_words` [INFO] [stdout] --> src/dict.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn drop_words(&mut self, stop_words: &Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut bayers = if Path::new(BAYERS_PATH).exists() { [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 04s [INFO] running `Command { std: "docker" "inspect" "d376fe2795461cdc6ae9882fd831ce4580106af05acdbb527dcead84c57fdb2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d376fe2795461cdc6ae9882fd831ce4580106af05acdbb527dcead84c57fdb2b", kill_on_drop: false }` [INFO] [stdout] d376fe2795461cdc6ae9882fd831ce4580106af05acdbb527dcead84c57fdb2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2787d24c1c18d005f3d59808d99be536119081a55d67bba58c82ea0726fee089 [INFO] running `Command { std: "docker" "start" "-a" "2787d24c1c18d005f3d59808d99be536119081a55d67bba58c82ea0726fee089", kill_on_drop: false }` [INFO] [stderr] Compiling text_classify v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dict.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | self.dicts.retain(|k, v| !stop_words.contains(v)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dict.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | self.dicts.retain(|k, v| keep_words.contains(v)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drop_words` [INFO] [stdout] --> src/dict.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn drop_words(&mut self, stop_words: &Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut bayers = if Path::new(BAYERS_PATH).exists() { [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: unused variable: `k` [INFO] [stdout] --> src/dict.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | self.dicts.retain(|k, v| !stop_words.contains(v)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dict.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | self.dicts.retain(|k, v| keep_words.contains(v)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drop_words` [INFO] [stdout] --> src/dict.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn drop_words(&mut self, stop_words: &Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.92s [INFO] running `Command { std: "docker" "inspect" "2787d24c1c18d005f3d59808d99be536119081a55d67bba58c82ea0726fee089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2787d24c1c18d005f3d59808d99be536119081a55d67bba58c82ea0726fee089", kill_on_drop: false }` [INFO] [stdout] 2787d24c1c18d005f3d59808d99be536119081a55d67bba58c82ea0726fee089 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7100bbe9b7a208ace9d6c52cca9493f37c3bf6ff9748c3f389b3177f620c1083 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7100bbe9b7a208ace9d6c52cca9493f37c3bf6ff9748c3f389b3177f620c1083", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `k` [INFO] [stderr] --> src/dict.rs:66:28 [INFO] [stderr] | [INFO] [stderr] 66 | self.dicts.retain(|k, v| !stop_words.contains(v)); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k` [INFO] [stderr] --> src/dict.rs:71:28 [INFO] [stderr] | [INFO] [stderr] 71 | self.dicts.retain(|k, v| keep_words.contains(v)); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `drop_words` [INFO] [stderr] --> src/dict.rs:65:8 [INFO] [stderr] | [INFO] [stderr] 65 | fn drop_words(&mut self, stop_words: &Vec) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k` [INFO] [stderr] --> src/dict.rs:66:28 [INFO] [stderr] | [INFO] [stderr] 66 | self.dicts.retain(|k, v| !stop_words.contains(v)); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k` [INFO] [stderr] --> src/dict.rs:71:28 [INFO] [stderr] | [INFO] [stderr] 71 | self.dicts.retain(|k, v| keep_words.contains(v)); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `drop_words` [INFO] [stderr] --> src/dict.rs:65:8 [INFO] [stderr] | [INFO] [stderr] 65 | fn drop_words(&mut self, stop_words: &Vec) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | let mut bayers = if Path::new(BAYERS_PATH).exists() { [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: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/text_classify-cae3405b04139899) [INFO] [stdout] running 2 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/text_classify-7ad7f67703ae6a6a) [INFO] [stdout] test dict::tests::chi ... ok [INFO] [stdout] test dict::tests::simpson ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests text_classify [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] [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" "7100bbe9b7a208ace9d6c52cca9493f37c3bf6ff9748c3f389b3177f620c1083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7100bbe9b7a208ace9d6c52cca9493f37c3bf6ff9748c3f389b3177f620c1083", kill_on_drop: false }` [INFO] [stdout] 7100bbe9b7a208ace9d6c52cca9493f37c3bf6ff9748c3f389b3177f620c1083