[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 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-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xfix/advent-of-code-2018-mirror on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-3/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 799ae44409e2466b4535caaa572384ece19d796e88ecdf50befd0d7bd9ef9ab8 [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" "799ae44409e2466b4535caaa572384ece19d796e88ecdf50befd0d7bd9ef9ab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "799ae44409e2466b4535caaa572384ece19d796e88ecdf50befd0d7bd9ef9ab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "799ae44409e2466b4535caaa572384ece19d796e88ecdf50befd0d7bd9ef9ab8", kill_on_drop: false }` [INFO] [stdout] 799ae44409e2466b4535caaa572384ece19d796e88ecdf50befd0d7bd9ef9ab8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 073a90c189293a21f3f4cbc6121a4b863ca0d24cf7fd8c71a3fb49869a273bb0 [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" "073a90c189293a21f3f4cbc6121a4b863ca0d24cf7fd8c71a3fb49869a273bb0", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling num-complex v0.2.1 [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 memchr v2.1.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling z3 v0.3.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [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 rayon v1.0.3 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling enumset_derive v0.2.0 [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 47.21s [INFO] running `Command { std: "docker" "inspect" "073a90c189293a21f3f4cbc6121a4b863ca0d24cf7fd8c71a3fb49869a273bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "073a90c189293a21f3f4cbc6121a4b863ca0d24cf7fd8c71a3fb49869a273bb0", kill_on_drop: false }` [INFO] [stdout] 073a90c189293a21f3f4cbc6121a4b863ca0d24cf7fd8c71a3fb49869a273bb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2dba1b3567ec9d18498b497f093ac231bebc0690772477ce4f9e3e6998be0d1 [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" "d2dba1b3567ec9d18498b497f093ac231bebc0690772477ce4f9e3e6998be0d1", 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 either v1.5.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling vec_map v0.8.1 [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 rayon-core v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.6 [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 rayon v1.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling arrayvec v0.4.8 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling z3 v0.3.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling enumset v0.3.14 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.1.1 [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 28s [INFO] running `Command { std: "docker" "inspect" "d2dba1b3567ec9d18498b497f093ac231bebc0690772477ce4f9e3e6998be0d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2dba1b3567ec9d18498b497f093ac231bebc0690772477ce4f9e3e6998be0d1", kill_on_drop: false }` [INFO] [stdout] d2dba1b3567ec9d18498b497f093ac231bebc0690772477ce4f9e3e6998be0d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 21ec6bd79dcc1da3a87cb1017ef22a473f32afcbfdb36140bf37349a922a059d [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" "21ec6bd79dcc1da3a87cb1017ef22a473f32afcbfdb36140bf37349a922a059d", 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] [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 `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.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent_of_code_2018-e90ce07be2b2bac5) [INFO] [stdout] [INFO] [stdout] running 147 tests [INFO] [stdout] test day13::test::part1::input ... ok [INFO] [stdout] test day13::test::part2::example ... ok [INFO] [stdout] test day13::test::part1::example2 ... ok [INFO] [stdout] test day13::test::part1::example1 ... ok [INFO] [stdout] test day14::test::part1::example1 ... ok [INFO] [stdout] test day12::test::part1::input ... ok [INFO] [stdout] test day12::test::part1::example ... ok [INFO] [stdout] test day12::test::part2::input ... ok [INFO] [stdout] test day14::test::part1::example2 ... ok [INFO] [stdout] test day14::test::part1::example3 ... ok [INFO] [stdout] test day14::test::part1::example4 ... ok [INFO] [stdout] test day14::test::part2::example1 ... ok [INFO] [stdout] test day14::test::part2::example2 ... ok [INFO] [stdout] test day14::test::part2::example3 ... ok [INFO] [stdout] test day14::test::part2::example4 ... 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" "21ec6bd79dcc1da3a87cb1017ef22a473f32afcbfdb36140bf37349a922a059d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21ec6bd79dcc1da3a87cb1017ef22a473f32afcbfdb36140bf37349a922a059d", kill_on_drop: false }` [INFO] [stdout] 21ec6bd79dcc1da3a87cb1017ef22a473f32afcbfdb36140bf37349a922a059d