[INFO] cloning repository https://github.com/materialcontext/advent_of_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/materialcontext/advent_of_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaterialcontext%2Fadvent_of_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaterialcontext%2Fadvent_of_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 690066e965e72a6885d7f58593dc5c3fcac8a50a [INFO] testing materialcontext/advent_of_code against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaterialcontext%2Fadvent_of_code" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/materialcontext/advent_of_code [INFO] finished tweaking git repo https://github.com/materialcontext/advent_of_code [INFO] tweaked toml for git repo https://github.com/materialcontext/advent_of_code written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/materialcontext/advent_of_code on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/materialcontext/advent_of_code 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d3384f1802955c96e38f23a082f54e1b7cf37879d49dde0001797e218ed6109 [INFO] running `Command { std: "docker" "start" "-a" "4d3384f1802955c96e38f23a082f54e1b7cf37879d49dde0001797e218ed6109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d3384f1802955c96e38f23a082f54e1b7cf37879d49dde0001797e218ed6109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d3384f1802955c96e38f23a082f54e1b7cf37879d49dde0001797e218ed6109", kill_on_drop: false }` [INFO] [stdout] 4d3384f1802955c96e38f23a082f54e1b7cf37879d49dde0001797e218ed6109 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c26205f1f56c0b002e29ededc6c4d1bf3af3a2ae6c0d8c26484a731404936cc [INFO] running `Command { std: "docker" "start" "-a" "8c26205f1f56c0b002e29ededc6c4d1bf3af3a2ae6c0d8c26484a731404936cc", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:475:35 [INFO] [stdout] | [INFO] [stdout] 475 | east.push(height); [INFO] [stdout] | ---- ^^^^^^ expected `Option`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `u8` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/vec/mod.rs:2474:12 [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 475 | east.push(Some(height)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:510:39 [INFO] [stdout] | [INFO] [stdout] 510 | ... east.push(height); [INFO] [stdout] | ---- ^^^^^^ expected `Option`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `u8` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/vec/mod.rs:2474:12 [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 510 | east.push(Some(height)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:515:39 [INFO] [stdout] | [INFO] [stdout] 515 | ... east.push(height); [INFO] [stdout] | ---- ^^^^^^ expected `Option`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `u8` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/vec/mod.rs:2474:12 [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 515 | east.push(Some(height)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:522:46 [INFO] [stdout] | [INFO] [stdout] 522 | east.retain(|&x| x > height); [INFO] [stdout] | - ^^^^^^ expected `Option`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `u8` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 522 | east.retain(|&x| x > Some(height)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:530:39 [INFO] [stdout] | [INFO] [stdout] 530 | ... east.push(height); [INFO] [stdout] | ---- ^^^^^^ expected `Option`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `u8` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/vec/mod.rs:2474:12 [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 530 | east.push(Some(height)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:535:39 [INFO] [stdout] | [INFO] [stdout] 535 | ... east.push(height); [INFO] [stdout] | ---- ^^^^^^ expected `Option`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `u8` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/vec/mod.rs:2474:12 [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 535 | east.push(Some(height)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "advent_of_code") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "8c26205f1f56c0b002e29ededc6c4d1bf3af3a2ae6c0d8c26484a731404936cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c26205f1f56c0b002e29ededc6c4d1bf3af3a2ae6c0d8c26484a731404936cc", kill_on_drop: false }` [INFO] [stdout] 8c26205f1f56c0b002e29ededc6c4d1bf3af3a2ae6c0d8c26484a731404936cc