[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#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiggyMantis%2Fprobable-broccoli" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GiggyMantis/probable-broccoli on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-3-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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 serde_arrays v0.1.0 [INFO] [stderr] Downloaded svg v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86c7b76e8cd881721747c4ccddfbd9f2ec5f0f67a3fe83fbe319b2519acbee14 [INFO] running `Command { std: "docker" "start" "-a" "86c7b76e8cd881721747c4ccddfbd9f2ec5f0f67a3fe83fbe319b2519acbee14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86c7b76e8cd881721747c4ccddfbd9f2ec5f0f67a3fe83fbe319b2519acbee14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c7b76e8cd881721747c4ccddfbd9f2ec5f0f67a3fe83fbe319b2519acbee14", kill_on_drop: false }` [INFO] [stdout] 86c7b76e8cd881721747c4ccddfbd9f2ec5f0f67a3fe83fbe319b2519acbee14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51495f7617a3c61f678e1c948db7b7d17ac22b0a377d1dce2e1e22815ec5e0ea [INFO] running `Command { std: "docker" "start" "-a" "51495f7617a3c61f678e1c948db7b7d17ac22b0a377d1dce2e1e22815ec5e0ea", 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 serde v1.0.196 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking unicode-width v0.1.11 [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] Compiling syn v2.0.48 [INFO] [stderr] Checking console v0.15.8 [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/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[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 `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/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[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[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[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: 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[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: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: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[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] 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[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] 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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/slice/mod.rs:2509: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]: 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: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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/slice/mod.rs:2509: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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/slice/mod.rs:2509: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: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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/slice/mod.rs:2509: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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/slice/mod.rs:2509: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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/slice/mod.rs:2509: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/ff1737bb00913444173658b4e0b274fd79aabf66/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:174:77 [INFO] [stdout] | [INFO] [stdout] 174 | a.iter().map(|&x| (x.to_string(), 0)).collect::>().try_into().unwrap() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/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/ff1737bb00913444173658b4e0b274fd79aabf66/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] 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/ff1737bb00913444173658b4e0b274fd79aabf66/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] 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] 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] [stderr] error: could not compile `probable-broccoli` (lib) due to 26 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `probable-broccoli` (lib test) due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "51495f7617a3c61f678e1c948db7b7d17ac22b0a377d1dce2e1e22815ec5e0ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51495f7617a3c61f678e1c948db7b7d17ac22b0a377d1dce2e1e22815ec5e0ea", kill_on_drop: false }` [INFO] [stdout] 51495f7617a3c61f678e1c948db7b7d17ac22b0a377d1dce2e1e22815ec5e0ea