[INFO] cloning repository https://github.com/joshpoll/pretty-egg
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joshpoll/pretty-egg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshpoll%2Fpretty-egg"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshpoll%2Fpretty-egg'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 6ea56d4e77c0e0e26ca897ac6070e0bcd277c3b1
[INFO] testing joshpoll/pretty-egg against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshpoll%2Fpretty-egg" "/workspace/builds/worker-2-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/joshpoll/pretty-egg
[INFO] finished tweaking git repo https://github.com/joshpoll/pretty-egg
[INFO] tweaked toml for git repo https://github.com/joshpoll/pretty-egg written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/joshpoll/pretty-egg on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/joshpoll/pretty-egg already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded symbolic_expressions v5.0.3
[INFO] [stderr]   Downloaded egg v0.6.0
[INFO] [stderr]   Downloaded instant v0.1.10
[INFO] [stderr]   Downloaded reduce v0.1.4
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] f8c3a7dffe55c457baac91a8fd187c27c9520ea6243973ee81c4fd14653b5521
[INFO] running `"docker" "start" "f8c3a7dffe55c457baac91a8fd187c27c9520ea6243973ee81c4fd14653b5521"`
[INFO] running `"docker" "inspect" "f8c3a7dffe55c457baac91a8fd187c27c9520ea6243973ee81c4fd14653b5521"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f8c3a7dffe55c457baac91a8fd187c27c9520ea6243973ee81c4fd14653b5521" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "f8c3a7dffe55c457baac91a8fd187c27c9520ea6243973ee81c4fd14653b5521"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f8c3a7dffe55c457baac91a8fd187c27c9520ea6243973ee81c4fd14653b5521" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling symbolic_expressions v5.0.3
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling reduce v0.1.4
[INFO] [stderr]    Compiling instant v0.1.10
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling egg v0.6.0
[INFO] [stderr]    Compiling pretty-printer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/main.rs:73:30
[INFO] [stdout]    |
[INFO] [stdout] 73 |         ds_costs.into_iter().reduce(|acc_cost, d_cost| {
[INFO] [stdout]    |                              ^^^^^^ multiple `reduce` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `Reduce` for the type `I`
[INFO] [stdout]    = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `Map<I, F>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 73 ~         Reduce::reduce(ds_costs.into_iter(), |acc_cost, d_cost| {
[INFO] [stdout] 74 +           match (acc_cost, d_cost) {
[INFO] [stdout] 75 +             (LayoutCost::Infinity, _) => LayoutCost::Infinity,
[INFO] [stdout] 76 +             (_, LayoutCost::Infinity) => LayoutCost::Infinity,
[INFO] [stdout] 77 +             (LayoutCost::BoxDims(acc_bd), LayoutCost::BoxDims(d_bd)) => {
[INFO] [stdout] 78 +               let mut layout: Vec<String> = vec![];
[INFO] [stdout] 79 +               if let (Some((a_lst, a_init)), Some((b_fst, b_tail))) = (acc_bd.layout.split_last(), d_bd.layout.split_first()) {
[INFO] [stdout] 80 +                 layout.append(&mut a_init.clone().to_vec());
[INFO] [stdout] 81 +                 layout.push(a_lst.clone() + b_fst);
[INFO] [stdout] 82 +                 let indent = " ".repeat(a_lst.len());
[INFO] [stdout] 83 +                 layout.append(&mut b_tail.iter().map(|b| indent.clone() + b).collect());
[INFO] [stdout] 84 +               };
[INFO] [stdout] 85 +               LayoutCost::BoxDims(BoxDims {
[INFO] [stdout] 86 +                 width: std::cmp::max(acc_bd.width, acc_bd.last_width + d_bd.width),
[INFO] [stdout] 87 +                 height: acc_bd.height + d_bd.height,
[INFO] [stdout] 88 +                 last_width: acc_bd.last_width + d_bd.last_width,
[INFO] [stdout] 89 +                 layout,
[INFO] [stdout] 90 +               })
[INFO] [stdout] 91 +           },
[INFO] [stdout] 92 +           }
[INFO] [stdout] 93 ~         }).unwrap()
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 73 ~         Iterator::reduce(ds_costs.into_iter(), |acc_cost, d_cost| {
[INFO] [stdout] 74 +           match (acc_cost, d_cost) {
[INFO] [stdout] 75 +             (LayoutCost::Infinity, _) => LayoutCost::Infinity,
[INFO] [stdout] 76 +             (_, LayoutCost::Infinity) => LayoutCost::Infinity,
[INFO] [stdout] 77 +             (LayoutCost::BoxDims(acc_bd), LayoutCost::BoxDims(d_bd)) => {
[INFO] [stdout] 78 +               let mut layout: Vec<String> = vec![];
[INFO] [stdout] 79 +               if let (Some((a_lst, a_init)), Some((b_fst, b_tail))) = (acc_bd.layout.split_last(), d_bd.layout.split_first()) {
[INFO] [stdout] 80 +                 layout.append(&mut a_init.clone().to_vec());
[INFO] [stdout] 81 +                 layout.push(a_lst.clone() + b_fst);
[INFO] [stdout] 82 +                 let indent = " ".repeat(a_lst.len());
[INFO] [stdout] 83 +                 layout.append(&mut b_tail.iter().map(|b| indent.clone() + b).collect());
[INFO] [stdout] 84 +               };
[INFO] [stdout] 85 +               LayoutCost::BoxDims(BoxDims {
[INFO] [stdout] 86 +                 width: std::cmp::max(acc_bd.width, acc_bd.last_width + d_bd.width),
[INFO] [stdout] 87 +                 height: acc_bd.height + d_bd.height,
[INFO] [stdout] 88 +                 last_width: acc_bd.last_width + d_bd.last_width,
[INFO] [stdout] 89 +                 layout,
[INFO] [stdout] 90 +               })
[INFO] [stdout] 91 +           },
[INFO] [stdout] 92 +           }
[INFO] [stdout] 93 ~         }).unwrap()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]    --> src/main.rs:168:10
[INFO] [stdout]     |
[INFO] [stdout] 168 |         .reduce(|acc, d| DocAST::HCat(vec![DocAST::Flush(Box::new(acc)), d]))
[INFO] [stdout]     |          ^^^^^^ multiple `reduce` found
[INFO] [stdout]     |
[INFO] [stdout]     = note: candidate #1 is defined in an impl of the trait `Reduce` for the type `I`
[INFO] [stdout]     = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `Map<I, F>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]     |
[INFO] [stdout] 166 ~       Reduce::reduce(ds.into_iter()
[INFO] [stdout] 167 +         .map(lower_doc_ast), |acc, d| DocAST::HCat(vec![DocAST::Flush(Box::new(acc)), d]))
[INFO] [stdout]     |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]     |
[INFO] [stdout] 166 ~       Iterator::reduce(ds.into_iter()
[INFO] [stdout] 167 +         .map(lower_doc_ast), |acc, d| DocAST::HCat(vec![DocAST::Flush(Box::new(acc)), d]))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0034`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pretty-printer` (bin "pretty-printer") due to 2 previous errors
[INFO] running `"docker" "inspect" "f8c3a7dffe55c457baac91a8fd187c27c9520ea6243973ee81c4fd14653b5521"`
[INFO] running `"docker" "rm" "-f" "f8c3a7dffe55c457baac91a8fd187c27c9520ea6243973ee81c4fd14653b5521"`
[INFO] [stdout] f8c3a7dffe55c457baac91a8fd187c27c9520ea6243973ee81c4fd14653b5521
