[INFO] cloning repository https://github.com/mmcclimon/advent-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmcclimon/advent-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmcclimon%2Fadvent-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmcclimon%2Fadvent-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62d36b472cab895d2f42f228218b5bd4140d92dd [INFO] checking mmcclimon/advent-2020 against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmcclimon%2Fadvent-2020" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mmcclimon/advent-2020 [INFO] finished tweaking git repo https://github.com/mmcclimon/advent-2020 [INFO] tweaked toml for git repo https://github.com/mmcclimon/advent-2020 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mmcclimon/advent-2020 on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mmcclimon/advent-2020 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking mmcclimon/advent-2020 against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmcclimon%2Fadvent-2020" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mmcclimon/advent-2020 [INFO] finished tweaking git repo https://github.com/mmcclimon/advent-2020 [INFO] tweaked toml for git repo https://github.com/mmcclimon/advent-2020 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mmcclimon/advent-2020 on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mmcclimon/advent-2020 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9801448cbb7b77ac4c70a8d93e3ca242a9e9e0f2996b287fadf1f7bdf6f5425f [INFO] running `Command { std: "docker" "start" "-a" "9801448cbb7b77ac4c70a8d93e3ca242a9e9e0f2996b287fadf1f7bdf6f5425f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9801448cbb7b77ac4c70a8d93e3ca242a9e9e0f2996b287fadf1f7bdf6f5425f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9801448cbb7b77ac4c70a8d93e3ca242a9e9e0f2996b287fadf1f7bdf6f5425f", kill_on_drop: false }` [INFO] [stdout] 9801448cbb7b77ac4c70a8d93e3ca242a9e9e0f2996b287fadf1f7bdf6f5425f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8d1ba5d988e9719f698c674595c391b421598942818cdcd8639b02fbb425d20 [INFO] running `Command { std: "docker" "start" "-a" "e8d1ba5d988e9719f698c674595c391b421598942818cdcd8639b02fbb425d20", kill_on_drop: false }` [INFO] [stderr] Checking advent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> src/bin/day16.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | type ValidatorMap = HashMap bool>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidatorMap` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day16.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 10 | type ValidatorMap = HashMap bool>; [INFO] [stdout] | ---------------------- the expected opaque type [INFO] [stdout] ... [INFO] [stdout] 68 | fn parse_legend(lines: Vec) -> ValidatorMap { [INFO] [stdout] | ------------ expected `HashMap` because of return type [INFO] [stdout] ... [INFO] [stdout] 84 | let c = move |n| { [INFO] [stdout] | -------- the found closure [INFO] [stdout] ... [INFO] [stdout] 89 | validators.insert(desc.to_string(), c); [INFO] [stdout] | ---------- - this argument has type `{closure@src/bin/day16.rs:84:13: 84:21}`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `validators` to have type `HashMap` [INFO] [stdout] ... [INFO] [stdout] 92 | validators [INFO] [stdout] | ^^^^^^^^^^ expected `HashMap`, found `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap<_, ValidatorMap::{opaque#0}>` [INFO] [stdout] found struct `HashMap<_, {closure@src/bin/day16.rs:84:13: 84:21}>` [INFO] [stdout] note: this item must have a `#[define_opaque(ValidatorMap)]` attribute to be able to define hidden types [INFO] [stdout] --> src/bin/day16.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn parse_legend(lines: Vec) -> ValidatorMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/bin/day2.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 36 | fn from_str(line: &str) -> Result { [INFO] [stdout] | --------------------------------------- this function returns a `Result` [INFO] [stdout] 37 | let mut bits = line.split(&['-', ' ', ':'][..]).filter(|s| !s.is_empty()); [INFO] [stdout] 38 | let a: usize = bits.next()?.parse()?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/bin/day2.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 36 | fn from_str(line: &str) -> Result { [INFO] [stdout] | --------------------------------------- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 39 | let b: usize = bits.next()?.parse()?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/bin/day2.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 36 | fn from_str(line: &str) -> Result { [INFO] [stdout] | --------------------------------------- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 40 | let want = bits.next()?.chars().next()?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/bin/day2.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 36 | fn from_str(line: &str) -> Result { [INFO] [stdout] | --------------------------------------- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 40 | let want = bits.next()?.chars().next()?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/bin/day2.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 36 | fn from_str(line: &str) -> Result { [INFO] [stdout] | --------------------------------------- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 41 | let pw = bits.next()?.to_string(); [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent` (bin "day16") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/bin/day4.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 53 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ------------------------------------ this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 79 | byr: byr?, [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/bin/day4.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 53 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ------------------------------------ this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 80 | iyr: iyr?, [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/bin/day4.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 53 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ------------------------------------ this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 81 | eyr: eyr?, [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/bin/day4.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 53 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ------------------------------------ this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 82 | hgt: hgt?, [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/bin/day4.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 53 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ------------------------------------ this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 83 | hcl: hcl?, [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/bin/day4.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 53 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ------------------------------------ this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 84 | ecl: ecl?, [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/bin/day4.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 53 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ------------------------------------ this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 85 | pid: pid?, [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent` (bin "day2" test) due to 5 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent` (bin "day4" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "e8d1ba5d988e9719f698c674595c391b421598942818cdcd8639b02fbb425d20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8d1ba5d988e9719f698c674595c391b421598942818cdcd8639b02fbb425d20", kill_on_drop: false }` [INFO] [stdout] e8d1ba5d988e9719f698c674595c391b421598942818cdcd8639b02fbb425d20