[INFO] cloning repository https://github.com/GiggyMantis/probable-broccoli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GiggyMantis/probable-broccoli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiggyMantis%2Fprobable-broccoli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiggyMantis%2Fprobable-broccoli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9155c182a11262d38a2f4c52033e052bec49746 [INFO] checking GiggyMantis/probable-broccoli/b9155c182a11262d38a2f4c52033e052bec49746 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiggyMantis%2Fprobable-broccoli" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GiggyMantis/probable-broccoli on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GiggyMantis/probable-broccoli [INFO] finished tweaking git repo https://github.com/GiggyMantis/probable-broccoli [INFO] tweaked toml for git repo https://github.com/GiggyMantis/probable-broccoli written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/GiggyMantis/probable-broccoli 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded svg v0.16.0 [INFO] [stderr] Downloaded serde_arrays v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df04fbf65b1533e063068c73258414c1c27b400b8e89a833d0d0a4bbf9630d1d [INFO] running `Command { std: "docker" "start" "-a" "df04fbf65b1533e063068c73258414c1c27b400b8e89a833d0d0a4bbf9630d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df04fbf65b1533e063068c73258414c1c27b400b8e89a833d0d0a4bbf9630d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df04fbf65b1533e063068c73258414c1c27b400b8e89a833d0d0a4bbf9630d1d", kill_on_drop: false }` [INFO] [stdout] df04fbf65b1533e063068c73258414c1c27b400b8e89a833d0d0a4bbf9630d1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 792ddfbe80168f89f440aa7aa57b2a704da61e28344609183d323f07d1ecc9e3 [INFO] running `Command { std: "docker" "start" "-a" "792ddfbe80168f89f440aa7aa57b2a704da61e28344609183d323f07d1ecc9e3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking svg v0.16.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking serde_arrays v0.1.0 [INFO] [stderr] Checking probable-broccoli v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `lexicon_distance` [INFO] [stdout] --> src/compare.rs:38:210 [INFO] [stdout] | [INFO] [stdout] 38 | ... normalized_levenshtein_distance += 1.0 - normalized_levenshtein(&*ipa_mapping::to_broccoli_sampa(&lect_a.leipzig_jakarta_list[n].0), &*ipa_mapping::to_broccoli_sampa(&lect_b.leipzig_jakarta_list[n].0)) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 39 | ... lexicon_distance += LEXICON_MULTIPLIER_GENDER_ONLY * gender_distance(lect_a.leipzig_jakarta_list[n].1, lect_b.leipzig_jakarta_list[n].1); [INFO] [stdout] | ---------------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: can't reassign to an uninitialized variable [INFO] [stdout] --> src/compare.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | let lexicon_distance += LEXICON_MULTIPLIER * (normalized_levenshtein_distance as f64); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: if you meant to overwrite, remove the `let` binding [INFO] [stdout] help: initialize the variable [INFO] [stdout] | [INFO] [stdout] 42 - let lexicon_distance += LEXICON_MULTIPLIER * (normalized_levenshtein_distance as f64); [INFO] [stdout] 42 + let lexicon_distance = LEXICON_MULTIPLIER * (normalized_levenshtein_distance as f64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `lexicon_distance` [INFO] [stdout] --> src/compare.rs:38:210 [INFO] [stdout] | [INFO] [stdout] 38 | ... normalized_levenshtein_distance += 1.0 - normalized_levenshtein(&*ipa_mapping::to_broccoli_sampa(&lect_a.leipzig_jakarta_list[n].0), &*ipa_mapping::to_broccoli_sampa(&lect_b.leipzig_jakarta_list[n].0)) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 39 | ... lexicon_distance += LEXICON_MULTIPLIER_GENDER_ONLY * gender_distance(lect_a.leipzig_jakarta_list[n].1, lect_b.leipzig_jakarta_list[n].1); [INFO] [stdout] | ---------------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: can't reassign to an uninitialized variable [INFO] [stdout] --> src/compare.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | let lexicon_distance += LEXICON_MULTIPLIER * (normalized_levenshtein_distance as f64); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: if you meant to overwrite, remove the `let` binding [INFO] [stdout] help: initialize the variable [INFO] [stdout] | [INFO] [stdout] 42 - let lexicon_distance += LEXICON_MULTIPLIER * (normalized_levenshtein_distance as f64); [INFO] [stdout] 42 + let lexicon_distance = LEXICON_MULTIPLIER * (normalized_levenshtein_distance as f64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `strsim` [INFO] [stdout] --> src/compare.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use strsim::{normalized_levenshtein, normalized_damerau_levenshtein}; [INFO] [stdout] | ^^^^^^ you might be missing crate `strsim` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `strsim` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate strsim; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> src/ipa_mapping.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use regex::{Regex}; [INFO] [stdout] | ^^^^^ you might be missing crate `regex` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `regex` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `strsim` [INFO] [stdout] --> src/compare.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use strsim::{normalized_levenshtein, normalized_damerau_levenshtein}; [INFO] [stdout] | ^^^^^^ you might be missing crate `strsim` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `strsim` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate strsim; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `strsim` [INFO] [stdout] --> src/ipa_mapping.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use strsim::{normalized_damerau_levenshtein, normalized_levenshtein}; [INFO] [stdout] | ^^^^^^ you might be missing crate `strsim` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `strsim` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate strsim; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> src/ipa_mapping.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use regex::{Regex}; [INFO] [stdout] | ^^^^^ you might be missing crate `regex` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `regex` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `indicatif` [INFO] [stdout] --> src/model.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use indicatif; [INFO] [stdout] | ^^^^^^^^^ no `indicatif` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `strsim` [INFO] [stdout] --> src/ipa_mapping.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use strsim::{normalized_damerau_levenshtein, normalized_levenshtein}; [INFO] [stdout] | ^^^^^^ you might be missing crate `strsim` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `strsim` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate strsim; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `indicatif` [INFO] [stdout] --> src/model.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use indicatif; [INFO] [stdout] | ^^^^^^^^^ no `indicatif` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `indicatif` [INFO] [stdout] --> src/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use indicatif::{ProgressBar, ProgressDrawTarget, ProgressFinish, ProgressStyle}; [INFO] [stdout] | ^^^^^^^^^ you might be missing crate `indicatif` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `indicatif` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate indicatif; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/model.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::Serializer; [INFO] [stdout] | ^^^^^ you might be missing crate `serde` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `serde` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate serde; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: you might be missing crate `svg` [INFO] [stdout] --> src/dendrogram.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use svg::node::element::{Circle, Path, path::Data, Style}; [INFO] [stdout] | ^^^ you might be missing crate `svg` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `svg` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate svg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `indicatif` [INFO] [stdout] --> src/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use indicatif::{ProgressBar, ProgressDrawTarget, ProgressFinish, ProgressStyle}; [INFO] [stdout] | ^^^^^^^^^ you might be missing crate `indicatif` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `indicatif` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate indicatif; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/model.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::Serializer; [INFO] [stdout] | ^^^^^ you might be missing crate `serde` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `serde` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate serde; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: you might be missing crate `svg` [INFO] [stdout] --> src/dendrogram.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use svg::node::{Comment, element}; [INFO] [stdout] | ^^^ you might be missing crate `svg` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `svg` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate svg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: you might be missing crate `svg` [INFO] [stdout] --> src/dendrogram.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use svg::node::element::{Circle, Path, path::Data, Style}; [INFO] [stdout] | ^^^ you might be missing crate `svg` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `svg` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate svg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: you might be missing crate `svg` [INFO] [stdout] --> src/dendrogram.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use svg::node::element::tag::Style; [INFO] [stdout] | ^^^ you might be missing crate `svg` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `svg` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate svg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `svg` [INFO] [stdout] --> src/dendrogram.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use svg::Document; [INFO] [stdout] | ^^^ you might be missing crate `svg` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `svg` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate svg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^ you might be missing crate `serde` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `serde` crate [INFO] [stdout] | [INFO] [stdout] 3 + extern crate serde; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: you might be missing crate `svg` [INFO] [stdout] --> src/dendrogram.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use svg::node::{Comment, element}; [INFO] [stdout] | ^^^ you might be missing crate `svg` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `svg` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate svg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_arrays` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_arrays; [INFO] [stdout] | ^^^^^^^^^^^^ no `serde_arrays` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: you might be missing crate `svg` [INFO] [stdout] --> src/dendrogram.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use svg::node::element::tag::Style; [INFO] [stdout] | ^^^ you might be missing crate `svg` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `svg` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate svg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | #[serde(with = "serde_arrays")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `svg` [INFO] [stdout] --> src/dendrogram.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use svg::Document; [INFO] [stdout] | ^^^ you might be missing crate `svg` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `svg` crate [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + extern crate svg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:356:3 [INFO] [stdout] | [INFO] [stdout] 356 | #[serde(tag = "t", content = "c")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^ you might be missing crate `serde` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `serde` crate [INFO] [stdout] | [INFO] [stdout] 3 + extern crate serde; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_arrays` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_arrays; [INFO] [stdout] | ^^^^^^^^^^^^ no `serde_arrays` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | #[serde(with = "serde_arrays")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:356:3 [INFO] [stdout] | [INFO] [stdout] 356 | #[serde(tag = "t", content = "c")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lexicon_distance` in this scope [INFO] [stdout] --> src/compare.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | ... lexicon_distance += LEXICON_MULTIPLIER_GENDER_ONLY * gender_distance(lect_a.leipzig_jakarta_list[n].1, lect_b.leipzig_jakarta_list[... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/ipa_mapping.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::option::Option` [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dendrogram::ConnectionTuple` [INFO] [stdout] --> src/model.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::dendrogram::ConnectionTuple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/model.rs:199:22 [INFO] [stdout] | [INFO] [stdout] 199 | let delta_time = (((((u16::MAX - distance) as f64 / (u16::MAX as f64)).ln()) * 1000.0 * RATE_OF_LANGUAGE_CHANGE) as i32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 199 - let delta_time = (((((u16::MAX - distance) as f64 / (u16::MAX as f64)).ln()) * 1000.0 * RATE_OF_LANGUAGE_CHANGE) as i32); [INFO] [stdout] 199 + let delta_time = ((((u16::MAX - distance) as f64 / (u16::MAX as f64)).ln()) * 1000.0 * RATE_OF_LANGUAGE_CHANGE) as i32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/dendrogram.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/dendrogram.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/dendrogram.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::age_of_common_ancestor` [INFO] [stdout] --> src/dendrogram.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::age_of_common_ancestor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TreeNode` [INFO] [stdout] --> src/dendrogram.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{model, TreeNode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `collections`, and `fs::read_to_string` [INFO] [stdout] --> src/lib.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{cell::RefCell, rc::Rc, fs, fs::read_to_string, collections::HashMap, collections}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/lib.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::BinaryTree` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::model::BinaryTree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dendrogram::ConnectionTuple` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::dendrogram::ConnectionTuple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lexicon_distance` in this scope [INFO] [stdout] --> src/compare.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | ... lexicon_distance += LEXICON_MULTIPLIER_GENDER_ONLY * gender_distance(lect_a.leipzig_jakarta_list[n].1, lect_b.leipzig_jakarta_list[... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/ipa_mapping.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::option::Option` [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dendrogram::ConnectionTuple` [INFO] [stdout] --> src/model.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::dendrogram::ConnectionTuple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/model.rs:199:22 [INFO] [stdout] | [INFO] [stdout] 199 | let delta_time = (((((u16::MAX - distance) as f64 / (u16::MAX as f64)).ln()) * 1000.0 * RATE_OF_LANGUAGE_CHANGE) as i32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 199 - let delta_time = (((((u16::MAX - distance) as f64 / (u16::MAX as f64)).ln()) * 1000.0 * RATE_OF_LANGUAGE_CHANGE) as i32); [INFO] [stdout] 199 + let delta_time = ((((u16::MAX - distance) as f64 / (u16::MAX as f64)).ln()) * 1000.0 * RATE_OF_LANGUAGE_CHANGE) as i32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/dendrogram.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/dendrogram.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/dendrogram.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::age_of_common_ancestor` [INFO] [stdout] --> src/dendrogram.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::age_of_common_ancestor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TreeNode` [INFO] [stdout] --> src/dendrogram.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{model, TreeNode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `collections`, and `fs::read_to_string` [INFO] [stdout] --> src/lib.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{cell::RefCell, rc::Rc, fs, fs::read_to_string, collections::HashMap, collections}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/lib.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::BinaryTree` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::model::BinaryTree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dendrogram::ConnectionTuple` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::dendrogram::ConnectionTuple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/compare.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | ... lexicon_distance += LEXICON_MULTIPLIER_GENDER_ONLY * gender_distance(lect_a.leipzig_jakarta_list[n].1, lect_b.leipzig_jakarta_list[... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `Vec`, found `usize` [INFO] [stdout] --> src/compare.rs:39:78 [INFO] [stdout] | [INFO] [stdout] 39 | ... lexicon_distance += LEXICON_MULTIPLIER_GENDER_ONLY * gender_distance(lect_a.leipzig_jakarta_list[n].1, lect_b.leipzig_jakarta_list[... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found type `usize` [INFO] [stdout] note: expected `Vec`, found `usize` [INFO] [stdout] --> src/compare.rs:39:112 [INFO] [stdout] | [INFO] [stdout] 39 | ... gender_distance(lect_a.leipzig_jakarta_list[n].1, lect_b.leipzig_jakarta_list[n].1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found type `usize` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/compare.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn gender_distance(a: NounClass, b: NounClass) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/compare.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | ... lexicon_distance += LEXICON_MULTIPLIER_GENDER_ONLY * gender_distance(lect_a.leipzig_jakarta_list[n].1, lect_b.leipzig_jakarta_list[... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `Vec`, found `usize` [INFO] [stdout] --> src/compare.rs:39:78 [INFO] [stdout] | [INFO] [stdout] 39 | ... lexicon_distance += LEXICON_MULTIPLIER_GENDER_ONLY * gender_distance(lect_a.leipzig_jakarta_list[n].1, lect_b.leipzig_jakarta_list[... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found type `usize` [INFO] [stdout] note: expected `Vec`, found `usize` [INFO] [stdout] --> src/compare.rs:39:112 [INFO] [stdout] | [INFO] [stdout] 39 | ... gender_distance(lect_a.leipzig_jakarta_list[n].1, lect_b.leipzig_jakarta_list[n].1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found type `usize` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/compare.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn gender_distance(a: NounClass, b: NounClass) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/compare.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | if a.contains(NounClassCatergories::None) | b.contains(NounClassCatergories::None) { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&NounClassCatergories`, found `NounClassCatergories` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/slice/mod.rs:2504:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 178 | if a.contains(&NounClassCatergories::None) | b.contains(NounClassCatergories::None) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/compare.rs:178:60 [INFO] [stdout] | [INFO] [stdout] 178 | if a.contains(NounClassCatergories::None) | b.contains(NounClassCatergories::None) { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&NounClassCatergories`, found `NounClassCatergories` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/slice/mod.rs:2504:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 178 | if a.contains(NounClassCatergories::None) | b.contains(&NounClassCatergories::None) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/compare.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | if a.contains(NounClassCatergories::None) | b.contains(NounClassCatergories::None) { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&NounClassCatergories`, found `NounClassCatergories` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/slice/mod.rs:2504:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 178 | if a.contains(&NounClassCatergories::None) | b.contains(NounClassCatergories::None) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/compare.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | if !b.contains(cat) { [INFO] [stdout] | -------- ^^^ expected `&NounClassCatergories`, found `NounClassCatergories` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/slice/mod.rs:2504:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 185 | if !b.contains(&cat) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/compare.rs:178:60 [INFO] [stdout] | [INFO] [stdout] 178 | if a.contains(NounClassCatergories::None) | b.contains(NounClassCatergories::None) { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&NounClassCatergories`, found `NounClassCatergories` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/slice/mod.rs:2504:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 178 | if a.contains(NounClassCatergories::None) | b.contains(&NounClassCatergories::None) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/compare.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | if !b.contains(cat) { [INFO] [stdout] | -------- ^^^ expected `&NounClassCatergories`, found `NounClassCatergories` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/slice/mod.rs:2504:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 185 | if !b.contains(&cat) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Languoid: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/model.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | ...om_languoid(Box::new(serde_json::from_str(&*read_to_string(format!("{}/{}.json", folder, fp)).unwrap()).unwrap()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Languoid` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 130 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.113/src/de.rs:2676:8 [INFO] [stdout] | [INFO] [stdout] 2674 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2675 | where [INFO] [stdout] 2676 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Languoid: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/model.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | let l: Languoid = serde_json::from_str(&*read_to_string(path.unwrap().path()).unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Languoid` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 130 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.113/src/de.rs:2676:8 [INFO] [stdout] | [INFO] [stdout] 2674 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2675 | where [INFO] [stdout] 2676 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Languoid: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/model.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | ...om_languoid(Box::new(serde_json::from_str(&*read_to_string(format!("{}/{}.json", folder, fp)).unwrap()).unwrap()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Languoid` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 130 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.113/src/de.rs:2676:8 [INFO] [stdout] | [INFO] [stdout] 2674 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2675 | where [INFO] [stdout] 2676 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Languoid: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/model.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | let l: Languoid = serde_json::from_str(&*read_to_string(path.unwrap().path()).unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Languoid` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 130 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.113/src/de.rs:2676:8 [INFO] [stdout] | [INFO] [stdout] 2674 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2675 | where [INFO] [stdout] 2676 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize_str` found for mutable reference `&mut std::fmt::Formatter<'_>` in the current scope [INFO] [stdout] --> src/model.rs:184:11 [INFO] [stdout] | [INFO] [stdout] 184 | f.serialize_str(&*self.get_debug_representation()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `serialize_struct` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.196/src/ser/mod.rs:1197:5 [INFO] [stdout] | [INFO] [stdout] 1197 | / fn serialize_struct( [INFO] [stdout] 1198 | | self, [INFO] [stdout] 1199 | | name: &'static str, [INFO] [stdout] 1200 | | len: usize, [INFO] [stdout] 1201 | | ) -> Result; [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] help: trait `Serializer` which provides `serialize_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use serde::ser::Serializer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize_str` found for mutable reference `&mut std::fmt::Formatter<'_>` in the current scope [INFO] [stdout] --> src/model.rs:184:11 [INFO] [stdout] | [INFO] [stdout] 184 | f.serialize_str(&*self.get_debug_representation()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `serialize_struct` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.196/src/ser/mod.rs:1197:5 [INFO] [stdout] | [INFO] [stdout] 1197 | / fn serialize_struct( [INFO] [stdout] 1198 | | self, [INFO] [stdout] 1199 | | name: &'static str, [INFO] [stdout] 1200 | | len: usize, [INFO] [stdout] 1201 | | ) -> Result; [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] help: trait `Serializer` which provides `serialize_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use serde::ser::Serializer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_into` found for struct `Vec<(std::string::String, usize)>` in the current scope [INFO] [stdout] --> src/lib.rs:174:77 [INFO] [stdout] | [INFO] [stdout] 174 | a.iter().map(|&x| (x.to_string(), 0)).collect::>().try_into().unwrap() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/convert/mod.rs:611:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Vec<(std::string::String, usize)>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: 'std::convert::TryInto' is included in the prelude starting in Edition 2021 [INFO] [stdout] help: trait `TryInto` which provides `try_into` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::convert::TryInto; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into` with a similar name [INFO] [stdout] | [INFO] [stdout] 174 | a.iter().map(|&x| (x.to_string(), 0)).collect::>().into().unwrap() [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_into` found for struct `Vec<(std::string::String, usize)>` in the current scope [INFO] [stdout] --> src/lib.rs:178:81 [INFO] [stdout] | [INFO] [stdout] 178 | a.iter().map(|&x| (x.0.to_string(), x.1)).collect::>().try_into().unwrap() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/convert/mod.rs:611:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Vec<(std::string::String, usize)>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: 'std::convert::TryInto' is included in the prelude starting in Edition 2021 [INFO] [stdout] help: trait `TryInto` which provides `try_into` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::convert::TryInto; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into` with a similar name [INFO] [stdout] | [INFO] [stdout] 178 | a.iter().map(|&x| (x.0.to_string(), x.1)).collect::>().into().unwrap() [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/lib.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compare.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | let mut fam: &TreeNodeRef; [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: variable does not need to be mutable [INFO] [stdout] --> src/compare.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let mut lang: &TreeNodeRef; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_into` found for struct `Vec<(std::string::String, usize)>` in the current scope [INFO] [stdout] --> src/lib.rs:174:77 [INFO] [stdout] | [INFO] [stdout] 174 | a.iter().map(|&x| (x.to_string(), 0)).collect::>().try_into().unwrap() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/convert/mod.rs:611:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Vec<(std::string::String, usize)>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: 'std::convert::TryInto' is included in the prelude starting in Edition 2021 [INFO] [stdout] help: trait `TryInto` which provides `try_into` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::convert::TryInto; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into` with a similar name [INFO] [stdout] | [INFO] [stdout] 174 | a.iter().map(|&x| (x.to_string(), 0)).collect::>().into().unwrap() [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_into` found for struct `Vec<(std::string::String, usize)>` in the current scope [INFO] [stdout] --> src/lib.rs:178:81 [INFO] [stdout] | [INFO] [stdout] 178 | a.iter().map(|&x| (x.0.to_string(), x.1)).collect::>().try_into().unwrap() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/convert/mod.rs:611:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Vec<(std::string::String, usize)>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: 'std::convert::TryInto' is included in the prelude starting in Edition 2021 [INFO] [stdout] help: trait `TryInto` which provides `try_into` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::convert::TryInto; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into` with a similar name [INFO] [stdout] | [INFO] [stdout] 178 | a.iter().map(|&x| (x.0.to_string(), x.1)).collect::>().into().unwrap() [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/lib.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ipa_mapping.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut formatted_string: String = geminate(&s.replace("ɥ̠", "ҩʷ").replace("ɥ˗", "ҩʷ").replace("j̠", "ҩ").replace("j˗", "ҩ").replace(...", [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compare.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | let mut fam: &TreeNodeRef; [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: variable does not need to be mutable [INFO] [stdout] --> src/compare.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let mut lang: &TreeNodeRef; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/model.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | fn starostin_method_age(distance: u16, age_a: i32, age_b: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age_a` [INFO] [stdout] --> src/model.rs:203:40 [INFO] [stdout] | [INFO] [stdout] 203 | fn starostin_method_age(distance: u16, age_a: i32, age_b: i32) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_age_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age_b` [INFO] [stdout] --> src/model.rs:203:52 [INFO] [stdout] | [INFO] [stdout] 203 | fn starostin_method_age(distance: u16, age_a: i32, age_b: i32) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_age_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ipa_mapping.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut formatted_string: String = geminate(&s.replace("ɥ̠", "ҩʷ").replace("ɥ˗", "ҩʷ").replace("j̠", "ҩ").replace("j˗", "ҩ").replace(...", [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/model.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | fn starostin_method_age(distance: u16, age_a: i32, age_b: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age_a` [INFO] [stdout] --> src/model.rs:203:40 [INFO] [stdout] | [INFO] [stdout] 203 | fn starostin_method_age(distance: u16, age_a: i32, age_b: i32) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_age_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age_b` [INFO] [stdout] --> src/model.rs:203:52 [INFO] [stdout] | [INFO] [stdout] 203 | fn starostin_method_age(distance: u16, age_a: i32, age_b: i32) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_age_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `probable-broccoli` (lib test) due to 27 previous errors; 21 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `probable-broccoli` (lib) due to 27 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "792ddfbe80168f89f440aa7aa57b2a704da61e28344609183d323f07d1ecc9e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "792ddfbe80168f89f440aa7aa57b2a704da61e28344609183d323f07d1ecc9e3", kill_on_drop: false }` [INFO] [stdout] 792ddfbe80168f89f440aa7aa57b2a704da61e28344609183d323f07d1ecc9e3