[INFO] cloning repository https://github.com/kod-kristoff/chart_parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kod-kristoff/chart_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkod-kristoff%2Fchart_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkod-kristoff%2Fchart_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d3346dea2bc4947f529f614f0a13e7fc9a3e4c1 [INFO] building kod-kristoff/chart_parser against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkod-kristoff%2Fchart_parser" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kod-kristoff/chart_parser [INFO] finished tweaking git repo https://github.com/kod-kristoff/chart_parser [INFO] tweaked toml for git repo https://github.com/kod-kristoff/chart_parser written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kod-kristoff/chart_parser on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kod-kristoff/chart_parser 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ron v0.6.0 [INFO] [stderr] Downloaded serde v1.0.111 [INFO] [stderr] Downloaded serde_derive v1.0.111 [INFO] [stderr] Downloaded base64 v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b5168d2f3c1d17c077f4c279d74132095f7ae89764552454519c9d15908188a [INFO] running `Command { std: "docker" "start" "-a" "2b5168d2f3c1d17c077f4c279d74132095f7ae89764552454519c9d15908188a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b5168d2f3c1d17c077f4c279d74132095f7ae89764552454519c9d15908188a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b5168d2f3c1d17c077f4c279d74132095f7ae89764552454519c9d15908188a", kill_on_drop: false }` [INFO] [stdout] 2b5168d2f3c1d17c077f4c279d74132095f7ae89764552454519c9d15908188a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa673452c010a6e3c300c30a5c89f143d9e417daf3b3b33bba00e100c58bbca6 [INFO] running `Command { std: "docker" "start" "-a" "aa673452c010a6e3c300c30a5c89f143d9e417daf3b3b33bba00e100c58bbca6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling ron v0.6.0 [INFO] [stderr] Compiling chart_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Chart` in this scope [INFO] [stdout] --> src/main.rs:183:28 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn success(chart: &Chart, cat: &str, start: usize) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Chart` in this scope [INFO] [stdout] --> src/main.rs:190:51 [INFO] [stdout] | [INFO] [stdout] 190 | parser: impl Fn(&'a[Rule], &[&'a str]) -> Chart<'a>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Chart` in this scope [INFO] [stdout] --> src/main.rs:216:32 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn print_chart(chart: &Chart, positions: &[i32], cutoff: Option) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Chart` in this scope [INFO] [stdout] --> src/main.rs:234:67 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn earley1<'a>(grammar: &'a [Rule], input: &[&'a str]) -> Chart<'a> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Chart` in this scope [INFO] [stdout] --> src/main.rs:235:26 [INFO] [stdout] | [INFO] [stdout] 235 | let mut result = Chart { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edge` in this scope [INFO] [stdout] --> src/main.rs:238:36 [INFO] [stdout] | [INFO] [stdout] 238 | let mut chart: Vec> = vec!(HashSet::new()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 234 | pub fn earley1<'a, Edge>(grammar: &'a [Rule], input: &[&'a str]) -> Chart<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Edge` in this scope [INFO] [stdout] --> src/main.rs:267:37 [INFO] [stdout] | [INFO] [stdout] 267 | ... Edge { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Edge` in this scope [INFO] [stdout] --> src/main.rs:283:37 [INFO] [stdout] | [INFO] [stdout] 283 | ... Edge { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Chart` in this scope [INFO] [stdout] --> src/main.rs:313:67 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn earley2<'a>(grammar: &'a [Rule], input: &[&'a str]) -> Chart<'a> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edge` in this scope [INFO] [stdout] --> src/main.rs:316:58 [INFO] [stdout] | [INFO] [stdout] 316 | let mut chart: Vec, HashSet>> = Vec::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 313 | pub fn earley2<'a, Edge>(grammar: &'a [Rule], input: &[&'a str]) -> Chart<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Edge` in this scope [INFO] [stdout] --> src/main.rs:329:35 [INFO] [stdout] | [INFO] [stdout] 329 | let mut agenda = vec!(Edge { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edge` in this scope [INFO] [stdout] --> src/main.rs:349:76 [INFO] [stdout] | [INFO] [stdout] 349 | let edgeset = lc_edgesets.entry(leftc).or_insert(HashSet::::new()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 313 | pub fn earley2<'a, Edge>(grammar: &'a [Rule], input: &[&'a str]) -> Chart<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Edge` in this scope [INFO] [stdout] --> src/main.rs:358:37 [INFO] [stdout] | [INFO] [stdout] 358 | ... Edge { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Edge` in this scope [INFO] [stdout] --> src/main.rs:373:37 [INFO] [stdout] | [INFO] [stdout] 373 | ... Edge { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Chart` in this scope [INFO] [stdout] --> src/main.rs:423:67 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn earley3<'a>(grammar: &'a [Rule], input: &[&'a str]) -> Chart<'a> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edge` in this scope [INFO] [stdout] --> src/main.rs:426:58 [INFO] [stdout] | [INFO] [stdout] 426 | let mut chart: Vec, HashSet>> = Vec::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 423 | pub fn earley3<'a, Edge>(grammar: &'a [Rule], input: &[&'a str]) -> Chart<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edge` in this scope [INFO] [stdout] --> src/main.rs:460:76 [INFO] [stdout] | [INFO] [stdout] 460 | let edgeset = lc_edgesets.entry(leftc).or_insert(HashSet::::new()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 423 | pub fn earley3<'a, Edge>(grammar: &'a [Rule], input: &[&'a str]) -> Chart<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Edge` in this scope [INFO] [stdout] --> src/main.rs:469:37 [INFO] [stdout] | [INFO] [stdout] 469 | ... Edge { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Edge` in this scope [INFO] [stdout] --> src/main.rs:484:37 [INFO] [stdout] | [INFO] [stdout] 484 | ... Edge { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter` and `Write` [INFO] [stdout] --> src/main.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp` and `fmt` [INFO] [stdout] --> src/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | cmp, [INFO] [stdout] | ^^^ [INFO] [stdout] 127 | fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ron::Result` [INFO] [stdout] --> src/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | use ron::Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rule` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | println!("{}", rule); [INFO] [stdout] | -- ^^^^ `Rule` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Rule` [INFO] [stdout] --> src/main.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Rule { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required for `&Rule` to implement `std::fmt::Display` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rule` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | println!("{:10}: {}", lc, rules.iter().format(" ")); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Rule` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Rule` [INFO] [stdout] --> src/main.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Rule { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = help: the trait `std::fmt::Display` is implemented for `Format<'_, I>` [INFO] [stdout] = note: required for `&Rule` to implement `std::fmt::Display` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required for `Format<'_, std::slice::Iter<'_, &Rule>>` to implement `std::fmt::Display` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rule: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/main.rs:160:47 [INFO] [stdout] | [INFO] [stdout] 160 | let grammar: ron::Result> = ron::de::from_reader(f); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `Rule` [INFO] [stdout] --> src/main.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Rule { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 128 others [INFO] [stdout] = note: required for `Vec` to implement `for<'de> Deserialize<'de>` [INFO] [stdout] = note: required for `Vec` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_reader` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ron-0.6.0/src/de/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_reader(mut rdr: R) -> Result [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 51 | T: de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `from_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `chartsize` in this scope [INFO] [stdout] --> src/main.rs:218:42 [INFO] [stdout] | [INFO] [stdout] 218 | println!("Chart size: {} edges", chartsize(chart)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:220:24 [INFO] [stdout] | [INFO] [stdout] 220 | if edgeset.len() > 0 && (positions.contains(&(k as i32)) || positions.contains(&(k as i32 - chart.chart.len() as i32))) { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> src/main.rs:249:35 [INFO] [stdout] | [INFO] [stdout] 249 | let mut agenda = vec!(Edge::new(k-1, k, word, None, 0)); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | let edge = match agenda.pop() { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | if edge.is_passive() { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `edge` an explicit type [INFO] [stdout] | [INFO] [stdout] 252 | let edge: /* Type */ = match agenda.pop() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:280:35 [INFO] [stdout] | [INFO] [stdout] 280 | ... if !e.is_passive() && edge.lhs == e.rhs[e.dot] { [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:304:25 [INFO] [stdout] | [INFO] [stdout] 304 | if edge.is_passive() { [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | let edge = match agenda.pop() { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | let leftc = match edge.is_passive() { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `edge` an explicit type [INFO] [stdout] | [INFO] [stdout] 340 | let edge: /* Type */ = match agenda.pop() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Chart` [INFO] [stdout] --> src/main.rs:390:26 [INFO] [stdout] | [INFO] [stdout] 390 | let mut result = Chart::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Chart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:393:36 [INFO] [stdout] | [INFO] [stdout] 393 | for edge in lc_edgeset.get(&None).unwrap() { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:394:32 [INFO] [stdout] | [INFO] [stdout] 394 | part.push(edge.clone()) [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> src/main.rs:439:35 [INFO] [stdout] | [INFO] [stdout] 439 | let mut agenda = vec!(Edge::with_result( [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:451:21 [INFO] [stdout] | [INFO] [stdout] 451 | let edge = match agenda.pop() { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | let leftc = match edge.is_passive() { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `edge` an explicit type [INFO] [stdout] | [INFO] [stdout] 451 | let edge: /* Type */ = match agenda.pop() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Chart` [INFO] [stdout] --> src/main.rs:501:26 [INFO] [stdout] | [INFO] [stdout] 501 | let mut result = Chart::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Chart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:504:36 [INFO] [stdout] | [INFO] [stdout] 504 | for edge in lc_edgeset.get(&None).unwrap() { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:505:32 [INFO] [stdout] | [INFO] [stdout] 505 | part.push(edge.clone()) [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chart_parser` (bin "chart_parser") due to 37 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aa673452c010a6e3c300c30a5c89f143d9e417daf3b3b33bba00e100c58bbca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa673452c010a6e3c300c30a5c89f143d9e417daf3b3b33bba00e100c58bbca6", kill_on_drop: false }` [INFO] [stdout] aa673452c010a6e3c300c30a5c89f143d9e417daf3b3b33bba00e100c58bbca6