[INFO] cloning repository https://github.com/jcowgill/aoc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcowgill/aoc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcowgill%2Faoc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcowgill%2Faoc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3fe6a91f0aba0fd8e721ad2683e5f853b69bd5f [INFO] checking jcowgill/aoc against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcowgill%2Faoc" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jcowgill/aoc on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jcowgill/aoc [INFO] finished tweaking git repo https://github.com/jcowgill/aoc [INFO] tweaked toml for git repo https://github.com/jcowgill/aoc written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/jcowgill/aoc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7af2ed53d85e9ee6e387c6ef22298305502953eebf2ee0504825d6c733ffe6c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a7af2ed53d85e9ee6e387c6ef22298305502953eebf2ee0504825d6c733ffe6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7af2ed53d85e9ee6e387c6ef22298305502953eebf2ee0504825d6c733ffe6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7af2ed53d85e9ee6e387c6ef22298305502953eebf2ee0504825d6c733ffe6c", kill_on_drop: false }` [INFO] [stdout] a7af2ed53d85e9ee6e387c6ef22298305502953eebf2ee0504825d6c733ffe6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81766845ee8fc1f3fa0bd3f1eceb12061cb55f28340f2e6c0d69b72682554a0b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "81766845ee8fc1f3fa0bd3f1eceb12061cb55f28340f2e6c0d69b72682554a0b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/yr2017/day19.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | 'A'...'Z' => CellValue::Letter(c as u8 - 'A' as u8), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/yr2017/day19.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | 'A'...'Z' => CellValue::Letter(c as u8 - 'A' as u8), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/yr2017/day7.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | let weight = name_weight[1].trim_right().trim_right_matches(')').trim(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/yr2017/day7.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | let weight = name_weight[1].trim_right().trim_right_matches(')').trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/yr2017/day16.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | (left.parse().unwrap(), right.trim_left()) [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/yr2017/day7.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | let weight = name_weight[1].trim_right().trim_right_matches(')').trim(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/yr2017/day7.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | let weight = name_weight[1].trim_right().trim_right_matches(')').trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/yr2017/day16.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | (left.parse().unwrap(), right.trim_left()) [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `guard_re` should have an upper case name [INFO] [stdout] --> src/yr2018/day4.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | static ref guard_re: Regex = Regex::new(r"^Guard #([0-9]*) begins shift$").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `GUARD_RE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> src/yr2018/day4.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | static ref re: Regex = Regex::new(r"^\s*\[([0-9-]* [0-9]*):([0-9]*)\]\s*(.*)$").unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to upper case: `RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> src/yr2018/day7.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | static ref re: Regex = Regex::new("^Step ([A-Z]) must be finished before step ([A-Z]) can begin.$").unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to upper case: `RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> src/yr2018/day9.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | static ref re: Regex = Regex::new("^([0-9]+) players; last marble is worth ([0-9]+) points$").unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to upper case: `RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> src/yr2018/day10.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | static ref re: Regex = [INFO] [stdout] | ^^ help: convert the identifier to upper case: `RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `guard_re` should have an upper case name [INFO] [stdout] --> src/yr2018/day4.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | static ref guard_re: Regex = Regex::new(r"^Guard #([0-9]*) begins shift$").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `GUARD_RE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> src/yr2018/day4.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | static ref re: Regex = Regex::new(r"^\s*\[([0-9-]* [0-9]*):([0-9]*)\]\s*(.*)$").unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to upper case: `RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> src/yr2018/day7.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | static ref re: Regex = Regex::new("^Step ([A-Z]) must be finished before step ([A-Z]) can begin.$").unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to upper case: `RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> src/yr2018/day9.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | static ref re: Regex = Regex::new("^([0-9]+) players; last marble is worth ([0-9]+) points$").unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to upper case: `RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> src/yr2018/day10.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | static ref re: Regex = [INFO] [stdout] | ^^ help: convert the identifier to upper case: `RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/bin.rs:31:69 [INFO] [stdout] | [INFO] [stdout] 31 | ... println!("{}", stars[index].1(stdin.trim_right())); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/bin.rs:31:69 [INFO] [stdout] | [INFO] [stdout] 31 | ... println!("{}", stars[index].1(stdin.trim_right())); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> tests/main.rs:62:64 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(output_data.trim(), func(input_data.trim_right())); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.98s [INFO] running `Command { std: "docker" "inspect" "81766845ee8fc1f3fa0bd3f1eceb12061cb55f28340f2e6c0d69b72682554a0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81766845ee8fc1f3fa0bd3f1eceb12061cb55f28340f2e6c0d69b72682554a0b", kill_on_drop: false }` [INFO] [stdout] 81766845ee8fc1f3fa0bd3f1eceb12061cb55f28340f2e6c0d69b72682554a0b