[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 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreluecke%2Fadventofcode2020" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andreluecke/adventofcode2020 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-4-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97638167131cfbcfd9fce7d1f7ade74564527d6fef9eefec0aebf29bce8078e6 [INFO] running `Command { std: "docker" "start" "-a" "97638167131cfbcfd9fce7d1f7ade74564527d6fef9eefec0aebf29bce8078e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97638167131cfbcfd9fce7d1f7ade74564527d6fef9eefec0aebf29bce8078e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97638167131cfbcfd9fce7d1f7ade74564527d6fef9eefec0aebf29bce8078e6", kill_on_drop: false }` [INFO] [stdout] 97638167131cfbcfd9fce7d1f7ade74564527d6fef9eefec0aebf29bce8078e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d315765ab6771ef202ca7bfe754d90a9a700ed9367eccd53d2cb61edd952508d [INFO] running `Command { std: "docker" "start" "-a" "d315765ab6771ef202ca7bfe754d90a9a700ed9367eccd53d2cb61edd952508d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking reduce v0.1.3 [INFO] [stderr] Checking thread_local v1.0.1 [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] 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[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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/str/mod.rs:1140: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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/str/mod.rs:1140: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: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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/str/mod.rs:1140: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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/str/mod.rs:1140: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 [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 [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [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 [INFO] running `Command { std: "docker" "inspect" "d315765ab6771ef202ca7bfe754d90a9a700ed9367eccd53d2cb61edd952508d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d315765ab6771ef202ca7bfe754d90a9a700ed9367eccd53d2cb61edd952508d", kill_on_drop: false }` [INFO] [stdout] d315765ab6771ef202ca7bfe754d90a9a700ed9367eccd53d2cb61edd952508d