[INFO] cloning repository https://github.com/AlisCode/AdventOfCode2017 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlisCode/AdventOfCode2017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlisCode%2FAdventOfCode2017", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlisCode%2FAdventOfCode2017'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f40fd7ebc4899e2f69fb887a2fc5c372ef72794d [INFO] checking AlisCode/AdventOfCode2017 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlisCode%2FAdventOfCode2017" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlisCode/AdventOfCode2017 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AlisCode/AdventOfCode2017 [INFO] finished tweaking git repo https://github.com/AlisCode/AdventOfCode2017 [INFO] tweaked toml for git repo https://github.com/AlisCode/AdventOfCode2017 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AlisCode/AdventOfCode2017 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded either v1.4.0 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.2.0 [INFO] [stderr] Downloaded num_cpus v1.7.0 [INFO] [stderr] Downloaded fixedbitset v0.1.8 [INFO] [stderr] Downloaded redox_syscall v0.1.32 [INFO] [stderr] Downloaded fuchsia-zircon v0.2.1 [INFO] [stderr] Downloaded time v0.1.38 [INFO] [stderr] Downloaded ordermap v0.3.2 [INFO] [stderr] Downloaded coco v0.1.1 [INFO] [stderr] Downloaded rand v0.3.18 [INFO] [stderr] Downloaded petgraph v0.4.10 [INFO] [stderr] Downloaded rayon v0.9.0 [INFO] [stderr] Downloaded libc v0.2.34 [INFO] [stderr] Downloaded itertools v0.7.4 [INFO] [stderr] Downloaded rayon-core v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f99c7a5ec0ed674345f719b6e13dbb96ecff3a657a9b813058fbec7b23a281be [INFO] running `Command { std: "docker" "start" "-a" "f99c7a5ec0ed674345f719b6e13dbb96ecff3a657a9b813058fbec7b23a281be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f99c7a5ec0ed674345f719b6e13dbb96ecff3a657a9b813058fbec7b23a281be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f99c7a5ec0ed674345f719b6e13dbb96ecff3a657a9b813058fbec7b23a281be", kill_on_drop: false }` [INFO] [stdout] f99c7a5ec0ed674345f719b6e13dbb96ecff3a657a9b813058fbec7b23a281be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad494798b1abd583063d134369bd41823541b8c5b2c7fda388600725767d7163 [INFO] running `Command { std: "docker" "start" "-a" "ad494798b1abd583063d134369bd41823541b8c5b2c7fda388600725767d7163", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking ordermap v0.3.2 [INFO] [stderr] Checking fixedbitset v0.1.8 [INFO] [stderr] Checking itertools v0.7.4 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Checking petgraph v0.4.10 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/petgraph-0.4.10/src/graph_impl/stable_graph/mod.rs:1173:19 [INFO] [stdout] | [INFO] [stdout] 1173 | self.iter.find_map(|(i, node)| { [INFO] [stdout] | ^^^^^^^^ multiple `find_map` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `Enumerate` [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `IterUtilsExt` for the type `I` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/petgraph-0.4.10/src/iter_utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / fn find_map(&mut self, mut f: F) -> Option [INFO] [stdout] 6 | | where F: FnMut(Self::Item) -> Option [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1173 ~ Iterator::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1174 + node.weight.as_ref().map(move |w| (node_index(i), w)) [INFO] [stdout] 1175 + }) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1173 ~ IterUtilsExt::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1174 + node.weight.as_ref().map(move |w| (node_index(i), w)) [INFO] [stdout] 1175 + }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/petgraph-0.4.10/src/graph_impl/stable_graph/mod.rs:1365:19 [INFO] [stdout] | [INFO] [stdout] 1365 | self.iter.find_map(|(i, edge)| [INFO] [stdout] | ^^^^^^^^ multiple `find_map` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `Enumerate` [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `IterUtilsExt` for the type `I` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/petgraph-0.4.10/src/iter_utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / fn find_map(&mut self, mut f: F) -> Option [INFO] [stdout] 6 | | where F: FnMut(Self::Item) -> Option [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1365 ~ Iterator::find_map(&mut self.iter, |(i, edge)| [INFO] [stdout] 1366 + edge.weight.as_ref().map(move |weight| { [INFO] [stdout] 1367 + EdgeReference { [INFO] [stdout] 1368 + index: edge_index(i), [INFO] [stdout] 1369 + node: edge.node, [INFO] [stdout] 1370 + weight: weight, [INFO] [stdout] 1371 + } [INFO] [stdout] 1372 + })) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1365 ~ IterUtilsExt::find_map(&mut self.iter, |(i, edge)| [INFO] [stdout] 1366 + edge.weight.as_ref().map(move |weight| { [INFO] [stdout] 1367 + EdgeReference { [INFO] [stdout] 1368 + index: edge_index(i), [INFO] [stdout] 1369 + node: edge.node, [INFO] [stdout] 1370 + weight: weight, [INFO] [stdout] 1371 + } [INFO] [stdout] 1372 + })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/petgraph-0.4.10/src/graph_impl/stable_graph/mod.rs:1529:19 [INFO] [stdout] | [INFO] [stdout] 1529 | self.iter.find_map(|(i, node)| { [INFO] [stdout] | ^^^^^^^^ multiple `find_map` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `Enumerate` [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `IterUtilsExt` for the type `I` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/petgraph-0.4.10/src/iter_utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / fn find_map(&mut self, mut f: F) -> Option [INFO] [stdout] 6 | | where F: FnMut(Self::Item) -> Option [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1529 ~ Iterator::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1530 + if node.weight.is_some() { [INFO] [stdout] 1531 + Some(node_index(i)) [INFO] [stdout] 1532 + } else { None } [INFO] [stdout] 1533 + }) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1529 ~ IterUtilsExt::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1530 + if node.weight.is_some() { [INFO] [stdout] 1531 + Some(node_index(i)) [INFO] [stdout] 1532 + } else { None } [INFO] [stdout] 1533 + }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/petgraph-0.4.10/src/graph_impl/stable_graph/mod.rs:1575:19 [INFO] [stdout] | [INFO] [stdout] 1575 | self.iter.find_map(|(i, node)| { [INFO] [stdout] | ^^^^^^^^ multiple `find_map` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `Enumerate` [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `IterUtilsExt` for the type `I` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/petgraph-0.4.10/src/iter_utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / fn find_map(&mut self, mut f: F) -> Option [INFO] [stdout] 6 | | where F: FnMut(Self::Item) -> Option [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1575 ~ Iterator::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1576 + if node.weight.is_some() { [INFO] [stdout] 1577 + Some(edge_index(i)) [INFO] [stdout] 1578 + } else { None } [INFO] [stdout] 1579 + }) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1575 ~ IterUtilsExt::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1576 + if node.weight.is_some() { [INFO] [stdout] 1577 + Some(edge_index(i)) [INFO] [stdout] 1578 + } else { None } [INFO] [stdout] 1579 + }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rayon v0.9.0 [INFO] [stderr] Checking day7_parser v1.0.0 (/opt/rustwide/workdir/day7_parser) [INFO] [stderr] Checking day20_parser v1.0.0 (/opt/rustwide/workdir/day20_parser) [INFO] [stderr] Checking day12_parser v1.0.0 (/opt/rustwide/workdir/day12_parser) [INFO] [stderr] Checking day9_parser v1.0.0 (/opt/rustwide/workdir/day9_parser) [INFO] [stderr] Checking day8_parser v1.0.0 (/opt/rustwide/workdir/day8_parser) [INFO] [stderr] Checking day25_parser v1.0.0 (/opt/rustwide/workdir/day25_parser) [INFO] [stderr] Checking day16_parser v1.0.0 (/opt/rustwide/workdir/day16_parser) [INFO] [stderr] Checking day18_parser v1.0.0 (/opt/rustwide/workdir/day18_parser) [INFO] [stderr] Checking day23_parser v1.0.0 (/opt/rustwide/workdir/day23_parser) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> day7_parser/src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | /// Gets the process' name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> day7_parser/src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | /// Gets the process' weight [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day7_parser/src/lib.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut groups = self.get_children_process(list).into_iter().group_by(|a| a.get_global_weight(list)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day7_parser/src/lib.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut groups = self.get_children_process(list).into_iter().group_by(|a| a.get_global_weight(list)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> day7_parser/src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | /// Gets the process' name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> day7_parser/src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | /// Gets the process' weight [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `petgraph` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day7_parser/src/lib.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut groups = self.get_children_process(list).into_iter().group_by(|a| a.get_global_weight(list)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day7_parser/src/lib.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut groups = self.get_children_process(list).into_iter().group_by(|a| a.get_global_weight(list)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ad494798b1abd583063d134369bd41823541b8c5b2c7fda388600725767d7163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad494798b1abd583063d134369bd41823541b8c5b2c7fda388600725767d7163", kill_on_drop: false }` [INFO] [stdout] ad494798b1abd583063d134369bd41823541b8c5b2c7fda388600725767d7163