[INFO] cloning repository https://github.com/timvisee/advent-of-code-2017 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timvisee/advent-of-code-2017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimvisee%2Fadvent-of-code-2017", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimvisee%2Fadvent-of-code-2017'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4366bd2f85baf7af263765ade490306cbbf2dee7 [INFO] testing timvisee/advent-of-code-2017 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimvisee%2Fadvent-of-code-2017" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/timvisee/advent-of-code-2017 [INFO] finished tweaking git repo https://github.com/timvisee/advent-of-code-2017 [INFO] tweaked toml for git repo https://github.com/timvisee/advent-of-code-2017 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/timvisee/advent-of-code-2017 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/timvisee/advent-of-code-2017 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.1.32 [INFO] [stderr] Downloaded regex v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24bc6986f230f89f0a51d151dac074b9cd898faf38270bdb22f089092a2b736e [INFO] running `Command { std: "docker" "start" "-a" "24bc6986f230f89f0a51d151dac074b9cd898faf38270bdb22f089092a2b736e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24bc6986f230f89f0a51d151dac074b9cd898faf38270bdb22f089092a2b736e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24bc6986f230f89f0a51d151dac074b9cd898faf38270bdb22f089092a2b736e", kill_on_drop: false }` [INFO] [stdout] 24bc6986f230f89f0a51d151dac074b9cd898faf38270bdb22f089092a2b736e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c884e136d7697ccbefce3161fa480724089be364859659655beef884b6c18ae [INFO] running `Command { std: "docker" "start" "-a" "8c884e136d7697ccbefce3161fa480724089be364859659655beef884b6c18ae", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling day03 v0.1.0 (/opt/rustwide/workdir/day03) [INFO] [stderr] Compiling day11 v0.1.0 (/opt/rustwide/workdir/day11) [INFO] [stderr] Compiling day04 v0.1.0 (/opt/rustwide/workdir/day04) [INFO] [stderr] Compiling day01 v0.1.0 (/opt/rustwide/workdir/day01) [INFO] [stderr] Compiling day05 v0.1.0 (/opt/rustwide/workdir/day05) [INFO] [stderr] Compiling day02 v0.1.0 (/opt/rustwide/workdir/day02) [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling clap v2.29.0 [INFO] [stderr] Compiling regex v0.2.3 [INFO] [stderr] Compiling day13 v0.1.0 (/opt/rustwide/workdir/day13) [INFO] [stderr] Compiling day12 v0.1.0 (/opt/rustwide/workdir/day12) [INFO] [stderr] Compiling advent-of-code-2017-runner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | Ok(input @ 1...DAY_MAX) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(input @ 1...PART_MAX) => [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/main.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | if buffer.trim_right_matches("\n").is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 192 - if buffer.trim_right_matches("\n").is_empty() { [INFO] [stdout] 192 + if buffer.trim_end_matches("\n").is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/main.rs:318:10 [INFO] [stdout] | [INFO] [stdout] 318 | .trim_right_matches("\n") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 318 - .trim_right_matches("\n") [INFO] [stdout] 318 + .trim_end_matches("\n") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.18s [INFO] running `Command { std: "docker" "inspect" "8c884e136d7697ccbefce3161fa480724089be364859659655beef884b6c18ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c884e136d7697ccbefce3161fa480724089be364859659655beef884b6c18ae", kill_on_drop: false }` [INFO] [stdout] 8c884e136d7697ccbefce3161fa480724089be364859659655beef884b6c18ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0b8ddb90e8c6df03e8f1321bc6d32c5c2420a72d517fb8938b7634fdc49e053 [INFO] running `Command { std: "docker" "start" "-a" "d0b8ddb90e8c6df03e8f1321bc6d32c5c2420a72d517fb8938b7634fdc49e053", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling advent-of-code-2017-runner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | Ok(input @ 1...DAY_MAX) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(input @ 1...PART_MAX) => [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/main.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | if buffer.trim_right_matches("\n").is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 192 - if buffer.trim_right_matches("\n").is_empty() { [INFO] [stdout] 192 + if buffer.trim_end_matches("\n").is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/main.rs:318:10 [INFO] [stdout] | [INFO] [stdout] 318 | .trim_right_matches("\n") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 318 - .trim_right_matches("\n") [INFO] [stdout] 318 + .trim_end_matches("\n") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "d0b8ddb90e8c6df03e8f1321bc6d32c5c2420a72d517fb8938b7634fdc49e053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b8ddb90e8c6df03e8f1321bc6d32c5c2420a72d517fb8938b7634fdc49e053", kill_on_drop: false }` [INFO] [stdout] d0b8ddb90e8c6df03e8f1321bc6d32c5c2420a72d517fb8938b7634fdc49e053 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2608b74277ca2f48376322a8ab9895501340917987453947b61749df08eb7ccd [INFO] running `Command { std: "docker" "start" "-a" "2608b74277ca2f48376322a8ab9895501340917987453947b61749df08eb7ccd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/main.rs:113:25 [INFO] [stderr] | [INFO] [stderr] 113 | Ok(input @ 1...DAY_MAX) => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/main.rs:141:25 [INFO] [stderr] | [INFO] [stderr] 141 | Ok(input @ 1...PART_MAX) => [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/main.rs:192:19 [INFO] [stderr] | [INFO] [stderr] 192 | if buffer.trim_right_matches("\n").is_empty() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 192 - if buffer.trim_right_matches("\n").is_empty() { [INFO] [stderr] 192 + if buffer.trim_end_matches("\n").is_empty() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/main.rs:318:10 [INFO] [stderr] | [INFO] [stderr] 318 | .trim_right_matches("\n") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 318 - .trim_right_matches("\n") [INFO] [stderr] 318 + .trim_end_matches("\n") [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `advent-of-code-2017-runner` (bin "advent-of-code-2017-runner" test) generated 4 warnings (run `cargo fix --bin "advent-of-code-2017-runner" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/advent_of_code_2017_runner-297e8276629b5ea3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2608b74277ca2f48376322a8ab9895501340917987453947b61749df08eb7ccd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2608b74277ca2f48376322a8ab9895501340917987453947b61749df08eb7ccd", kill_on_drop: false }` [INFO] [stdout] 2608b74277ca2f48376322a8ab9895501340917987453947b61749df08eb7ccd