[INFO] cloning repository https://github.com/doxxx/aoc2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/doxxx/aoc2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoxxx%2Faoc2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoxxx%2Faoc2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6079c574a00df7b55e455fac66bc6c46b74242e [INFO] testing doxxx/aoc2018 against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoxxx%2Faoc2018" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/doxxx/aoc2018 [INFO] finished tweaking git repo https://github.com/doxxx/aoc2018 [INFO] tweaked toml for git repo https://github.com/doxxx/aoc2018 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/doxxx/aoc2018 on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/doxxx/aoc2018 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5bb308352ce2dc3a6261490e97393603482d04313c7bb343b6cd758d320be5d [INFO] running `Command { std: "docker" "start" "-a" "e5bb308352ce2dc3a6261490e97393603482d04313c7bb343b6cd758d320be5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5bb308352ce2dc3a6261490e97393603482d04313c7bb343b6cd758d320be5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5bb308352ce2dc3a6261490e97393603482d04313c7bb343b6cd758d320be5d", kill_on_drop: false }` [INFO] [stdout] e5bb308352ce2dc3a6261490e97393603482d04313c7bb343b6cd758d320be5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61d029645246a03ffef981bc46a080c8efe433c5940e47a967797027ff925099 [INFO] running `Command { std: "docker" "start" "-a" "61d029645246a03ffef981bc46a080c8efe433c5940e47a967797027ff925099", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cc v1.0.26 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling arrayvec v0.4.8 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling inflate v0.4.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.20.12 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling wayland-commons v0.20.12 [INFO] [stderr] Compiling glutin v0.18.0 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling ordered-float v0.5.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling stb_truetype v0.2.5 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling rusttype v0.4.3 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> shared/src/lib.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> GridIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> GridIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [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 day11 v0.1.0 (/opt/rustwide/workdir/day11) [INFO] [stderr] Compiling day5 v0.1.0 (/opt/rustwide/workdir/day5) [INFO] [stderr] Compiling piston2d-graphics v0.26.0 [INFO] [stderr] Compiling day2 v0.1.0 (/opt/rustwide/workdir/day2) [INFO] [stderr] Compiling day8 v0.1.0 (/opt/rustwide/workdir/day8) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> day8/src/main.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn build_tree(data: &mut Iterator) -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | fn build_tree(data: &mut dyn Iterator) -> Node { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> day8/src/main.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 61 | fn print(&self, indent: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day6 v0.1.0 (/opt/rustwide/workdir/day6) [INFO] [stderr] Compiling day1 v0.1.0 (/opt/rustwide/workdir/day1) [INFO] [stderr] Compiling day14 v0.1.0 (/opt/rustwide/workdir/day14) [INFO] [stderr] Compiling smithay-client-toolkit v0.3.0 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Compiling winit v0.17.2 [INFO] [stderr] Compiling tiff v0.2.1 [INFO] [stderr] Compiling gfx_core v0.8.3 [INFO] [stderr] Compiling day3 v0.1.0 (/opt/rustwide/workdir/day3) [INFO] [stderr] Compiling day9 v0.1.0 (/opt/rustwide/workdir/day9) [INFO] [stderr] Compiling day4 v0.1.0 (/opt/rustwide/workdir/day4) [INFO] [stderr] Compiling day7 v0.1.0 (/opt/rustwide/workdir/day7) [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> day9/src/main.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | static ref re: Regex = [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 23 - static ref re: Regex = [INFO] [stdout] 23 + static ref RE: Regex = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> day7/src/main.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | static ref re: Regex = [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 26 - static ref re: Regex = [INFO] [stdout] 26 + static ref RE: Regex = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day4/src/main.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let mut val = minutes.entry(*min).or_insert_with(|| GuardSleepCount{id: guard.id, count: *count}); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `time_re` should have an upper case name [INFO] [stdout] --> day4/src/main.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | static ref time_re: Regex = Regex::new(r"\[(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2})\]").unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 28 - static ref time_re: Regex = Regex::new(r"\[(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2})\]").unwrap(); [INFO] [stdout] 28 + static ref TIME_RE: Regex = Regex::new(r"\[(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2})\]").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `begins_shift_re` should have an upper case name [INFO] [stdout] --> day4/src/main.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | static ref begins_shift_re: Regex = Regex::new(r"Guard #(\d+) begins shift").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 29 - static ref begins_shift_re: Regex = Regex::new(r"Guard #(\d+) begins shift").unwrap(); [INFO] [stdout] 29 + static ref BEGINS_SHIFT_RE: Regex = Regex::new(r"Guard #(\d+) begins shift").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling image v0.20.1 [INFO] [stderr] Compiling gfx v0.17.1 [INFO] [stderr] Compiling gfx_device_gl v0.15.3 [INFO] [stderr] Compiling pistoncore-input v0.21.0 [INFO] [stderr] Compiling piston-gfx_texture v0.34.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.52.0 [INFO] [stderr] Compiling pistoncore-window v0.32.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.37.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.48.0 [INFO] [stderr] Compiling piston v0.37.0 [INFO] [stderr] Compiling piston_window v0.81.0 [INFO] [stderr] Compiling day10 v0.1.0 (/opt/rustwide/workdir/day10) [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> day10/src/main.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | static ref re: Regex = [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 24 - static ref re: Regex = [INFO] [stdout] 24 + static ref RE: Regex = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.11s [INFO] running `Command { std: "docker" "inspect" "61d029645246a03ffef981bc46a080c8efe433c5940e47a967797027ff925099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61d029645246a03ffef981bc46a080c8efe433c5940e47a967797027ff925099", kill_on_drop: false }` [INFO] [stdout] 61d029645246a03ffef981bc46a080c8efe433c5940e47a967797027ff925099 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c28579bb4938ee2781cd00e25172ecd416df4a0fa1d2ed8f2e0cac6678e14ef [INFO] running `Command { std: "docker" "start" "-a" "1c28579bb4938ee2781cd00e25172ecd416df4a0fa1d2ed8f2e0cac6678e14ef", kill_on_drop: false }` [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> shared/src/lib.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> GridIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> GridIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day3 v0.1.0 (/opt/rustwide/workdir/day3) [INFO] [stderr] Compiling day11 v0.1.0 (/opt/rustwide/workdir/day11) [INFO] [stderr] Compiling day12 v0.1.0 (/opt/rustwide/workdir/day12) [INFO] [stderr] Compiling day13 v0.1.0 (/opt/rustwide/workdir/day13) [INFO] [stderr] Compiling day9 v0.1.0 (/opt/rustwide/workdir/day9) [INFO] [stderr] Compiling day4 v0.1.0 (/opt/rustwide/workdir/day4) [INFO] [stderr] Compiling day7 v0.1.0 (/opt/rustwide/workdir/day7) [INFO] [stderr] Compiling day5 v0.1.0 (/opt/rustwide/workdir/day5) [INFO] [stderr] Compiling day1 v0.1.0 (/opt/rustwide/workdir/day1) [INFO] [stderr] Compiling day8 v0.1.0 (/opt/rustwide/workdir/day8) [INFO] [stderr] Compiling day2 v0.1.0 (/opt/rustwide/workdir/day2) [INFO] [stderr] Compiling shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stderr] Compiling day14 v0.1.0 (/opt/rustwide/workdir/day14) [INFO] [stderr] Compiling day6 v0.1.0 (/opt/rustwide/workdir/day6) [INFO] [stderr] Compiling day10 v0.1.0 (/opt/rustwide/workdir/day10) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> day8/src/main.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn build_tree(data: &mut Iterator) -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | fn build_tree(data: &mut dyn Iterator) -> Node { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day4/src/main.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let mut val = minutes.entry(*min).or_insert_with(|| GuardSleepCount{id: guard.id, count: *count}); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `time_re` should have an upper case name [INFO] [stdout] --> day4/src/main.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | static ref time_re: Regex = Regex::new(r"\[(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2})\]").unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 28 - static ref time_re: Regex = Regex::new(r"\[(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2})\]").unwrap(); [INFO] [stdout] 28 + static ref TIME_RE: Regex = Regex::new(r"\[(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2})\]").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `begins_shift_re` should have an upper case name [INFO] [stdout] --> day4/src/main.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | static ref begins_shift_re: Regex = Regex::new(r"Guard #(\d+) begins shift").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 29 - static ref begins_shift_re: Regex = Regex::new(r"Guard #(\d+) begins shift").unwrap(); [INFO] [stdout] 29 + static ref BEGINS_SHIFT_RE: Regex = Regex::new(r"Guard #(\d+) begins shift").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> shared/src/lib.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> GridIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> GridIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> day8/src/main.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 61 | fn print(&self, indent: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> day9/src/main.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | static ref re: Regex = [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 23 - static ref re: Regex = [INFO] [stdout] 23 + static ref RE: Regex = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> day7/src/main.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | static ref re: Regex = [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 26 - static ref re: Regex = [INFO] [stdout] 26 + static ref RE: Regex = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> day10/src/main.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | static ref re: Regex = [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 24 - static ref re: Regex = [INFO] [stdout] 24 + static ref RE: Regex = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "1c28579bb4938ee2781cd00e25172ecd416df4a0fa1d2ed8f2e0cac6678e14ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c28579bb4938ee2781cd00e25172ecd416df4a0fa1d2ed8f2e0cac6678e14ef", kill_on_drop: false }` [INFO] [stdout] 1c28579bb4938ee2781cd00e25172ecd416df4a0fa1d2ed8f2e0cac6678e14ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8aa50ce6be21d771a3894a8c36e7d3c001bb733fd9e2fdbd0e0dfb0585719304 [INFO] running `Command { std: "docker" "start" "-a" "8aa50ce6be21d771a3894a8c36e7d3c001bb733fd9e2fdbd0e0dfb0585719304", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> shared/src/lib.rs:45:17 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn iter(&self) -> GridIter { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 45 | pub fn iter(&self) -> GridIter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `shared` (lib) generated 1 warning [INFO] [stderr] warning: static variable `re` should have an upper case name [INFO] [stderr] --> day7/src/main.rs:26:20 [INFO] [stderr] | [INFO] [stderr] 26 | static ref re: Regex = [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 26 - static ref re: Regex = [INFO] [stderr] 26 + static ref RE: Regex = [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> day4/src/main.rs:161:17 [INFO] [stderr] | [INFO] [stderr] 161 | let mut val = minutes.entry(*min).or_insert_with(|| GuardSleepCount{id: guard.id, count: *count}); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: static variable `time_re` should have an upper case name [INFO] [stderr] --> day4/src/main.rs:28:20 [INFO] [stderr] | [INFO] [stderr] 28 | static ref time_re: Regex = Regex::new(r"\[(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2})\]").unwrap(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 28 - static ref time_re: Regex = Regex::new(r"\[(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2})\]").unwrap(); [INFO] [stderr] 28 + static ref TIME_RE: Regex = Regex::new(r"\[(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2})\]").unwrap(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: static variable `begins_shift_re` should have an upper case name [INFO] [stderr] --> day4/src/main.rs:29:20 [INFO] [stderr] | [INFO] [stderr] 29 | static ref begins_shift_re: Regex = Regex::new(r"Guard #(\d+) begins shift").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 29 - static ref begins_shift_re: Regex = Regex::new(r"Guard #(\d+) begins shift").unwrap(); [INFO] [stderr] 29 + static ref BEGINS_SHIFT_RE: Regex = Regex::new(r"Guard #(\d+) begins shift").unwrap(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: static variable `re` should have an upper case name [INFO] [stderr] --> day9/src/main.rs:23:20 [INFO] [stderr] | [INFO] [stderr] 23 | static ref re: Regex = [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 23 - static ref re: Regex = [INFO] [stderr] 23 + static ref RE: Regex = [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `day7` (bin "day7" test) generated 1 warning (run `cargo fix --bin "day7" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `day4` (bin "day4" test) generated 3 warnings (run `cargo fix --bin "day4" --tests` to apply 3 suggestions) [INFO] [stderr] warning: `day9` (bin "day9" test) generated 1 warning (run `cargo fix --bin "day9" --tests` to apply 1 suggestion) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> day8/src/main.rs:33:26 [INFO] [stderr] | [INFO] [stderr] 33 | fn build_tree(data: &mut Iterator) -> Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 | fn build_tree(data: &mut dyn Iterator) -> Node { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: method `print` is never used [INFO] [stderr] --> day8/src/main.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 60 | impl Node { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] 61 | fn print(&self, indent: usize) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `shared` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `day8` (bin "day8" test) generated 2 warnings (run `cargo fix --bin "day8" --tests` to apply 1 suggestion) [INFO] [stderr] warning: static variable `re` should have an upper case name [INFO] [stderr] --> day10/src/main.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | static ref re: Regex = [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 24 - static ref re: Regex = [INFO] [stderr] 24 + static ref RE: Regex = [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `day10` (bin "day10" test) generated 1 warning (run `cargo fix --bin "day10" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/day1-6d31031ffd225a20) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/day10-7ad56ecf16bc3ddb) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/day11-32d6542be0034577) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/day12-d333efa2a35bd4eb) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/day13-32e63a745ac73b39) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/day14-e9b4b71cf777f1fb) [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] [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/day2-a2ec7461ffe8e9d6) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/day3-84b3e208bbd2118e) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/day4-35d9b04c29c00d22) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/day5-90bd6f9fb53c0941) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/day6-9ea602a92147a173) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/day7-c7f661e2e1e28787) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/day8-38178057d49f5cc1) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/day9-cd91e92ba06308ca) [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shared-95c6f836fd1c2241) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests shared [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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" "8aa50ce6be21d771a3894a8c36e7d3c001bb733fd9e2fdbd0e0dfb0585719304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aa50ce6be21d771a3894a8c36e7d3c001bb733fd9e2fdbd0e0dfb0585719304", kill_on_drop: false }` [INFO] [stdout] 8aa50ce6be21d771a3894a8c36e7d3c001bb733fd9e2fdbd0e0dfb0585719304