[INFO] cloning repository https://github.com/duncanfinney/advent-of-rust-2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/duncanfinney/advent-of-rust-2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduncanfinney%2Fadvent-of-rust-2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduncanfinney%2Fadvent-of-rust-2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e58a2aae16f0391fc521a3bf9b0fdcf3901c2f7 [INFO] checking duncanfinney/advent-of-rust-2018 against master#cced03bfd61a304243a34504618ecec86c17063f for pr-157082 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduncanfinney%2Fadvent-of-rust-2018" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/duncanfinney/advent-of-rust-2018 [INFO] finished tweaking git repo https://github.com/duncanfinney/advent-of-rust-2018 [INFO] tweaked toml for git repo https://github.com/duncanfinney/advent-of-rust-2018 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/duncanfinney/advent-of-rust-2018 on toolchain cced03bfd61a304243a34504618ecec86c17063f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/duncanfinney/advent-of-rust-2018 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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cached v0.8.0 [INFO] [stderr] Downloaded id_tree v1.3.0 [INFO] [stderr] Downloaded redox_syscall v0.1.43 [INFO] [stderr] Downloaded snowflake v1.3.0 [INFO] [stderr] Downloaded once_cell v0.1.6 [INFO] [stderr] Downloaded regex-syntax v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 75c656183705dc30224701fe1fbac2ceda389539902fd353a196607e6a6ccefc [INFO] running `Command { std: "docker" "start" "75c656183705dc30224701fe1fbac2ceda389539902fd353a196607e6a6ccefc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "75c656183705dc30224701fe1fbac2ceda389539902fd353a196607e6a6ccefc" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75c656183705dc30224701fe1fbac2ceda389539902fd353a196607e6a6ccefc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "75c656183705dc30224701fe1fbac2ceda389539902fd353a196607e6a6ccefc" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking arrayvec v0.4.8 [INFO] [stderr] Checking smallvec v0.6.7 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking snowflake v1.3.0 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking id_tree v1.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking uuid v0.7.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking once_cell v0.1.6 [INFO] [stderr] Checking cached v0.8.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking bytes v0.4.11 [INFO] [stderr] Checking advent-of-rust-2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day14.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns, duration_as_u128, type_ascription)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `duration_as_u128` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns, duration_as_u128, type_ascription)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `search_idx` is assigned to, but never used [INFO] [stdout] --> src/day14.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut search_idx: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_search_idx` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `search_idx` is never read [INFO] [stdout] --> src/day14.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | search_idx += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_print` is never used [INFO] [stdout] --> src/day14.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn debug_print(seq: &Vec, left: usize, right: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `type_ascription` is declared but not used [INFO] [stdout] --> src/main.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns, duration_as_u128, type_ascription)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day14.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns, duration_as_u128, type_ascription)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `duration_as_u128` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns, duration_as_u128, type_ascription)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `search_idx` is assigned to, but never used [INFO] [stdout] --> src/day14.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut search_idx: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_search_idx` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `search_idx` is never read [INFO] [stdout] --> src/day14.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | search_idx += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_print` is never used [INFO] [stdout] --> src/day14.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn debug_print(seq: &Vec, left: usize, right: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `type_ascription` is declared but not used [INFO] [stdout] --> src/main.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns, duration_as_u128, type_ascription)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.23s [INFO] running `Command { std: "docker" "inspect" "75c656183705dc30224701fe1fbac2ceda389539902fd353a196607e6a6ccefc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75c656183705dc30224701fe1fbac2ceda389539902fd353a196607e6a6ccefc", kill_on_drop: false }` [INFO] [stdout] 75c656183705dc30224701fe1fbac2ceda389539902fd353a196607e6a6ccefc