[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] testing xfix/advent-of-code-2018-mirror against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfix%2Fadvent-of-code-2018-mirror" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xfix/advent-of-code-2018-mirror on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-7/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v0.6.10 [INFO] [stderr] Downloaded proc-macro2 v0.4.24 [INFO] [stderr] Downloaded arrayvec v0.4.8 [INFO] [stderr] Downloaded num_cpus v1.8.0 [INFO] [stderr] Downloaded syn v0.15.22 [INFO] [stderr] Downloaded enumset v0.3.14 [INFO] [stderr] Downloaded nom v4.1.1 [INFO] [stderr] Downloaded arraymap v0.1.1 [INFO] [stderr] Downloaded itertools v0.7.11 [INFO] [stderr] Downloaded num-complex v0.2.1 [INFO] [stderr] Downloaded z3 v0.3.0 [INFO] [stderr] Downloaded redox_syscall v0.1.43 [INFO] [stderr] Downloaded enumset_derive v0.2.0 [INFO] [stderr] Downloaded regex-syntax v0.6.4 [INFO] [stderr] Downloaded memchr v2.1.2 [INFO] [stderr] Downloaded libc v0.2.45 [INFO] [stderr] Downloaded heck v0.3.0 [INFO] [stderr] Downloaded z3-sys v0.4.0 [INFO] [stderr] Downloaded structopt-derive v0.2.14 [INFO] [stderr] Downloaded structopt v0.2.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f877ad5d3e11626e7b8d0fb37d9549affc55bfc7e952f5bc4380d9cb87bbc3ae [INFO] running `Command { std: "docker" "start" "-a" "f877ad5d3e11626e7b8d0fb37d9549affc55bfc7e952f5bc4380d9cb87bbc3ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f877ad5d3e11626e7b8d0fb37d9549affc55bfc7e952f5bc4380d9cb87bbc3ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f877ad5d3e11626e7b8d0fb37d9549affc55bfc7e952f5bc4380d9cb87bbc3ae", kill_on_drop: false }` [INFO] [stdout] f877ad5d3e11626e7b8d0fb37d9549affc55bfc7e952f5bc4380d9cb87bbc3ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a6d63278437bd9092af02ac5f9357e366e892f647f5436aaa9ce85be9b6d9c3 [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" "0a6d63278437bd9092af02ac5f9357e366e892f647f5436aaa9ce85be9b6d9c3", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling z3-sys v0.4.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling arraymap v0.1.1 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling arrayvec v0.4.8 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling z3 v0.3.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling enumset_derive v0.2.0 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling enumset v0.3.14 [INFO] [stderr] Compiling structopt v0.2.14 [INFO] [stderr] Compiling 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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.94s [INFO] running `Command { std: "docker" "inspect" "0a6d63278437bd9092af02ac5f9357e366e892f647f5436aaa9ce85be9b6d9c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a6d63278437bd9092af02ac5f9357e366e892f647f5436aaa9ce85be9b6d9c3", kill_on_drop: false }` [INFO] [stdout] 0a6d63278437bd9092af02ac5f9357e366e892f647f5436aaa9ce85be9b6d9c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e89ad006ec4e1d55aca667063f0dad1b5d7cd7d8b5cfbb353072b29dd6b3ca33 [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" "e89ad006ec4e1d55aca667063f0dad1b5d7cd7d8b5cfbb353072b29dd6b3ca33", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling z3-sys v0.4.0 [INFO] [stderr] Compiling arraymap v0.1.1 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling arrayvec v0.4.8 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling z3 v0.3.0 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling enumset v0.3.14 [INFO] [stderr] Compiling structopt v0.2.14 [INFO] [stderr] Compiling 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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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] [stderr] Finished test [optimized + debuginfo] target(s) in 2m 27s [INFO] running `Command { std: "docker" "inspect" "e89ad006ec4e1d55aca667063f0dad1b5d7cd7d8b5cfbb353072b29dd6b3ca33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e89ad006ec4e1d55aca667063f0dad1b5d7cd7d8b5cfbb353072b29dd6b3ca33", kill_on_drop: false }` [INFO] [stdout] e89ad006ec4e1d55aca667063f0dad1b5d7cd7d8b5cfbb353072b29dd6b3ca33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] db889047ff101bfda1d035c6d03101a5b65cbb7549f19834c6e39549871ee116 [INFO] running `Command { std: "docker" "start" "-a" "db889047ff101bfda1d035c6d03101a5b65cbb7549f19834c6e39549871ee116", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `take_while1_s`: Please use `take_while1` instead [INFO] [stderr] --> src/day3/mod.rs:94:1 [INFO] [stderr] | [INFO] [stderr] 94 | / named!( [INFO] [stderr] 95 | | integer, u16>, [INFO] [stderr] 96 | | map_res!( [INFO] [stderr] 97 | | take_while1_s!(|c| char::is_digit(c, 10)), [INFO] [stderr] 98 | | |x: CompleteStr<'_>| x.parse() [INFO] [stderr] 99 | | ) [INFO] [stderr] 100 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `map_res` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `take_while1_s`: Please use `take_while1` instead [INFO] [stderr] --> src/day3/mod.rs:94:1 [INFO] [stderr] | [INFO] [stderr] 94 | / named!( [INFO] [stderr] 95 | | integer, u16>, [INFO] [stderr] 96 | | map_res!( [INFO] [stderr] 97 | | take_while1_s!(|c| char::is_digit(c, 10)), [INFO] [stderr] 98 | | |x: CompleteStr<'_>| x.parse() [INFO] [stderr] 99 | | ) [INFO] [stderr] 100 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `take_while1_s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `take_while1_s`: Please use `take_while1` instead [INFO] [stderr] --> src/day4/mod.rs:125:1 [INFO] [stderr] | [INFO] [stderr] 125 | / named!( [INFO] [stderr] 126 | | integer(CompleteStr<'_>) -> u32, [INFO] [stderr] 127 | | map_res!( [INFO] [stderr] 128 | | take_while1_s!(|c| char::is_digit(c, 10)), [INFO] [stderr] 129 | | |x: CompleteStr<'_>| x.parse() [INFO] [stderr] 130 | | ) [INFO] [stderr] 131 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `map_res` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated macro `take_while1_s`: Please use `take_while1` instead [INFO] [stdout] running 147 tests [INFO] [stderr] --> src/day4/mod.rs:125:1 [INFO] [stderr] | [INFO] [stderr] 125 | / named!( [INFO] [stderr] 126 | | integer(CompleteStr<'_>) -> u32, [INFO] [stderr] 127 | | map_res!( [INFO] [stderr] 128 | | take_while1_s!(|c| char::is_digit(c, 10)), [INFO] [stderr] 129 | | |x: CompleteStr<'_>| x.parse() [INFO] [stderr] 130 | | ) [INFO] [stderr] 131 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `take_while1_s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `nom::take_while1_s`: Please use `take_while1` instead [INFO] [stderr] --> src/day3/mod.rs:3:77 [INFO] [stderr] | [INFO] [stderr] 3 | use nom::{call, do_parse, error_position, map_res, named, tag, take_while1, take_while1_s}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `nom::take_while1_s`: Please use `take_while1` instead [INFO] [stderr] --> src/day4/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | take_while1_s, tuple_parser, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `arraymap::ArrayMap` [INFO] [stderr] --> src/day12/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use arraymap::ArrayMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/day15/mod.rs:125:13 [INFO] [stderr] | [INFO] [stderr] 121 | player = &self.players[player_number]; [INFO] [stderr] | ------------ immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 125 | self.hurt(positions, target, player.attack_power); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: `advent-of-code-2018` (bin "advent-of-code-2018" test) generated 8 warnings [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent_of_code_2018-e90ce07be2b2bac5) [INFO] [stdout] test day14::test::part1::example1 ... ok [INFO] [stdout] test day13::test::part1::example2 ... ok [INFO] [stdout] test day12::test::part1::example ... ok [INFO] [stdout] test day14::test::part1::example2 ... ok [INFO] [stdout] test day13::test::part2::example ... ok [INFO] [stdout] test day11::test::part1::example2 ... ok [INFO] [stdout] test day13::test::part1::input ... ok [INFO] [stdout] test day14::test::part1::example4 ... ok [INFO] [stdout] test day14::test::part1::example3 ... ok [INFO] [stdout] test day14::test::part2::example1 ... ok [INFO] [stdout] test day11::test::part1::example1 ... ok [INFO] [stdout] test day12::test::part1::input ... ok [INFO] [stdout] test day11::test::part1::input ... ok [INFO] [stdout] test day12::test::part2::input ... ok [INFO] [stdout] test day13::test::part1::example1 ... ok [INFO] [stdout] test day14::test::part2::example2 ... ok [INFO] [stdout] test day14::test::part2::example4 ... ok [INFO] [stdout] test day15::test::part1::example3 ... ok [INFO] [stdout] test day14::test::part2::example3 ... ok [INFO] [stdout] test day15::test::part1::attack_opponent_with_lowest_hp ... ok [INFO] [stdout] test day15::test::part1::example2 ... ok [INFO] [stdout] test day15::test::part1::example5 ... ok [INFO] [stdout] test day15::test::part1::example4 ... ok [INFO] [stdout] test day15::test::part1::example1 ... ok [INFO] [stdout] test day15::test::part1::multiple_paths_2x2 ... ok [INFO] [stdout] test day15::test::part2::example3 ... ok [INFO] [stdout] test day15::test::part1::example6 ... ok [INFO] [stdout] test day15::test::part1::multiple_paths ... ok [INFO] [stdout] test day15::test::part1::multiple_paths_with_blocker_in_middle ... ok [INFO] [stdout] test day15::test::part1::multiple_paths_with_blocker ... ok [INFO] [stdout] test day15::test::part2::example1 ... ok [INFO] [stderr] error: test failed, to rerun pass '--bin advent-of-code-2018' [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/advent_of_code_2018-e90ce07be2b2bac5` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "db889047ff101bfda1d035c6d03101a5b65cbb7549f19834c6e39549871ee116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db889047ff101bfda1d035c6d03101a5b65cbb7549f19834c6e39549871ee116", kill_on_drop: false }` [INFO] [stdout] db889047ff101bfda1d035c6d03101a5b65cbb7549f19834c6e39549871ee116