[INFO] cloning repository https://github.com/thatmarkenglishguy/advent_of_code_2020_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thatmarkenglishguy/advent_of_code_2020_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthatmarkenglishguy%2Fadvent_of_code_2020_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthatmarkenglishguy%2Fadvent_of_code_2020_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8124efa10d0ca87b2658d1d103c77ff4dc54c753 [INFO] checking thatmarkenglishguy/advent_of_code_2020_rust against master#ca77504943887037504c7fc0b9bf06dab3910373 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthatmarkenglishguy%2Fadvent_of_code_2020_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thatmarkenglishguy/advent_of_code_2020_rust [INFO] finished tweaking git repo https://github.com/thatmarkenglishguy/advent_of_code_2020_rust [INFO] tweaked toml for git repo https://github.com/thatmarkenglishguy/advent_of_code_2020_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thatmarkenglishguy/advent_of_code_2020_rust on toolchain ca77504943887037504c7fc0b9bf06dab3910373 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thatmarkenglishguy/advent_of_code_2020_rust 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" "+ca77504943887037504c7fc0b9bf06dab3910373" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded argh_derive v0.1.4 [INFO] [stderr] Downloaded parameterized-macro v0.3.0 [INFO] [stderr] Downloaded parameterized v0.3.0 [INFO] [stderr] Downloaded argh_shared v0.1.4 [INFO] [stderr] Downloaded argh v0.1.4 [INFO] [stderr] Downloaded compare v0.1.0 [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 729a65e2bec9a6a3cf1d60d2ca47edab1597d4d23d9b7e579fe43288d53a1b83 [INFO] running `Command { std: "docker" "start" "-a" "729a65e2bec9a6a3cf1d60d2ca47edab1597d4d23d9b7e579fe43288d53a1b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "729a65e2bec9a6a3cf1d60d2ca47edab1597d4d23d9b7e579fe43288d53a1b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "729a65e2bec9a6a3cf1d60d2ca47edab1597d4d23d9b7e579fe43288d53a1b83", kill_on_drop: false }` [INFO] [stdout] 729a65e2bec9a6a3cf1d60d2ca47edab1597d4d23d9b7e579fe43288d53a1b83 [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 156aad8aa20c6c9075508758adcb13bd81060eec7740973fc0ca97c7e4e5f099 [INFO] running `Command { std: "docker" "start" "-a" "156aad8aa20c6c9075508758adcb13bd81060eec7740973fc0ca97c7e4e5f099", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling argh_shared v0.1.4 [INFO] [stderr] Compiling anyhow v1.0.36 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Checking compare v0.1.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling parameterized-macro v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling argh_derive v0.1.4 [INFO] [stderr] Checking parameterized v0.3.0 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking argh v0.1.4 [INFO] [stderr] Checking advent-of-code-2020-day-01 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/day01/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Entries { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | target: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entries` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day01/mod.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | None => assert!(false, format!("Expecting {:?}", expected_entry)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 124 - None => assert!(false, format!("Expecting {:?}", expected_entry)), [INFO] [stdout] 124 + None => assert!(false, "Expecting {:?}", expected_entry), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day01/mod.rs:130:45 [INFO] [stdout] | [INFO] [stdout] 130 | Some(entries) => assert!(false, format!("Unexpected entry {:?}", entries)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 130 - Some(entries) => assert!(false, format!("Unexpected entry {:?}", entries)), [INFO] [stdout] 130 + Some(entries) => assert!(false, "Unexpected entry {:?}", entries), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day01/mod.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(entry) => panic!(format!("Expected Err. Got entry {:?}", entry)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 141 - Ok(entry) => panic!(format!("Expected Err. Got entry {:?}", entry)), [INFO] [stdout] 141 + Ok(entry) => panic!("Expected Err. Got entry {:?}", entry), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day01/mod.rs:255:28 [INFO] [stdout] | [INFO] [stdout] 255 | fn params(entries: &[i64], expected: Entries) -> TestParameters { [INFO] [stdout] | ^^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 255 | fn params(entries: &[i64], expected: Entries) -> TestParameters<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.30s [INFO] running `Command { std: "docker" "inspect" "156aad8aa20c6c9075508758adcb13bd81060eec7740973fc0ca97c7e4e5f099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "156aad8aa20c6c9075508758adcb13bd81060eec7740973fc0ca97c7e4e5f099", kill_on_drop: false }` [INFO] [stdout] 156aad8aa20c6c9075508758adcb13bd81060eec7740973fc0ca97c7e4e5f099