[INFO] cloning repository https://github.com/JosePedroDias/aoc2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JosePedroDias/aoc2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosePedroDias%2Faoc2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosePedroDias%2Faoc2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 932860b15eddf3e1c0b76c8e0355a5e5f5ef7463 [INFO] checking JosePedroDias/aoc2019 against master#39b841dfe36f90a7cd111e7f0c55f32594f6e578 for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosePedroDias%2Faoc2019" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JosePedroDias/aoc2019 on toolchain 39b841dfe36f90a7cd111e7f0c55f32594f6e578 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JosePedroDias/aoc2019 [INFO] finished tweaking git repo https://github.com/JosePedroDias/aoc2019 [INFO] tweaked toml for git repo https://github.com/JosePedroDias/aoc2019 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/JosePedroDias/aoc2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abee0c46085dcc11909c0be3d23de1d384f6b56e79c8ca9b8f32bca5b1d314b6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "abee0c46085dcc11909c0be3d23de1d384f6b56e79c8ca9b8f32bca5b1d314b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abee0c46085dcc11909c0be3d23de1d384f6b56e79c8ca9b8f32bca5b1d314b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abee0c46085dcc11909c0be3d23de1d384f6b56e79c8ca9b8f32bca5b1d314b6", kill_on_drop: false }` [INFO] [stdout] abee0c46085dcc11909c0be3d23de1d384f6b56e79c8ca9b8f32bca5b1d314b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cb29f6ce81ed8b30bd785bbe33ba0c7b2dfb30ced7525e7d4465cd60f305302 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3cb29f6ce81ed8b30bd785bbe33ba0c7b2dfb30ced7525e7d4465cd60f305302", kill_on_drop: false }` [INFO] [stderr] Checking aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `RefMut<'_, Vec<&'static Node>>` is not an iterator [INFO] [stdout] --> src/d06.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | for child in self.children.borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefMut<'_, Vec<&'static Node>>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `RefMut<'_, Vec<&'static Node>>` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `RefMut<'_, Vec<&'static Node>>` [INFO] [stdout] = note: required by `into_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/d06.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | n1.children.borrow_mut().push(Rc::new(n2)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Node`, found struct `Rc` [INFO] [stdout] | help: consider borrowing here: `&Rc::new(n2)` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&'static Node` [INFO] [stdout] found struct `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `RefMut<'_, Vec<&'static Node>>` is not an iterator [INFO] [stdout] --> src/d06.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | for child in self.children.borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefMut<'_, Vec<&'static Node>>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `RefMut<'_, Vec<&'static Node>>` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `RefMut<'_, Vec<&'static Node>>` [INFO] [stdout] = note: required by `into_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/d06.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | n1.children.borrow_mut().push(Rc::new(n2)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Node`, found struct `Rc` [INFO] [stdout] | help: consider borrowing here: `&Rc::new(n2)` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&'static Node` [INFO] [stdout] found struct `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2019` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3cb29f6ce81ed8b30bd785bbe33ba0c7b2dfb30ced7525e7d4465cd60f305302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb29f6ce81ed8b30bd785bbe33ba0c7b2dfb30ced7525e7d4465cd60f305302", kill_on_drop: false }` [INFO] [stdout] 3cb29f6ce81ed8b30bd785bbe33ba0c7b2dfb30ced7525e7d4465cd60f305302