[INFO] cloning repository https://github.com/NilsHochschwender/elek_wider [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NilsHochschwender/elek_wider" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilsHochschwender%2Felek_wider", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilsHochschwender%2Felek_wider'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94c23ac9385b52bca94169795f12daf4a38bb0fd [INFO] checking NilsHochschwender/elek_wider against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilsHochschwender%2Felek_wider" "/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/NilsHochschwender/elek_wider on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NilsHochschwender/elek_wider [INFO] finished tweaking git repo https://github.com/NilsHochschwender/elek_wider [INFO] tweaked toml for git repo https://github.com/NilsHochschwender/elek_wider written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/NilsHochschwender/elek_wider 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex v1.0.2 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55d401fbc8fb6540d9cb44953492abc884f01977b3d9c86da787c636c7f0aece [INFO] running `Command { std: "docker" "start" "-a" "55d401fbc8fb6540d9cb44953492abc884f01977b3d9c86da787c636c7f0aece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55d401fbc8fb6540d9cb44953492abc884f01977b3d9c86da787c636c7f0aece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55d401fbc8fb6540d9cb44953492abc884f01977b3d9c86da787c636c7f0aece", kill_on_drop: false }` [INFO] [stdout] 55d401fbc8fb6540d9cb44953492abc884f01977b3d9c86da787c636c7f0aece [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=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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4653d72f668f6d0095180dde4f7c2f9aa026c81b860c873c29f2b95e256b5510 [INFO] running `Command { std: "docker" "start" "-a" "4653d72f668f6d0095180dde4f7c2f9aa026c81b860c873c29f2b95e256b5510", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking text_io v0.1.7 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking elek_wider v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `goal_pre_units` in this scope [INFO] [stdout] --> src/main.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | pow = pow - goal_pre_units.return_pow(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `goal_pre_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `goal_pre_units` in this scope [INFO] [stdout] --> src/main.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | pow = pow - goal_pre_units.return_pow(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `goal_pre_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: lang items are subject to change [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[lang = "char"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(lang_items)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: lang items are subject to change [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[lang = "char"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(lang_items)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown lang item: `char` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[lang = "char"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ definition of unknown lang item `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown lang item: `char` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[lang = "char"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ definition of unknown lang item `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0390]: cannot define inherent `impl` for primitive types [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl char{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using an extension trait instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0390]: cannot define inherent `impl` for primitive types [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl char{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using an extension trait instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_vec` found for slice `[_]` in the current scope [INFO] [stdout] --> src/main.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | let possible_chars: Vec = vec!['0','1','2','3','4','5','6','7','8','9','e','-','.']; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `[_]` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `to_vec` with a similar name [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/slice.rs:116:9 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_vec` found for slice `[_]` in the current scope [INFO] [stdout] --> src/main.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | let possible_chars: Vec = vec!['0','1','2','3','4','5','6','7','8','9','e','-','.']; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `[_]` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `to_vec` with a similar name [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/slice.rs:116:9 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `return_pow` found for reference `&PreUnits` in the current scope [INFO] [stdout] --> src/main.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | let mut pow: i16 = self.return_pow(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&PreUnits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `return_pow` found for reference `&PreUnits` in the current scope [INFO] [stdout] --> src/main.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | let mut pow: i16 = self.return_pow(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&PreUnits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] 58 | "P" => PreUnits::P, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] 58 | "P" => PreUnits::P, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] 58 | "P" => PreUnits::P, [INFO] [stdout] 59 | "T" => PreUnits::T, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] 58 | "P" => PreUnits::P, [INFO] [stdout] 59 | "T" => PreUnits::T, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 60 | "G" => PreUnits::G, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 61 | "M" => PreUnits::M, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 60 | "G" => PreUnits::G, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 61 | "M" => PreUnits::M, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 62 | "k" => PreUnits::k, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 63 | "" => PreUnits::No, [INFO] [stdout] | ^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 62 | "k" => PreUnits::k, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 64 | "d" => PreUnits::d, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 63 | "" => PreUnits::No, [INFO] [stdout] | ^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 65 | "z" => PreUnits::z, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 64 | "d" => PreUnits::d, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 66 | "m" => PreUnits::m, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 65 | "z" => PreUnits::z, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 67 | "µ" | "my" => PreUnits::my, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 66 | "m" => PreUnits::m, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 67 | "µ" | "my" => PreUnits::my, [INFO] [stdout] | ^^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 67 | "µ" | "my" => PreUnits::my, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 68 | "n" => PreUnits::n, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 67 | "µ" | "my" => PreUnits::my, [INFO] [stdout] | ^^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 68 | "n" => PreUnits::n, [INFO] [stdout] | ^^^ expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PreUnits: Clone` is not satisfied [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Clone,Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 106 | pre_unit: PreUnits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `PreUnits` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `PreUnits` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | enum PreUnits { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PreUnits: Clone` is not satisfied [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Clone,Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 106 | pre_unit: PreUnits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `PreUnits` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `PreUnits` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | enum PreUnits { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PreUnits` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Clone,Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 106 | pre_unit: PreUnits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `PreUnits` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `PreUnits`, which is required by `&PreUnits: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `PreUnits` or manually `impl Debug for PreUnits` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `PreUnits` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Debug)] [INFO] [stdout] 19 | enum PreUnits { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PreUnits` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Clone,Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 106 | pre_unit: PreUnits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `PreUnits` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `PreUnits`, which is required by `&PreUnits: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `PreUnits` or manually `impl Debug for PreUnits` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `PreUnits` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Debug)] [INFO] [stdout] 19 | enum PreUnits { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | let split_point = input.find(|c: char| !c.is_ascii_float()).unwrap_or(input.len()); [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | let split_point = input.find(|c: char| !c.is_ascii_float()).unwrap_or(input.len()); [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ascii_float` found for type `char` in the current scope [INFO] [stdout] --> src/main.rs:110:51 [INFO] [stdout] | [INFO] [stdout] 110 | let split_point = input.find(|c: char| !c.is_ascii_float()).unwrap_or(input.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 110 | let split_point = input.find(|c: char| !c.is_ascii()).unwrap_or(input.len()); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ascii_float` found for type `char` in the current scope [INFO] [stdout] --> src/main.rs:110:51 [INFO] [stdout] | [INFO] [stdout] 110 | let split_point = input.find(|c: char| !c.is_ascii_float()).unwrap_or(input.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 110 | let split_point = input.find(|c: char| !c.is_ascii()).unwrap_or(input.len()); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:113:39 [INFO] [stdout] | [INFO] [stdout] 113 | let split_point = input_clone.find("V").unwrap_or(input_clone.len()); [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:113:39 [INFO] [stdout] | [INFO] [stdout] 113 | let split_point = input_clone.find("V").unwrap_or(input_clone.len()); [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | if let Ok(num) = num_str.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | if let Ok(num) = num_str.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `PreUnits` in the current scope [INFO] [stdout] --> src/main.rs:118:37 [INFO] [stdout] | [INFO] [stdout] 18 | enum PreUnits { [INFO] [stdout] | ------------- variant or associated item `new` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 118 | pre_unit: PreUnits::new(pre_unit), [INFO] [stdout] | ^^^ variant or associated item not found in `PreUnits` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `aho_corasick::Transitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PreUnits: Clone` is not satisfied [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Clone,Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 129 | pre_unit: PreUnits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `PreUnits` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `PreUnits` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | enum PreUnits { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PreUnits` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Clone,Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 129 | pre_unit: PreUnits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `PreUnits` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `PreUnits`, which is required by `&PreUnits: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `PreUnits` or manually `impl Debug for PreUnits` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `PreUnits` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Debug)] [INFO] [stdout] 19 | enum PreUnits { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `PreUnits` in the current scope [INFO] [stdout] --> src/main.rs:118:37 [INFO] [stdout] | [INFO] [stdout] 18 | enum PreUnits { [INFO] [stdout] | ------------- variant or associated item `new` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 118 | pre_unit: PreUnits::new(pre_unit), [INFO] [stdout] | ^^^ variant or associated item not found in `PreUnits` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `aho_corasick::Transitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PreUnits: Clone` is not satisfied [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Clone,Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 129 | pre_unit: PreUnits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `PreUnits` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `PreUnits` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | enum PreUnits { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PreUnits` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Clone,Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 129 | pre_unit: PreUnits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `PreUnits` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `PreUnits`, which is required by `&PreUnits: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `PreUnits` or manually `impl Debug for PreUnits` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `PreUnits` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Debug)] [INFO] [stdout] 19 | enum PreUnits { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | let split_point = input.find(|c: char| !c.is_ascii_float()).unwrap_or(input.len()); [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | let split_point = input.find(|c: char| !c.is_ascii_float()).unwrap_or(input.len()); [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ascii_float` found for type `char` in the current scope [INFO] [stdout] --> src/main.rs:133:51 [INFO] [stdout] | [INFO] [stdout] 133 | let split_point = input.find(|c: char| !c.is_ascii_float()).unwrap_or(input.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 133 | let split_point = input.find(|c: char| !c.is_ascii()).unwrap_or(input.len()); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ascii_float` found for type `char` in the current scope [INFO] [stdout] --> src/main.rs:133:51 [INFO] [stdout] | [INFO] [stdout] 133 | let split_point = input.find(|c: char| !c.is_ascii_float()).unwrap_or(input.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ascii` with a similar name [INFO] [stdout] | [INFO] [stdout] 133 | let split_point = input.find(|c: char| !c.is_ascii()).unwrap_or(input.len()); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:136:39 [INFO] [stdout] | [INFO] [stdout] 136 | let split_point = input_clone.find("A").unwrap_or(input_clone.len()); [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | if let Ok(num) = num_str.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:136:39 [INFO] [stdout] | [INFO] [stdout] 136 | let split_point = input_clone.find("A").unwrap_or(input_clone.len()); [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `PreUnits` in the current scope [INFO] [stdout] --> src/main.rs:141:37 [INFO] [stdout] | [INFO] [stdout] 18 | enum PreUnits { [INFO] [stdout] | ------------- variant or associated item `new` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 141 | pre_unit: PreUnits::new(pre_unit), [INFO] [stdout] | ^^^ variant or associated item not found in `PreUnits` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `aho_corasick::Transitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | if let Ok(num) = num_str.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `PreUnits` in the current scope [INFO] [stdout] --> src/main.rs:141:37 [INFO] [stdout] | [INFO] [stdout] 18 | enum PreUnits { [INFO] [stdout] | ------------- variant or associated item `new` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 141 | pre_unit: PreUnits::new(pre_unit), [INFO] [stdout] | ^^^ variant or associated item not found in `PreUnits` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `aho_corasick::Transitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sqrt` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:188:39 [INFO] [stdout] | [INFO] [stdout] 188 | self.d = if d > 0f64 { Some(d.sqrt()) } else { None }; [INFO] [stdout] | ^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sqrt` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:188:39 [INFO] [stdout] | [INFO] [stdout] 188 | self.d = if d > 0f64 { Some(d.sqrt()) } else { None }; [INFO] [stdout] | ^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | for i in s.iter() { [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | for i in s.iter() { [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | / for i in s.iter() { [INFO] [stdout] 205 | | // lazy_static! is a macro which helps to reduce the defenition of expensive [INFO] [stdout] 206 | | // decleration in loops. [INFO] [stdout] 207 | | // with the following regex we try to capture the values the string vec is giving us [INFO] [stdout] ... | [INFO] [stdout] 309 | | } [INFO] [stdout] 310 | | } [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `None` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/option.rs:575:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | for i in s.iter() { [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | for i in s.iter() { [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | / for i in s.iter() { [INFO] [stdout] 205 | | // lazy_static! is a macro which helps to reduce the defenition of expensive [INFO] [stdout] 206 | | // decleration in loops. [INFO] [stdout] 207 | | // with the following regex we try to capture the values the string vec is giving us [INFO] [stdout] ... | [INFO] [stdout] 309 | | } [INFO] [stdout] 310 | | } [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `None` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/option.rs:575:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_lowercase` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:223:83 [INFO] [stdout] | [INFO] [stdout] 223 | einheit = String::from(capsnum.get(2).map_or("", |m| m.as_str())).to_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_ascii_lowercase` with a similar name [INFO] [stdout] | [INFO] [stdout] 223 | einheit = String::from(capsnum.get(2).map_or("", |m| m.as_str())).to_ascii_lowercase(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_lowercase` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:223:83 [INFO] [stdout] | [INFO] [stdout] 223 | einheit = String::from(capsnum.get(2).map_or("", |m| m.as_str())).to_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_ascii_lowercase` with a similar name [INFO] [stdout] | [INFO] [stdout] 223 | einheit = String::from(capsnum.get(2).map_or("", |m| m.as_str())).to_ascii_lowercase(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_lowercase` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:231:73 [INFO] [stdout] | [INFO] [stdout] 231 | String::from(capsmat.get(1).map_or("", |m| m.as_str())).to_lowercase() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_ascii_lowercase` with a similar name [INFO] [stdout] | [INFO] [stdout] 231 | String::from(capsmat.get(1).map_or("", |m| m.as_str())).to_ascii_lowercase() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_lowercase` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:231:73 [INFO] [stdout] | [INFO] [stdout] 231 | String::from(capsmat.get(1).map_or("", |m| m.as_str())).to_lowercase() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_ascii_lowercase` with a similar name [INFO] [stdout] | [INFO] [stdout] 231 | String::from(capsmat.get(1).map_or("", |m| m.as_str())).to_ascii_lowercase() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:245:61 [INFO] [stdout] | [INFO] [stdout] 245 | elect.resistor = if let Ok(i) = num.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:245:61 [INFO] [stdout] | [INFO] [stdout] 245 | elect.resistor = if let Ok(i) = num.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:252:56 [INFO] [stdout] | [INFO] [stdout] 252 | elect.rho = if let Ok(i) = num.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:252:56 [INFO] [stdout] | [INFO] [stdout] 252 | elect.rho = if let Ok(i) = num.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:259:59 [INFO] [stdout] | [INFO] [stdout] 259 | elect.length = if let Ok(i) = num.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:259:59 [INFO] [stdout] | [INFO] [stdout] 259 | elect.length = if let Ok(i) = num.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:266:57 [INFO] [stdout] | [INFO] [stdout] 266 | elect.area = if let Ok(i) = num.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:266:57 [INFO] [stdout] | [INFO] [stdout] 266 | elect.area = if let Ok(i) = num.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_area` found for struct `Area` in the current scope [INFO] [stdout] --> src/main.rs:272:38 [INFO] [stdout] | [INFO] [stdout] 155 | struct Area { [INFO] [stdout] | ----------- method `calc_area` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 272 | area.calc_area(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_area` found for struct `Area` in the current scope [INFO] [stdout] --> src/main.rs:272:38 [INFO] [stdout] | [INFO] [stdout] 155 | struct Area { [INFO] [stdout] | ----------- method `calc_area` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 272 | area.calc_area(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:280:57 [INFO] [stdout] | [INFO] [stdout] 280 | elect.area = if let Ok(i) = num.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:280:57 [INFO] [stdout] | [INFO] [stdout] 280 | elect.area = if let Ok(i) = num.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_d` found for struct `Area` in the current scope [INFO] [stdout] --> src/main.rs:286:38 [INFO] [stdout] | [INFO] [stdout] 155 | struct Area { [INFO] [stdout] | ----------- method `calc_d` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 286 | area.calc_d(); [INFO] [stdout] | ^^^^^^ method not found in `Area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_d` found for struct `Area` in the current scope [INFO] [stdout] --> src/main.rs:286:38 [INFO] [stdout] | [INFO] [stdout] 155 | struct Area { [INFO] [stdout] | ----------- method `calc_d` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 286 | area.calc_d(); [INFO] [stdout] | ^^^^^^ method not found in `Area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_resistor` found for mutable reference `&mut Elect` in the current scope [INFO] [stdout] --> src/main.rs:346:34 [INFO] [stdout] | [INFO] [stdout] 346 | ... self.calc_resistor(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut Elect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_resistor` found for mutable reference `&mut Elect` in the current scope [INFO] [stdout] --> src/main.rs:346:34 [INFO] [stdout] | [INFO] [stdout] 346 | ... self.calc_resistor(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut Elect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_rho` found for mutable reference `&mut Elect` in the current scope [INFO] [stdout] --> src/main.rs:350:34 [INFO] [stdout] | [INFO] [stdout] 350 | ... self.calc_rho(); [INFO] [stdout] | ^^^^^^^^ method not found in `&mut Elect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_rho` found for mutable reference `&mut Elect` in the current scope [INFO] [stdout] --> src/main.rs:350:34 [INFO] [stdout] | [INFO] [stdout] 350 | ... self.calc_rho(); [INFO] [stdout] | ^^^^^^^^ method not found in `&mut Elect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_length` found for mutable reference `&mut Elect` in the current scope [INFO] [stdout] --> src/main.rs:354:34 [INFO] [stdout] | [INFO] [stdout] 354 | ... self.calc_length(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&mut Elect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_length` found for mutable reference `&mut Elect` in the current scope [INFO] [stdout] --> src/main.rs:354:34 [INFO] [stdout] | [INFO] [stdout] 354 | ... self.calc_length(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&mut Elect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_area` found for mutable reference `&mut Elect` in the current scope [INFO] [stdout] --> src/main.rs:358:34 [INFO] [stdout] | [INFO] [stdout] 358 | ... self.calc_area(); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Elect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_area` found for mutable reference `&mut Elect` in the current scope [INFO] [stdout] --> src/main.rs:358:34 [INFO] [stdout] | [INFO] [stdout] 358 | ... self.calc_area(); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Elect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `print_res` found for mutable reference `&mut Elect` in the current scope [INFO] [stdout] --> src/main.rs:371:27 [INFO] [stdout] | [INFO] [stdout] 371 | 0 => self.print_res(0i8), [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Elect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `print_res` found for mutable reference `&mut Elect` in the current scope [INFO] [stdout] --> src/main.rs:371:27 [INFO] [stdout] | [INFO] [stdout] 371 | 0 => self.print_res(0i8), [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Elect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `print_res` found for mutable reference `&mut Elect` in the current scope [INFO] [stdout] --> src/main.rs:372:27 [INFO] [stdout] | [INFO] [stdout] 372 | 1 => self.print_res(1i8), [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Elect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `print_res` found for mutable reference `&mut Elect` in the current scope [INFO] [stdout] --> src/main.rs:372:27 [INFO] [stdout] | [INFO] [stdout] 372 | 1 => self.print_res(1i8), [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Elect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `print_res` found for mutable reference `&mut Elect` in the current scope [INFO] [stdout] --> src/main.rs:373:27 [INFO] [stdout] | [INFO] [stdout] 373 | 2 => self.print_res(2i8), [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Elect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `print_res` found for mutable reference `&mut Elect` in the current scope [INFO] [stdout] --> src/main.rs:373:27 [INFO] [stdout] | [INFO] [stdout] 373 | 2 => self.print_res(2i8), [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Elect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `print_res` found for mutable reference `&mut Elect` in the current scope [INFO] [stdout] --> src/main.rs:374:27 [INFO] [stdout] | [INFO] [stdout] 374 | 3 => self.print_res(3i8), [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Elect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `print_res` found for mutable reference `&mut Elect` in the current scope [INFO] [stdout] --> src/main.rs:374:27 [INFO] [stdout] | [INFO] [stdout] 374 | 3 => self.print_res(3i8), [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Elect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_area` found for struct `Area` in the current scope [INFO] [stdout] --> src/main.rs:455:22 [INFO] [stdout] | [INFO] [stdout] 155 | struct Area { [INFO] [stdout] | ----------- method `calc_area` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 455 | area.calc_area(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_area` found for struct `Area` in the current scope [INFO] [stdout] --> src/main.rs:455:22 [INFO] [stdout] | [INFO] [stdout] 155 | struct Area { [INFO] [stdout] | ----------- method `calc_area` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 455 | area.calc_area(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:471:31 [INFO] [stdout] | [INFO] [stdout] 471 | self.resistor = if !a.is_nan() && !rho.is_nan() && !length.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:471:31 [INFO] [stdout] | [INFO] [stdout] 471 | self.resistor = if !a.is_nan() && !rho.is_nan() && !length.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:471:48 [INFO] [stdout] | [INFO] [stdout] 471 | self.resistor = if !a.is_nan() && !rho.is_nan() && !length.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:471:48 [INFO] [stdout] | [INFO] [stdout] 471 | self.resistor = if !a.is_nan() && !rho.is_nan() && !length.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:471:68 [INFO] [stdout] | [INFO] [stdout] 471 | self.resistor = if !a.is_nan() && !rho.is_nan() && !length.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:471:68 [INFO] [stdout] | [INFO] [stdout] 471 | self.resistor = if !a.is_nan() && !rho.is_nan() && !length.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_area` found for struct `Area` in the current scope [INFO] [stdout] --> src/main.rs:486:22 [INFO] [stdout] | [INFO] [stdout] 155 | struct Area { [INFO] [stdout] | ----------- method `calc_area` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 486 | area.calc_area(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_area` found for struct `Area` in the current scope [INFO] [stdout] --> src/main.rs:486:22 [INFO] [stdout] | [INFO] [stdout] 155 | struct Area { [INFO] [stdout] | ----------- method `calc_area` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 486 | area.calc_area(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:502:26 [INFO] [stdout] | [INFO] [stdout] 502 | self.rho = if !a.is_nan() && !length.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:502:26 [INFO] [stdout] | [INFO] [stdout] 502 | self.rho = if !a.is_nan() && !length.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:502:46 [INFO] [stdout] | [INFO] [stdout] 502 | self.rho = if !a.is_nan() && !length.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:502:46 [INFO] [stdout] | [INFO] [stdout] 502 | self.rho = if !a.is_nan() && !length.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:502:68 [INFO] [stdout] | [INFO] [stdout] 502 | self.rho = if !a.is_nan() && !length.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:502:68 [INFO] [stdout] | [INFO] [stdout] 502 | self.rho = if !a.is_nan() && !length.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_area` found for struct `Area` in the current scope [INFO] [stdout] --> src/main.rs:517:22 [INFO] [stdout] | [INFO] [stdout] 155 | struct Area { [INFO] [stdout] | ----------- method `calc_area` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 517 | area.calc_area(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_area` found for struct `Area` in the current scope [INFO] [stdout] --> src/main.rs:517:22 [INFO] [stdout] | [INFO] [stdout] 155 | struct Area { [INFO] [stdout] | ----------- method `calc_area` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 517 | area.calc_area(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:533:29 [INFO] [stdout] | [INFO] [stdout] 533 | self.length = if !a.is_nan() && !rho.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:533:29 [INFO] [stdout] | [INFO] [stdout] 533 | self.length = if !a.is_nan() && !rho.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:533:46 [INFO] [stdout] | [INFO] [stdout] 533 | self.length = if !a.is_nan() && !rho.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:533:46 [INFO] [stdout] | [INFO] [stdout] 533 | self.length = if !a.is_nan() && !rho.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:533:68 [INFO] [stdout] | [INFO] [stdout] 533 | self.length = if !a.is_nan() && !rho.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:533:68 [INFO] [stdout] | [INFO] [stdout] 533 | self.length = if !a.is_nan() && !rho.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:559:29 [INFO] [stdout] | [INFO] [stdout] 559 | self.area = if !rho.is_nan() && !length.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:559:49 [INFO] [stdout] | [INFO] [stdout] 559 | self.area = if !rho.is_nan() && !length.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:559:29 [INFO] [stdout] | [INFO] [stdout] 559 | self.area = if !rho.is_nan() && !length.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:559:71 [INFO] [stdout] | [INFO] [stdout] 559 | self.area = if !rho.is_nan() && !length.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:559:49 [INFO] [stdout] | [INFO] [stdout] 559 | self.area = if !rho.is_nan() && !length.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:588:20 [INFO] [stdout] | [INFO] [stdout] 588 | for i in s.iter() { [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_nan` found for type `f64` in the current scope [INFO] [stdout] --> src/main.rs:559:71 [INFO] [stdout] | [INFO] [stdout] 559 | self.area = if !rho.is_nan() && !length.is_nan() && !resistor.is_nan() { [INFO] [stdout] | ^^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | for i in s.iter() { [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | / for i in s.iter() { [INFO] [stdout] 589 | | lazy_static! { [INFO] [stdout] 590 | | static ref RE: Regex = Regex::new(r"([0-9\.]+)(ohm|[Aa]|[Vv])").unwrap(); [INFO] [stdout] 591 | | } [INFO] [stdout] ... | [INFO] [stdout] 626 | | } [INFO] [stdout] 627 | | } [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `None` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/option.rs:575:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:588:20 [INFO] [stdout] | [INFO] [stdout] 588 | for i in s.iter() { [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | for i in s.iter() { [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | / for i in s.iter() { [INFO] [stdout] 589 | | lazy_static! { [INFO] [stdout] 590 | | static ref RE: Regex = Regex::new(r"([0-9\.]+)(ohm|[Aa]|[Vv])").unwrap(); [INFO] [stdout] 591 | | } [INFO] [stdout] ... | [INFO] [stdout] 626 | | } [INFO] [stdout] 627 | | } [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `None` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/option.rs:575:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_lowercase` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:597:80 [INFO] [stdout] | [INFO] [stdout] 597 | einheit = String::from(caps.get(2).map_or("", |m| m.as_str())).to_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_ascii_lowercase` with a similar name [INFO] [stdout] | [INFO] [stdout] 597 | einheit = String::from(caps.get(2).map_or("", |m| m.as_str())).to_ascii_lowercase(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:605:48 [INFO] [stdout] | [INFO] [stdout] 605 | uri.r = if let Ok(i) = num.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_lowercase` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:597:80 [INFO] [stdout] | [INFO] [stdout] 597 | einheit = String::from(caps.get(2).map_or("", |m| m.as_str())).to_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_ascii_lowercase` with a similar name [INFO] [stdout] | [INFO] [stdout] 597 | einheit = String::from(caps.get(2).map_or("", |m| m.as_str())).to_ascii_lowercase(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:612:48 [INFO] [stdout] | [INFO] [stdout] 612 | uri.u = if let Ok(i) = num.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:605:48 [INFO] [stdout] | [INFO] [stdout] 605 | uri.r = if let Ok(i) = num.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:619:48 [INFO] [stdout] | [INFO] [stdout] 619 | uri.i = if let Ok(i) = num.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:612:48 [INFO] [stdout] | [INFO] [stdout] 612 | uri.u = if let Ok(i) = num.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:619:48 [INFO] [stdout] | [INFO] [stdout] 619 | uri.i = if let Ok(i) = num.parse::() { [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_u` found for mutable reference `&mut URI` in the current scope [INFO] [stdout] --> src/main.rs:657:34 [INFO] [stdout] | [INFO] [stdout] 657 | ... self.calc_u(); [INFO] [stdout] | ^^^^^^ method not found in `&mut URI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_i` found for mutable reference `&mut URI` in the current scope [INFO] [stdout] --> src/main.rs:661:34 [INFO] [stdout] | [INFO] [stdout] 661 | ... self.calc_i(); [INFO] [stdout] | ^^^^^^ method not found in `&mut URI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_u` found for mutable reference `&mut URI` in the current scope [INFO] [stdout] --> src/main.rs:657:34 [INFO] [stdout] | [INFO] [stdout] 657 | ... self.calc_u(); [INFO] [stdout] | ^^^^^^ method not found in `&mut URI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_r` found for mutable reference `&mut URI` in the current scope [INFO] [stdout] --> src/main.rs:665:34 [INFO] [stdout] | [INFO] [stdout] 665 | ... self.calc_r(); [INFO] [stdout] | ^^^^^^ method not found in `&mut URI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_i` found for mutable reference `&mut URI` in the current scope [INFO] [stdout] --> src/main.rs:661:34 [INFO] [stdout] | [INFO] [stdout] 661 | ... self.calc_i(); [INFO] [stdout] | ^^^^^^ method not found in `&mut URI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `print_res` found for mutable reference `&mut URI` in the current scope [INFO] [stdout] --> src/main.rs:676:18 [INFO] [stdout] | [INFO] [stdout] 676 | self.print_res(num) [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut URI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `calc_r` found for mutable reference `&mut URI` in the current scope [INFO] [stdout] --> src/main.rs:665:34 [INFO] [stdout] | [INFO] [stdout] 665 | ... self.calc_r(); [INFO] [stdout] | ^^^^^^ method not found in `&mut URI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `print_res` found for mutable reference `&mut URI` in the current scope [INFO] [stdout] --> src/main.rs:676:18 [INFO] [stdout] | [INFO] [stdout] 676 | self.print_res(num) [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut URI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `trim` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:854:59 [INFO] [stdout] | [INFO] [stdout] 854 | Ok(_) => Some(String::from(buf_string.trim().clone())), [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `trim` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:862:59 [INFO] [stdout] | [INFO] [stdout] 862 | Ok(_) => Some(String::from(buf_string.trim().clone())), [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `trim` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:854:59 [INFO] [stdout] | [INFO] [stdout] 854 | Ok(_) => Some(String::from(buf_string.trim().clone())), [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `trim` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:862:59 [INFO] [stdout] | [INFO] [stdout] 862 | Ok(_) => Some(String::from(buf_string.trim().clone())), [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 81 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0390, E0425, E0522, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 81 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0390, E0425, E0522, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elek_wider` (bin "elek_wider") due to 82 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `elek_wider` (bin "elek_wider" test) due to 82 previous errors [INFO] running `Command { std: "docker" "inspect" "4653d72f668f6d0095180dde4f7c2f9aa026c81b860c873c29f2b95e256b5510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4653d72f668f6d0095180dde4f7c2f9aa026c81b860c873c29f2b95e256b5510", kill_on_drop: false }` [INFO] [stdout] 4653d72f668f6d0095180dde4f7c2f9aa026c81b860c873c29f2b95e256b5510 [INFO] checking NilsHochschwender/elek_wider against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilsHochschwender%2Felek_wider" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NilsHochschwender/elek_wider on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NilsHochschwender/elek_wider [INFO] finished tweaking git repo https://github.com/NilsHochschwender/elek_wider [INFO] tweaked toml for git repo https://github.com/NilsHochschwender/elek_wider written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NilsHochschwender/elek_wider 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6377a61f0e7a8294130a4c3382e6fb899c174c6b301c3903d28205937ee12b1 [INFO] running `Command { std: "docker" "start" "-a" "e6377a61f0e7a8294130a4c3382e6fb899c174c6b301c3903d28205937ee12b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6377a61f0e7a8294130a4c3382e6fb899c174c6b301c3903d28205937ee12b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6377a61f0e7a8294130a4c3382e6fb899c174c6b301c3903d28205937ee12b1", kill_on_drop: false }` [INFO] [stdout] e6377a61f0e7a8294130a4c3382e6fb899c174c6b301c3903d28205937ee12b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6c790f55e32dfa5ae8f8870e721bd5b47e91fdba2858f472e2438c8a6311d43 [INFO] running `Command { std: "docker" "start" "-a" "f6c790f55e32dfa5ae8f8870e721bd5b47e91fdba2858f472e2438c8a6311d43", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "f6c790f55e32dfa5ae8f8870e721bd5b47e91fdba2858f472e2438c8a6311d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6c790f55e32dfa5ae8f8870e721bd5b47e91fdba2858f472e2438c8a6311d43", kill_on_drop: false }` [INFO] [stdout] f6c790f55e32dfa5ae8f8870e721bd5b47e91fdba2858f472e2438c8a6311d43