[INFO] cloning repository https://github.com/xfix/advent-of-code-2018-mirror [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xfix/advent-of-code-2018-mirror" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfix%2Fadvent-of-code-2018-mirror", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfix%2Fadvent-of-code-2018-mirror'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f9c778413d93d66d40dfc9bab850340a9d4fe8b [INFO] checking xfix/advent-of-code-2018-mirror against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfix%2Fadvent-of-code-2018-mirror" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xfix/advent-of-code-2018-mirror on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xfix/advent-of-code-2018-mirror [INFO] finished tweaking git repo https://github.com/xfix/advent-of-code-2018-mirror [INFO] tweaked toml for git repo https://github.com/xfix/advent-of-code-2018-mirror written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/xfix/advent-of-code-2018-mirror already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93a767e3b9ba9704323b3d487ef76e226b03e0ab892220bf20371f68b79fd106 [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" "93a767e3b9ba9704323b3d487ef76e226b03e0ab892220bf20371f68b79fd106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93a767e3b9ba9704323b3d487ef76e226b03e0ab892220bf20371f68b79fd106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93a767e3b9ba9704323b3d487ef76e226b03e0ab892220bf20371f68b79fd106", kill_on_drop: false }` [INFO] [stdout] 93a767e3b9ba9704323b3d487ef76e226b03e0ab892220bf20371f68b79fd106 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b49eda0f18c3a453c9b4e4ca28b997cdc70a66a4ee9d987a02d79cb05de8197f [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" "b49eda0f18c3a453c9b4e4ca28b997cdc70a66a4ee9d987a02d79cb05de8197f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking z3-sys v0.4.0 [INFO] [stderr] Checking arraymap v0.1.1 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking arrayvec v0.4.8 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling heck v0.3.0 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking z3 v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking nom v4.1.1 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling enumset_derive v0.2.0 [INFO] [stderr] Checking enumset v0.3.14 [INFO] [stderr] Checking structopt v0.2.14 [INFO] [stderr] Checking advent-of-code-2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `take_while1_s`: Please use `take_while1` instead [INFO] [stdout] --> src/day3/mod.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | / named!( [INFO] [stdout] 95 | | integer, u16>, [INFO] [stdout] 96 | | map_res!( [INFO] [stdout] 97 | | take_while1_s!(|c| char::is_digit(c, 10)), [INFO] [stdout] 98 | | |x: CompleteStr<'_>| x.parse() [INFO] [stdout] 99 | | ) [INFO] [stdout] 100 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `map_res` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `take_while1_s`: Please use `take_while1` instead [INFO] [stdout] --> src/day3/mod.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | / named!( [INFO] [stdout] 95 | | integer, u16>, [INFO] [stdout] 96 | | map_res!( [INFO] [stdout] 97 | | take_while1_s!(|c| char::is_digit(c, 10)), [INFO] [stdout] 98 | | |x: CompleteStr<'_>| x.parse() [INFO] [stdout] 99 | | ) [INFO] [stdout] 100 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `take_while1_s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `take_while1_s`: Please use `take_while1` instead [INFO] [stdout] --> src/day4/mod.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / named!( [INFO] [stdout] 126 | | integer(CompleteStr<'_>) -> u32, [INFO] [stdout] 127 | | map_res!( [INFO] [stdout] 128 | | take_while1_s!(|c| char::is_digit(c, 10)), [INFO] [stdout] 129 | | |x: CompleteStr<'_>| x.parse() [INFO] [stdout] 130 | | ) [INFO] [stdout] 131 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `map_res` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `take_while1_s`: Please use `take_while1` instead [INFO] [stdout] --> src/day4/mod.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / named!( [INFO] [stdout] 126 | | integer(CompleteStr<'_>) -> u32, [INFO] [stdout] 127 | | map_res!( [INFO] [stdout] 128 | | take_while1_s!(|c| char::is_digit(c, 10)), [INFO] [stdout] 129 | | |x: CompleteStr<'_>| x.parse() [INFO] [stdout] 130 | | ) [INFO] [stdout] 131 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `take_while1_s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `nom::take_while1_s`: Please use `take_while1` instead [INFO] [stdout] --> src/day3/mod.rs:3:77 [INFO] [stdout] | [INFO] [stdout] 3 | use nom::{call, do_parse, error_position, map_res, named, tag, take_while1, take_while1_s}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `nom::take_while1_s`: Please use `take_while1` instead [INFO] [stdout] --> src/day4/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | take_while1_s, tuple_parser, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `take_while1_s`: Please use `take_while1` instead [INFO] [stdout] --> src/day3/mod.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | / named!( [INFO] [stdout] 95 | | integer, u16>, [INFO] [stdout] 96 | | map_res!( [INFO] [stdout] 97 | | take_while1_s!(|c| char::is_digit(c, 10)), [INFO] [stdout] 98 | | |x: CompleteStr<'_>| x.parse() [INFO] [stdout] 99 | | ) [INFO] [stdout] 100 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `map_res` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `take_while1_s`: Please use `take_while1` instead [INFO] [stdout] --> src/day3/mod.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | / named!( [INFO] [stdout] 95 | | integer, u16>, [INFO] [stdout] 96 | | map_res!( [INFO] [stdout] 97 | | take_while1_s!(|c| char::is_digit(c, 10)), [INFO] [stdout] 98 | | |x: CompleteStr<'_>| x.parse() [INFO] [stdout] 99 | | ) [INFO] [stdout] 100 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `take_while1_s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `take_while1_s`: Please use `take_while1` instead [INFO] [stdout] --> src/day4/mod.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / named!( [INFO] [stdout] 126 | | integer(CompleteStr<'_>) -> u32, [INFO] [stdout] 127 | | map_res!( [INFO] [stdout] 128 | | take_while1_s!(|c| char::is_digit(c, 10)), [INFO] [stdout] 129 | | |x: CompleteStr<'_>| x.parse() [INFO] [stdout] 130 | | ) [INFO] [stdout] 131 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `map_res` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `take_while1_s`: Please use `take_while1` instead [INFO] [stdout] --> src/day4/mod.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / named!( [INFO] [stdout] 126 | | integer(CompleteStr<'_>) -> u32, [INFO] [stdout] 127 | | map_res!( [INFO] [stdout] 128 | | take_while1_s!(|c| char::is_digit(c, 10)), [INFO] [stdout] 129 | | |x: CompleteStr<'_>| x.parse() [INFO] [stdout] 130 | | ) [INFO] [stdout] 131 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `take_while1_s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `nom::take_while1_s`: Please use `take_while1` instead [INFO] [stdout] --> src/day3/mod.rs:3:77 [INFO] [stdout] | [INFO] [stdout] 3 | use nom::{call, do_parse, error_position, map_res, named, tag, take_while1, take_while1_s}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `nom::take_while1_s`: Please use `take_while1` instead [INFO] [stdout] --> src/day4/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | take_while1_s, tuple_parser, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arraymap::ArrayMap` [INFO] [stdout] --> src/day12/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use arraymap::ArrayMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day15/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 121 | player = &self.players[player_number]; [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 125 | self.hurt(positions, target, player.attack_power); [INFO] [stdout] | ^^^^ ------------------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arraymap::ArrayMap` [INFO] [stdout] --> src/day12/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use arraymap::ArrayMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day15/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 121 | player = &self.players[player_number]; [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 125 | self.hurt(positions, target, player.attack_power); [INFO] [stdout] | ^^^^ ------------------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.01s [INFO] running `Command { std: "docker" "inspect" "b49eda0f18c3a453c9b4e4ca28b997cdc70a66a4ee9d987a02d79cb05de8197f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b49eda0f18c3a453c9b4e4ca28b997cdc70a66a4ee9d987a02d79cb05de8197f", kill_on_drop: false }` [INFO] [stdout] b49eda0f18c3a453c9b4e4ca28b997cdc70a66a4ee9d987a02d79cb05de8197f