[INFO] cloning repository https://github.com/Jovasa/AoC2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jovasa/AoC2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJovasa%2FAoC2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJovasa%2FAoC2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b814de80a8bfe2fc72ebee6b29e4d5d9a5c46b0 [INFO] checking Jovasa/AoC2020 against master#39b841dfe36f90a7cd111e7f0c55f32594f6e578 for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJovasa%2FAoC2020" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jovasa/AoC2020 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/Jovasa/AoC2020 [INFO] finished tweaking git repo https://github.com/Jovasa/AoC2020 [INFO] tweaked toml for git repo https://github.com/Jovasa/AoC2020 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Jovasa/AoC2020 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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 8e5aa19f78a659a1d3f5f06cc2b4588d5f3257f36107d8b73c991fe2661181ee [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" "8e5aa19f78a659a1d3f5f06cc2b4588d5f3257f36107d8b73c991fe2661181ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e5aa19f78a659a1d3f5f06cc2b4588d5f3257f36107d8b73c991fe2661181ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e5aa19f78a659a1d3f5f06cc2b4588d5f3257f36107d8b73c991fe2661181ee", kill_on_drop: false }` [INFO] [stdout] 8e5aa19f78a659a1d3f5f06cc2b4588d5f3257f36107d8b73c991fe2661181ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 97071eccebb27ea4e61ae7e85d2b486a1daa915ee3ff2da9c016f07b4a94428b [INFO] running `Command { std: "docker" "start" "-a" "97071eccebb27ea4e61ae7e85d2b486a1daa915ee3ff2da9c016f07b4a94428b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking aoc2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `first` [INFO] [stdout] --> src/day14.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn first() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_layout` [INFO] [stdout] --> src/day11.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn print_layout(data: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `first` [INFO] [stdout] --> src/day11.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn first() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day7.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | self.can_contain_this.push(&other); [INFO] [stdout] | ^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Bag<'_>` [INFO] [stdout] found reference `&Bag<'_>` [INFO] [stdout] note: the anonymous lifetime #2 defined on the method body at 23:5... [INFO] [stdout] --> src/day7.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn add_upper(&mut self, other: Bag<'_>){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...does not necessarily outlive the lifetime `'_` as defined on the impl at 15:10 [INFO] [stdout] --> src/day7.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl Bag<'_> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime for borrow expression due to conflicting requirements [INFO] [stdout] --> src/day7.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | self.can_contain_this.push(&other); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime #2 defined on the method body at 23:5... [INFO] [stdout] --> src/day7.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn add_upper(&mut self, other: Bag<'_>){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...so that the type `Bag<'_>` is not borrowed for too long [INFO] [stdout] --> src/day7.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | self.can_contain_this.push(&other); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: but, the lifetime must be valid for the lifetime `'_` as defined on the impl at 15:10... [INFO] [stdout] --> src/day7.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl Bag<'_> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that reference does not outlive borrowed content [INFO] [stdout] --> src/day7.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | self.can_contain_this.push(&other); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day7.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | temp.add_upper(t); [INFO] [stdout] | ^ expected struct `Bag`, found `&Bag<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0495. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2020` [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] [stdout] warning: function is never used: `first` [INFO] [stdout] --> src/day14.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn first() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day7.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | self.can_contain_this.push(&other); [INFO] [stdout] | ^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Bag<'_>` [INFO] [stdout] found reference `&Bag<'_>` [INFO] [stdout] note: the anonymous lifetime #2 defined on the method body at 23:5... [INFO] [stdout] --> src/day7.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn add_upper(&mut self, other: Bag<'_>){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...does not necessarily outlive the lifetime `'_` as defined on the impl at 15:10 [INFO] [stdout] --> src/day7.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl Bag<'_> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime for borrow expression due to conflicting requirements [INFO] [stdout] --> src/day7.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | self.can_contain_this.push(&other); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime #2 defined on the method body at 23:5... [INFO] [stdout] --> src/day7.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn add_upper(&mut self, other: Bag<'_>){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...so that the type `Bag<'_>` is not borrowed for too long [INFO] [stdout] --> src/day7.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | self.can_contain_this.push(&other); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: but, the lifetime must be valid for the lifetime `'_` as defined on the impl at 15:10... [INFO] [stdout] --> src/day7.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl Bag<'_> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that reference does not outlive borrowed content [INFO] [stdout] --> src/day7.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | self.can_contain_this.push(&other); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_layout` [INFO] [stdout] --> src/day11.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn print_layout(data: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `first` [INFO] [stdout] --> src/day11.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn first() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day7.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | temp.add_upper(t); [INFO] [stdout] | ^ expected struct `Bag`, found `&Bag<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0495. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "97071eccebb27ea4e61ae7e85d2b486a1daa915ee3ff2da9c016f07b4a94428b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97071eccebb27ea4e61ae7e85d2b486a1daa915ee3ff2da9c016f07b4a94428b", kill_on_drop: false }` [INFO] [stdout] 97071eccebb27ea4e61ae7e85d2b486a1daa915ee3ff2da9c016f07b4a94428b