[INFO] cloning repository https://github.com/andreluecke/adventofcode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andreluecke/adventofcode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreluecke%2Fadventofcode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreluecke%2Fadventofcode2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 761237756b80ec65e2b39a0edc177f0e6cd0578f [INFO] checking andreluecke/adventofcode2020/761237756b80ec65e2b39a0edc177f0e6cd0578f against master#fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreluecke%2Fadventofcode2020" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andreluecke/adventofcode2020 on toolchain fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andreluecke/adventofcode2020 [INFO] finished tweaking git repo https://github.com/andreluecke/adventofcode2020 [INFO] tweaked toml for git repo https://github.com/andreluecke/adventofcode2020 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/andreluecke/adventofcode2020 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" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reduce v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d70d29e744bff607df509634da85f43e4a34b65daa08d59306b140d49e59cdb [INFO] running `Command { std: "docker" "start" "-a" "3d70d29e744bff607df509634da85f43e4a34b65daa08d59306b140d49e59cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d70d29e744bff607df509634da85f43e4a34b65daa08d59306b140d49e59cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d70d29e744bff607df509634da85f43e4a34b65daa08d59306b140d49e59cdb", kill_on_drop: false }` [INFO] [stdout] 3d70d29e744bff607df509634da85f43e4a34b65daa08d59306b140d49e59cdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6435cad7bea7587ef4d7d2555df39fb66eebf7d48108f63bb4273aed9aac1ebb [INFO] running `Command { std: "docker" "start" "-a" "6435cad7bea7587ef4d7d2555df39fb66eebf7d48108f63bb4273aed9aac1ebb", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking reduce v0.1.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking adventofcode2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `str_split_once` has been stable since 1.52.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(str_split_once)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `option_result_contains` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(option_result_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `str_split_once` has been stable since 1.52.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(str_split_once)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `option_result_contains` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(option_result_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/day_2.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | pw.password.get(min_range).contains(&pw.pattern) [INFO] [stdout] | ----------- ^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | | [INFO] [stdout] | method `contains` is available on `&str` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6/library/core/src/str/mod.rs:1151:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 68 | pw.password.get(min_range).expect("REASON").contains(&pw.pattern) [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/day_2.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | pw.password.get(min_range).contains(&pw.pattern) [INFO] [stdout] | ----------- ^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | | [INFO] [stdout] | method `contains` is available on `&str` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6/library/core/src/str/mod.rs:1151:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 68 | pw.password.get(min_range).expect("REASON").contains(&pw.pattern) [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/day_2.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | ^ pw.password.get(max_range).contains(&pw.pattern) [INFO] [stdout] | ----------- ^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | | [INFO] [stdout] | method `contains` is available on `&str` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6/library/core/src/str/mod.rs:1151:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 69 | ^ pw.password.get(max_range).expect("REASON").contains(&pw.pattern) [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/day_2.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | ^ pw.password.get(max_range).contains(&pw.pattern) [INFO] [stdout] | ----------- ^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | | [INFO] [stdout] | method `contains` is available on `&str` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6/library/core/src/str/mod.rs:1151:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 69 | ^ pw.password.get(max_range).expect("REASON").contains(&pw.pattern) [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2020` (bin "adventofcode2020") due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2020` (bin "adventofcode2020" test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6435cad7bea7587ef4d7d2555df39fb66eebf7d48108f63bb4273aed9aac1ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6435cad7bea7587ef4d7d2555df39fb66eebf7d48108f63bb4273aed9aac1ebb", kill_on_drop: false }` [INFO] [stdout] 6435cad7bea7587ef4d7d2555df39fb66eebf7d48108f63bb4273aed9aac1ebb