[INFO] cloning repository https://github.com/joshpoll/pretty-egg [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshpoll%2Fpretty-egg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ea56d4e77c0e0e26ca897ac6070e0bcd277c3b1 [INFO] checking joshpoll/pretty-egg against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshpoll%2Fpretty-egg" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joshpoll/pretty-egg on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] crate git repo https://github.com/joshpoll/pretty-egg already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1b716d67454d052ea3e73410978783bc0c5236593cf933e5dbc7826e1af7827 [INFO] running `Command { std: "docker" "start" "-a" "c1b716d67454d052ea3e73410978783bc0c5236593cf933e5dbc7826e1af7827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1b716d67454d052ea3e73410978783bc0c5236593cf933e5dbc7826e1af7827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1b716d67454d052ea3e73410978783bc0c5236593cf933e5dbc7826e1af7827", kill_on_drop: false }` [INFO] [stdout] c1b716d67454d052ea3e73410978783bc0c5236593cf933e5dbc7826e1af7827 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7898b54d854eefef40c27835f0384b1031cacc6d116090e8d1c2c8b0e0e06dc8 [INFO] running `Command { std: "docker" "start" "-a" "7898b54d854eefef40c27835f0384b1031cacc6d116090e8d1c2c8b0e0e06dc8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking symbolic_expressions v5.0.3 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking reduce v0.1.4 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking egg v0.6.0 [INFO] [stderr] Checking 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 `Iterator` for the type `Map` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [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 = vec![]; [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [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 = vec![]; [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [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 `Iterator` for the type `Map` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [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 = vec![]; [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [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 = vec![]; [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 `Iterator` for the type `Map` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [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] help: disambiguate the associated function for candidate #2 [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] [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 `Iterator` for the type `Map` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [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] help: disambiguate the associated function for candidate #2 [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reduce::Reduce` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use reduce::Reduce; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `reduce::Reduce` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use reduce::Reduce; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [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` due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7898b54d854eefef40c27835f0384b1031cacc6d116090e8d1c2c8b0e0e06dc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7898b54d854eefef40c27835f0384b1031cacc6d116090e8d1c2c8b0e0e06dc8", kill_on_drop: false }` [INFO] [stdout] 7898b54d854eefef40c27835f0384b1031cacc6d116090e8d1c2c8b0e0e06dc8