[INFO] cloning repository https://github.com/pseudobabble/crunch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pseudobabble/crunch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudobabble%2Fcrunch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudobabble%2Fcrunch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b8c502d43b143a40f2ddeb74f3a2b7636dd5d9b [INFO] checking pseudobabble/crunch against master#94b72d6bebbddb5d17860914c4544f37365e988c for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudobabble%2Fcrunch" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pseudobabble/crunch on toolchain 94b72d6bebbddb5d17860914c4544f37365e988c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pseudobabble/crunch [INFO] finished tweaking git repo https://github.com/pseudobabble/crunch [INFO] tweaked toml for git repo https://github.com/pseudobabble/crunch written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pseudobabble/crunch 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" "+94b72d6bebbddb5d17860914c4544f37365e988c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking pseudobabble/crunch against try#cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudobabble%2Fcrunch" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pseudobabble/crunch on toolchain cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pseudobabble/crunch [INFO] finished tweaking git repo https://github.com/pseudobabble/crunch [INFO] tweaked toml for git repo https://github.com/pseudobabble/crunch written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pseudobabble/crunch 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" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matrixmultiply v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dbf16c6f399e3eb52dcb0adcde2d63f87b8f0479268a480da081595677ff292 [INFO] running `Command { std: "docker" "start" "-a" "9dbf16c6f399e3eb52dcb0adcde2d63f87b8f0479268a480da081595677ff292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dbf16c6f399e3eb52dcb0adcde2d63f87b8f0479268a480da081595677ff292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dbf16c6f399e3eb52dcb0adcde2d63f87b8f0479268a480da081595677ff292", kill_on_drop: false }` [INFO] [stdout] 9dbf16c6f399e3eb52dcb0adcde2d63f87b8f0479268a480da081595677ff292 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46cc7c5b141b6e08e25e2f9e974baa79a4049cf08c5b70bced71d18864844e79 [INFO] running `Command { std: "docker" "start" "-a" "46cc7c5b141b6e08e25e2f9e974baa79a4049cf08c5b70bced71d18864844e79", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking crunch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/interpreter.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | unit: Unit::Length { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Length` implemented for `types::Unit`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 143 | unit: ::Length { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/interpreter.rs:145:31 [INFO] [stdout] | [INFO] [stdout] 145 | unit: UnitIdentity::Meter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `UnitIdentity`, found enum constructor [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Meter(f64), [INFO] [stdout] | ----- `Meter` defines an enum variant constructor here, which should be called [INFO] [stdout] | [INFO] [stdout] = note: expected enum `types::UnitIdentity` [INFO] [stdout] found enum constructor `fn(f64) -> types::UnitIdentity {types::UnitIdentity::Meter}` [INFO] [stdout] help: use parentheses to construct this tuple variant [INFO] [stdout] | [INFO] [stdout] 145 | unit: UnitIdentity::Meter(/* f64 */), [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `types::Unit` has no field named `conversion_factor` [INFO] [stdout] --> src/interpreter.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | conversion_factor: 1.0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `types::Unit` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/interpreter.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | unit: Unit::Length { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Length` implemented for `types::Unit`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 153 | unit: ::Length { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/interpreter.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | unit: UnitIdentity::Kilometer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `UnitIdentity`, found enum constructor [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Kilometer(f64), [INFO] [stdout] | --------- `Kilometer` defines an enum variant constructor here, which should be called [INFO] [stdout] | [INFO] [stdout] = note: expected enum `types::UnitIdentity` [INFO] [stdout] found enum constructor `fn(f64) -> types::UnitIdentity {types::UnitIdentity::Kilometer}` [INFO] [stdout] help: use parentheses to construct this tuple variant [INFO] [stdout] | [INFO] [stdout] 155 | unit: UnitIdentity::Kilometer(/* f64 */), [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `types::Unit` has no field named `conversion_factor` [INFO] [stdout] --> src/interpreter.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | conversion_factor: 1000.0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `types::Unit` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | dimension: Unit { [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:247:31 [INFO] [stdout] | [INFO] [stdout] 247 | unit: UnitIdentity::Meter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `UnitIdentity`, found enum constructor [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Meter(f64), [INFO] [stdout] | ----- `Meter` defines an enum variant constructor here, which should be called [INFO] [stdout] | [INFO] [stdout] = note: expected enum `types::UnitIdentity` [INFO] [stdout] found enum constructor `fn(f64) -> types::UnitIdentity {types::UnitIdentity::Meter}` [INFO] [stdout] help: use parentheses to construct this tuple variant [INFO] [stdout] | [INFO] [stdout] 247 | unit: UnitIdentity::Meter(/* f64 */), [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `types::Unit` has no field named `conversion_factor` [INFO] [stdout] --> src/parser.rs:248:25 [INFO] [stdout] | [INFO] [stdout] 248 | conversion_factor: 1.0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `types::Unit` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:246:27 [INFO] [stdout] | [INFO] [stdout] 246 | unit: Unit { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 247 | | unit: UnitIdentity::Meter, [INFO] [stdout] 248 | | conversion_factor: 1.0 [INFO] [stdout] 249 | | }, [INFO] [stdout] | |_____________________^ expected `UnitIdentity`, found `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `types::Unit` has no field named `power` [INFO] [stdout] --> src/parser.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | power: 1 [INFO] [stdout] | ^^^^^ `types::Unit` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | dimension: Unit { [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:263:31 [INFO] [stdout] | [INFO] [stdout] 263 | unit: UnitIdentity::Meter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `UnitIdentity`, found enum constructor [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Meter(f64), [INFO] [stdout] | ----- `Meter` defines an enum variant constructor here, which should be called [INFO] [stdout] | [INFO] [stdout] = note: expected enum `types::UnitIdentity` [INFO] [stdout] found enum constructor `fn(f64) -> types::UnitIdentity {types::UnitIdentity::Meter}` [INFO] [stdout] help: use parentheses to construct this tuple variant [INFO] [stdout] | [INFO] [stdout] 263 | unit: UnitIdentity::Meter(/* f64 */), [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `types::Unit` has no field named `conversion_factor` [INFO] [stdout] --> src/parser.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | conversion_factor: 1.0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `types::Unit` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:262:27 [INFO] [stdout] | [INFO] [stdout] 262 | unit: Unit { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 263 | | unit: UnitIdentity::Meter, [INFO] [stdout] 264 | | conversion_factor: 1.0 [INFO] [stdout] 265 | | }, [INFO] [stdout] | |_____________________^ expected `UnitIdentity`, found `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `types::Unit` has no field named `power` [INFO] [stdout] --> src/parser.rs:266:21 [INFO] [stdout] | [INFO] [stdout] 266 | power: 1 [INFO] [stdout] | ^^^^^ `types::Unit` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | dimension: Unit { [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:278:27 [INFO] [stdout] | [INFO] [stdout] 278 | unit: UnitIdentity::Meter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `UnitIdentity`, found enum constructor [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Meter(f64), [INFO] [stdout] | ----- `Meter` defines an enum variant constructor here, which should be called [INFO] [stdout] | [INFO] [stdout] = note: expected enum `types::UnitIdentity` [INFO] [stdout] found enum constructor `fn(f64) -> types::UnitIdentity {types::UnitIdentity::Meter}` [INFO] [stdout] help: use parentheses to construct this tuple variant [INFO] [stdout] | [INFO] [stdout] 278 | unit: UnitIdentity::Meter(/* f64 */), [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `types::Unit` has no field named `conversion_factor` [INFO] [stdout] --> src/parser.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | conversion_factor: 1.0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `types::Unit` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `power` [INFO] [stdout] --> src/parser.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | power: 1 [INFO] [stdout] | ^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | dimension: Unit { [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | unit: UnitIdentity::Meter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `UnitIdentity`, found enum constructor [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Meter(f64), [INFO] [stdout] | ----- `Meter` defines an enum variant constructor here, which should be called [INFO] [stdout] | [INFO] [stdout] = note: expected enum `types::UnitIdentity` [INFO] [stdout] found enum constructor `fn(f64) -> types::UnitIdentity {types::UnitIdentity::Meter}` [INFO] [stdout] help: use parentheses to construct this tuple variant [INFO] [stdout] | [INFO] [stdout] 292 | unit: UnitIdentity::Meter(/* f64 */), [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `types::Unit` has no field named `conversion_factor` [INFO] [stdout] --> src/parser.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | conversion_factor: 1.0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `types::Unit` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `power` [INFO] [stdout] --> src/parser.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | power: 1 [INFO] [stdout] | ^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Meter` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:322:51 [INFO] [stdout] | [INFO] [stdout] 322 | dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Meter` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:322:32 [INFO] [stdout] | [INFO] [stdout] 322 | dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | dimension: Unit { [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Kilometer` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:337:37 [INFO] [stdout] | [INFO] [stdout] 337 | unit: Unit::Kilometer [INFO] [stdout] | ^^^^^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Kilometer` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:336:32 [INFO] [stdout] | [INFO] [stdout] 336 | dimension: Unit { [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | dimension: Unit { [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Kilometer` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:356:37 [INFO] [stdout] | [INFO] [stdout] 356 | unit: Unit::Kilometer [INFO] [stdout] | ^^^^^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Kilometer` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:355:32 [INFO] [stdout] | [INFO] [stdout] 355 | dimension: Unit { [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:361:21 [INFO] [stdout] | [INFO] [stdout] 361 | dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Meter` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:361:51 [INFO] [stdout] | [INFO] [stdout] 361 | dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Meter` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:361:32 [INFO] [stdout] | [INFO] [stdout] 361 | dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:377:25 [INFO] [stdout] | [INFO] [stdout] 377 | dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Meter` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:377:55 [INFO] [stdout] | [INFO] [stdout] 377 | dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Meter` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:381:25 [INFO] [stdout] | [INFO] [stdout] 381 | dimension: Unit { [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Kilometer` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:382:41 [INFO] [stdout] | [INFO] [stdout] 382 | ... unit: Unit::Kilometer [INFO] [stdout] | ^^^^^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Kilometer` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:381:36 [INFO] [stdout] | [INFO] [stdout] 381 | dimension: Unit { [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:390:25 [INFO] [stdout] | [INFO] [stdout] 390 | dimension: Unit { [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Kilometer` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:391:41 [INFO] [stdout] | [INFO] [stdout] 391 | ... unit: Unit::Kilometer [INFO] [stdout] | ^^^^^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Kilometer` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:390:36 [INFO] [stdout] | [INFO] [stdout] 390 | dimension: Unit { [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:396:25 [INFO] [stdout] | [INFO] [stdout] 396 | dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Meter` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:396:55 [INFO] [stdout] | [INFO] [stdout] 396 | dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Meter` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:396:36 [INFO] [stdout] | [INFO] [stdout] 396 | dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Meter` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:416:55 [INFO] [stdout] | [INFO] [stdout] 416 | dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Meter` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:416:36 [INFO] [stdout] | [INFO] [stdout] 416 | dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:420:25 [INFO] [stdout] | [INFO] [stdout] 420 | dimension: Unit { [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Kilometer` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:421:41 [INFO] [stdout] | [INFO] [stdout] 421 | ... unit: Unit::Kilometer [INFO] [stdout] | ^^^^^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Kilometer` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:420:36 [INFO] [stdout] | [INFO] [stdout] 420 | dimension: Unit { [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:441:29 [INFO] [stdout] | [INFO] [stdout] 441 | ... dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Meter` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:441:59 [INFO] [stdout] | [INFO] [stdout] 441 | ... dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Meter` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:441:40 [INFO] [stdout] | [INFO] [stdout] 441 | ... dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:445:29 [INFO] [stdout] | [INFO] [stdout] 445 | ... dimension: Unit { [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Kilometer` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:446:45 [INFO] [stdout] | [INFO] [stdout] 446 | ... unit: Unit::Kilometer [INFO] [stdout] | ^^^^^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Kilometer` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:445:40 [INFO] [stdout] | [INFO] [stdout] 445 | ... dimension: Unit { [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:454:29 [INFO] [stdout] | [INFO] [stdout] 454 | ... dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Meter` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:454:59 [INFO] [stdout] | [INFO] [stdout] 454 | ... dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Meter` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:454:40 [INFO] [stdout] | [INFO] [stdout] 454 | ... dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:458:29 [INFO] [stdout] | [INFO] [stdout] 458 | ... dimension: Unit { [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Kilometer` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:459:45 [INFO] [stdout] | [INFO] [stdout] 459 | ... unit: Unit::Kilometer [INFO] [stdout] | ^^^^^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Kilometer` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:458:40 [INFO] [stdout] | [INFO] [stdout] 458 | ... dimension: Unit { [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:482:29 [INFO] [stdout] | [INFO] [stdout] 482 | ... dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Meter` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:482:59 [INFO] [stdout] | [INFO] [stdout] 482 | ... dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Meter` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:482:40 [INFO] [stdout] | [INFO] [stdout] 482 | ... dimension: Unit { unit: Unit::Meter } [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:486:29 [INFO] [stdout] | [INFO] [stdout] 486 | ... dimension: Unit { [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Kilometer` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:487:45 [INFO] [stdout] | [INFO] [stdout] 487 | ... unit: Unit::Kilometer [INFO] [stdout] | ^^^^^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Kilometer` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:486:40 [INFO] [stdout] | [INFO] [stdout] 486 | ... dimension: Unit { [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `types::AstNode::Double` has no field named `dimension` [INFO] [stdout] --> src/parser.rs:496:25 [INFO] [stdout] | [INFO] [stdout] 496 | dimension: Unit { [INFO] [stdout] | ^^^^^^^^^ `types::AstNode::Double` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Kilometer` found for struct `types::Unit` in the current scope [INFO] [stdout] --> src/parser.rs:497:41 [INFO] [stdout] | [INFO] [stdout] 497 | ... unit: Unit::Kilometer [INFO] [stdout] | ^^^^^^^^^ associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Unit { [INFO] [stdout] | --------------- associated item `Kilometer` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `quantity` in initializer of `types::Unit` [INFO] [stdout] --> src/parser.rs:496:36 [INFO] [stdout] | [INFO] [stdout] 496 | dimension: Unit { [INFO] [stdout] | ^^^^ missing `quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | Quantity::None(power) => UnitIdentity::None(1.0), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | Quantity::Time(power) => UnitIdentity::Second(1.0), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | Quantity::Currency(power) => UnitIdentity::USD(1.0), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:167:28 [INFO] [stdout] | [INFO] [stdout] 167 | Quantity::None(power) => rhs, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:172:32 [INFO] [stdout] | [INFO] [stdout] 172 | Quantity::None(power) => self, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | Quantity::None(power) => self, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | Quantity::None(power) => self, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:215:28 [INFO] [stdout] | [INFO] [stdout] 215 | Quantity::None(power) => rhs, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:220:32 [INFO] [stdout] | [INFO] [stdout] 220 | Quantity::None(power) => self, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:229:32 [INFO] [stdout] | [INFO] [stdout] 229 | Quantity::None(power) => self, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | Quantity::None(power) => self, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:15:46 [INFO] [stdout] | [INFO] [stdout] 15 | println!("reached parse_length {}", input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | println!(" parsing unit {}", input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | println!(" parsed unit {}", unit_alias.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | println!(" parsed power {}", power_string.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:126:49 [INFO] [stdout] | [INFO] [stdout] 126 | println!("reached parse_dimension {}", input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:134:47 [INFO] [stdout] | [INFO] [stdout] 134 | println!("reached parse_number {}", number.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:149:46 [INFO] [stdout] | [INFO] [stdout] 149 | println!("reached parse_vector {}", input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:151:55 [INFO] [stdout] | [INFO] [stdout] 151 | println!(" reached vector bracket open {}", input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:153:42 [INFO] [stdout] | [INFO] [stdout] 153 | println!(" reached vector {}", input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:156:56 [INFO] [stdout] | [INFO] [stdout] 156 | println!(" reached vector bracket close {}", input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:171:45 [INFO] [stdout] | [INFO] [stdout] 171 | println!("reached parse_value {}", input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:176:43 [INFO] [stdout] | [INFO] [stdout] 176 | println!("reached parse_name {}", name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:183:48 [INFO] [stdout] | [INFO] [stdout] 183 | println!("reached parse_operator {}", input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:194:50 [INFO] [stdout] | [INFO] [stdout] 194 | println!("reached parse_expression {}", input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:218:48 [INFO] [stdout] | [INFO] [stdout] 218 | println!("reached parse_variable {}", input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:233:44 [INFO] [stdout] | [INFO] [stdout] 233 | println!("reached parse_line {}", input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | Quantity::None(power) => UnitIdentity::None(1.0), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | Quantity::Time(power) => UnitIdentity::Second(1.0), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | Quantity::Currency(power) => UnitIdentity::USD(1.0), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:167:28 [INFO] [stdout] | [INFO] [stdout] 167 | Quantity::None(power) => rhs, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:172:32 [INFO] [stdout] | [INFO] [stdout] 172 | Quantity::None(power) => self, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | Quantity::None(power) => self, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | Quantity::None(power) => self, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:215:28 [INFO] [stdout] | [INFO] [stdout] 215 | Quantity::None(power) => rhs, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:220:32 [INFO] [stdout] | [INFO] [stdout] 220 | Quantity::None(power) => self, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:229:32 [INFO] [stdout] | [INFO] [stdout] 229 | Quantity::None(power) => self, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/types.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | Quantity::None(power) => self, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 75 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0223, E0308, E0559, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crunch` (bin "crunch" test) due to 76 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "46cc7c5b141b6e08e25e2f9e974baa79a4049cf08c5b70bced71d18864844e79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46cc7c5b141b6e08e25e2f9e974baa79a4049cf08c5b70bced71d18864844e79", kill_on_drop: false }` [INFO] [stdout] 46cc7c5b141b6e08e25e2f9e974baa79a4049cf08c5b70bced71d18864844e79