[INFO] cloning repository https://github.com/gembleman/bareun_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gembleman/bareun_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgembleman%2Fbareun_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgembleman%2Fbareun_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a9850de833dcd6e36782673f16ffc1a086fa312 [INFO] testing gembleman/bareun_rs against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgembleman%2Fbareun_rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gembleman/bareun_rs on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gembleman/bareun_rs [INFO] finished tweaking git repo https://github.com/gembleman/bareun_rs [INFO] tweaked toml for git repo https://github.com/gembleman/bareun_rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gembleman/bareun_rs 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-2025-04-13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fastrand v2.1.0 [INFO] [stderr] Downloaded prost v0.12.6 [INFO] [stderr] Downloaded tonic-build v0.11.0 [INFO] [stderr] Downloaded prost-types v0.12.6 [INFO] [stderr] Downloaded prost-build v0.12.6 [INFO] [stderr] Downloaded multimap v0.10.0 [INFO] [stderr] Downloaded either v1.12.0 [INFO] [stderr] Downloaded memchr v2.7.2 [INFO] [stderr] Downloaded async-trait v0.1.80 [INFO] [stderr] Downloaded addr2line v0.22.0 [INFO] [stderr] Downloaded serde_derive v1.0.203 [INFO] [stderr] Downloaded prettyplease v0.2.20 [INFO] [stderr] Downloaded indexmap v2.2.6 [INFO] [stderr] Downloaded serde v1.0.203 [INFO] [stderr] Downloaded cc v1.0.98 [INFO] [stderr] Downloaded backtrace v0.3.72 [INFO] [stderr] Downloaded tonic v0.11.0 [INFO] [stderr] Downloaded object v0.35.0 [INFO] [stderr] Downloaded serde_json v1.0.117 [INFO] [stderr] Downloaded h2 v0.3.26 [INFO] [stderr] Downloaded tokio-util v0.7.11 [INFO] [stderr] Downloaded hyper v0.14.29 [INFO] [stderr] Downloaded itertools v0.12.1 [INFO] [stderr] Downloaded rustix v0.38.34 [INFO] [stderr] Downloaded gimli v0.29.0 [INFO] [stderr] Downloaded regex-syntax v0.8.3 [INFO] [stderr] Downloaded regex v1.10.4 [INFO] [stderr] Downloaded bytes v1.6.0 [INFO] [stderr] Downloaded socket2 v0.5.7 [INFO] [stderr] Downloaded anyhow v1.0.86 [INFO] [stderr] Downloaded miniz_oxide v0.7.3 [INFO] [stderr] Downloaded rustc-demangle v0.1.24 [INFO] [stderr] Downloaded redox_syscall v0.5.1 [INFO] [stderr] Downloaded prost-derive v0.12.6 [INFO] [stderr] Downloaded rustversion v1.0.17 [INFO] [stderr] Downloaded signal-hook-registry v1.4.2 [INFO] [stderr] Downloaded tokio-macros v2.3.0 [INFO] [stderr] Downloaded petgraph v0.6.5 [INFO] [stderr] Downloaded tokio v1.38.0 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71a7437c13d3568809cced3526c1278f68614eaf8f9ca44d81902980b0b83170 [INFO] running `Command { std: "docker" "start" "-a" "71a7437c13d3568809cced3526c1278f68614eaf8f9ca44d81902980b0b83170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71a7437c13d3568809cced3526c1278f68614eaf8f9ca44d81902980b0b83170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71a7437c13d3568809cced3526c1278f68614eaf8f9ca44d81902980b0b83170", kill_on_drop: false }` [INFO] [stdout] 71a7437c13d3568809cced3526c1278f68614eaf8f9ca44d81902980b0b83170 [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=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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c6e3ca118967908f40c23cd7b2499c09d42e62936b4e8187544f670ad037d48 [INFO] running `Command { std: "docker" "start" "-a" "8c6e3ca118967908f40c23cd7b2499c09d42e62936b4e8187544f670ad037d48", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Compiling bareun_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.11.0 [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/lang_service_client.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use tonic::transport::{channel, Channel, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tag` [INFO] [stdout] --> src/tagger.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bareun::morpheme::{OutOfVocab, Tag}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_MESSAGE_LENGTH` [INFO] [stdout] --> src/tagger.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::lang_service_client::{BareunLanguageServiceClient, MAX_MESSAGE_LENGTH}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::transport::Endpoint` [INFO] [stdout] --> src/tagger.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tonic::transport::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/tokenizer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SegmentToken` and `TextSpan` [INFO] [stdout] --> src/tokenizer.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bareun::{Segment, SegmentSentence, SegmentToken, TextSpan, TokenizeResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_MESSAGE_LENGTH` [INFO] [stdout] --> src/tokenizer.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lang_service_client::{BareunLanguageServiceClient, MAX_MESSAGE_LENGTH}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/tokenizer.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/tokenizer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::transport::Endpoint` [INFO] [stdout] --> src/tokenizer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tonic::transport::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pb_map_to_set` is never used [INFO] [stdout] --> src/custom_dict.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn pb_map_to_set(ds: &DictSet) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MESSAGE_LENGTH` is never used [INFO] [stdout] --> src/lang_service_client.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const MAX_MESSAGE_LENGTH: usize = 100 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/lang_service_client.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BareunLanguageServiceClient { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | metadata: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `phrase` is never read [INFO] [stdout] --> src/tagger.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Tagged { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | phrase: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `phrase` is never read [INFO] [stdout] --> src/tokenizer.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Tokenized { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | phrase: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.93s [INFO] running `Command { std: "docker" "inspect" "8c6e3ca118967908f40c23cd7b2499c09d42e62936b4e8187544f670ad037d48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c6e3ca118967908f40c23cd7b2499c09d42e62936b4e8187544f670ad037d48", kill_on_drop: false }` [INFO] [stdout] 8c6e3ca118967908f40c23cd7b2499c09d42e62936b4e8187544f670ad037d48 [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=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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3409602e1eb264a9afeb0c4732fe524afaedb58b8937b4e7f80d49c5f3fe2aa7 [INFO] running `Command { std: "docker" "start" "-a" "3409602e1eb264a9afeb0c4732fe524afaedb58b8937b4e7f80d49c5f3fe2aa7", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/lang_service_client.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use tonic::transport::{channel, Channel, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tag` [INFO] [stdout] --> src/tagger.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bareun::morpheme::{OutOfVocab, Tag}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_MESSAGE_LENGTH` [INFO] [stdout] --> src/tagger.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::lang_service_client::{BareunLanguageServiceClient, MAX_MESSAGE_LENGTH}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::transport::Endpoint` [INFO] [stdout] --> src/tagger.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tonic::transport::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/tokenizer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SegmentToken` and `TextSpan` [INFO] [stdout] --> src/tokenizer.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bareun::{Segment, SegmentSentence, SegmentToken, TextSpan, TokenizeResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_MESSAGE_LENGTH` [INFO] [stdout] --> src/tokenizer.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lang_service_client::{BareunLanguageServiceClient, MAX_MESSAGE_LENGTH}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/tokenizer.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/tokenizer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::transport::Endpoint` [INFO] [stdout] --> src/tokenizer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tonic::transport::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pb_map_to_set` is never used [INFO] [stdout] --> src/custom_dict.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn pb_map_to_set(ds: &DictSet) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MESSAGE_LENGTH` is never used [INFO] [stdout] --> src/lang_service_client.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const MAX_MESSAGE_LENGTH: usize = 100 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/lang_service_client.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BareunLanguageServiceClient { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | metadata: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `phrase` is never read [INFO] [stdout] --> src/tagger.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Tagged { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | phrase: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bareun_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `phrase` is never read [INFO] [stdout] --> src/tokenizer.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Tokenized { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | phrase: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bareun_rs::Tokenized` [INFO] [stdout] --> tests/test_tokenizer.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use bareun_rs::Tokenized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> tests/test_tokenizer.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | tokenizer.await.seg(TEST_STR, false), [INFO] [stdout] | ^^^----------------- two arguments of type `bool` and `bool` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/tokenizer.rs:381:18 [INFO] [stdout] | [INFO] [stdout] 381 | pub async fn seg( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 12 | tokenizer.await.seg(TEST_STR, false, /* bool */, /* bool */), [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `impl Future` [INFO] [stdout] --> tests/test_tokenizer.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | / assert_eq!( [INFO] [stdout] 12 | | tokenizer.await.seg(TEST_STR, false), [INFO] [stdout] 13 | | vec![ [INFO] [stdout] 14 | | vec!["오늘".to_string(), "은".to_string()], [INFO] [stdout] ... | [INFO] [stdout] 25 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________impl Future [INFO] [stdout] | Vec> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl Future` doesn't implement `Debug` [INFO] [stdout] --> tests/test_tokenizer.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | / assert_eq!( [INFO] [stdout] 12 | | tokenizer.await.seg(TEST_STR, false), [INFO] [stdout] 13 | | vec![ [INFO] [stdout] 14 | | vec!["오늘".to_string(), "은".to_string()], [INFO] [stdout] ... | [INFO] [stdout] 25 | | ); [INFO] [stdout] | |_________^ `impl Future` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `impl Future` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_tokenizer.rs:30:68 [INFO] [stdout] | [INFO] [stdout] 30 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", 5757); [INFO] [stdout] | -------------- ^^^^ expected `Option`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/tokenizer.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | pub async fn new(apikey: &str, host: &str, port: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 30 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", Some(5757)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seg` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> tests/test_tokenizer.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | tokenizer.seg(TEST_STR, true, true), [INFO] [stdout] | ^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 32 | tokenizer.await.seg(TEST_STR, true, true), [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/lang_service_client.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use tonic::transport::{channel, Channel, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tag` [INFO] [stdout] --> src/tagger.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bareun::morpheme::{OutOfVocab, Tag}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_MESSAGE_LENGTH` [INFO] [stdout] --> src/tagger.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::lang_service_client::{BareunLanguageServiceClient, MAX_MESSAGE_LENGTH}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::transport::Endpoint` [INFO] [stdout] --> src/tagger.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tonic::transport::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/tokenizer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SegmentToken` and `TextSpan` [INFO] [stdout] --> src/tokenizer.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bareun::{Segment, SegmentSentence, SegmentToken, TextSpan, TokenizeResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_MESSAGE_LENGTH` [INFO] [stdout] --> src/tokenizer.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lang_service_client::{BareunLanguageServiceClient, MAX_MESSAGE_LENGTH}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/tokenizer.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/tokenizer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::transport::Endpoint` [INFO] [stdout] --> src/tokenizer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tonic::transport::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_tokenizer.rs:50:68 [INFO] [stdout] | [INFO] [stdout] 50 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", 5757); [INFO] [stdout] | -------------- ^^^^ expected `Option`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/tokenizer.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | pub async fn new(apikey: &str, host: &str, port: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 50 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", Some(5757)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seg` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> tests/test_tokenizer.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | let temp = tokenizer.seg(TEST_STR, true); [INFO] [stdout] | ^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 51 | let temp = tokenizer.await.seg(TEST_STR, true); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_tokenizer.rs:72:68 [INFO] [stdout] | [INFO] [stdout] 72 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", 5757); [INFO] [stdout] | -------------- ^^^^ expected `Option`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/tokenizer.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | pub async fn new(apikey: &str, host: &str, port: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 72 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", Some(5757)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seg` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> tests/test_tokenizer.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | tokenizer.seg(TEST_STR), [INFO] [stdout] | ^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 74 | tokenizer.await.seg(TEST_STR), [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_tokenizer.rs:92:68 [INFO] [stdout] | [INFO] [stdout] 92 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", 5757); [INFO] [stdout] | -------------- ^^^^ expected `Option`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/tokenizer.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | pub async fn new(apikey: &str, host: &str, port: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 92 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", Some(5757)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `nouns` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> tests/test_tokenizer.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | tokenizer.nouns(TEST_STR), [INFO] [stdout] | ^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 94 | tokenizer.await.nouns(TEST_STR), [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_tokenizer.rs:101:68 [INFO] [stdout] | [INFO] [stdout] 101 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", 5757); [INFO] [stdout] | -------------- ^^^^ expected `Option`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/tokenizer.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | pub async fn new(apikey: &str, host: &str, port: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 101 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", Some(5757)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tokenize` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> tests/test_tokenizer.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 102 | let tokenized = tokenizer.tokenize(TEST_STR); [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 102 | let tokenized = tokenizer.await.tokenize(TEST_STR); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_tokenizer.rs:111:68 [INFO] [stdout] | [INFO] [stdout] 111 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", 5757); [INFO] [stdout] | -------------- ^^^^ expected `Option`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/tokenizer.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | pub async fn new(apikey: &str, host: &str, port: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 111 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", Some(5757)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tokenize` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> tests/test_tokenizer.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | let tokenized = tokenizer.tokenize(TEST_STR); [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 112 | let tokenized = tokenizer.await.tokenize(TEST_STR); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_tokenizer.rs:121:68 [INFO] [stdout] | [INFO] [stdout] 121 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", 5757); [INFO] [stdout] | -------------- ^^^^ expected `Option`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/tokenizer.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | pub async fn new(apikey: &str, host: &str, port: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 121 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", Some(5757)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tokenize` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> tests/test_tokenizer.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 122 | let tokenized = tokenizer.tokenize(TEST_STR); [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 122 | let tokenized = tokenizer.await.tokenize(TEST_STR); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_tokenizer.rs:128:68 [INFO] [stdout] | [INFO] [stdout] 128 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", 5757); [INFO] [stdout] | -------------- ^^^^ expected `Option`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/tokenizer.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | pub async fn new(apikey: &str, host: &str, port: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 128 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", Some(5757)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tokenize` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> tests/test_tokenizer.rs:129:35 [INFO] [stdout] | [INFO] [stdout] 129 | let tokenized = tokenizer.tokenize(TEST_STR); [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 129 | let tokenized = tokenizer.await.tokenize(TEST_STR); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_tokenizer.rs:135:68 [INFO] [stdout] | [INFO] [stdout] 135 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", 5757); [INFO] [stdout] | -------------- ^^^^ expected `Option`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/tokenizer.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | pub async fn new(apikey: &str, host: &str, port: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 135 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", Some(5757)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tokenize` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> tests/test_tokenizer.rs:136:35 [INFO] [stdout] | [INFO] [stdout] 136 | let tokenized = tokenizer.tokenize(TEST_STR); [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 136 | let tokenized = tokenizer.await.tokenize(TEST_STR); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_tokenizer.rs:145:68 [INFO] [stdout] | [INFO] [stdout] 145 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", 5757); [INFO] [stdout] | -------------- ^^^^ expected `Option`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/tokenizer.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | pub async fn new(apikey: &str, host: &str, port: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 145 | let tokenizer = Tokenizer::new("appppppiiii", "127.0.0.1", Some(5757)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tokenize` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> tests/test_tokenizer.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | let tokenized = tokenizer.tokenize(TEST_STR); [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 146 | let tokenized = tokenizer.await.tokenize(TEST_STR); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0369, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bareun_rs` (test "test_tokenizer") due to 23 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `pb_map_to_set` is never used [INFO] [stdout] --> src/custom_dict.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn pb_map_to_set(ds: &DictSet) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MESSAGE_LENGTH` is never used [INFO] [stdout] --> src/lang_service_client.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const MAX_MESSAGE_LENGTH: usize = 100 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/lang_service_client.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BareunLanguageServiceClient { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | metadata: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `phrase` is never read [INFO] [stdout] --> src/tagger.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Tagged { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | phrase: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `phrase` is never read [INFO] [stdout] --> src/tokenizer.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Tokenized { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | phrase: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3409602e1eb264a9afeb0c4732fe524afaedb58b8937b4e7f80d49c5f3fe2aa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3409602e1eb264a9afeb0c4732fe524afaedb58b8937b4e7f80d49c5f3fe2aa7", kill_on_drop: false }` [INFO] [stdout] 3409602e1eb264a9afeb0c4732fe524afaedb58b8937b4e7f80d49c5f3fe2aa7