[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfix%2Fadvent-of-code-2018-mirror" "/workspace/builds/worker-93/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-93/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xfix/advent-of-code-2018-mirror on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-93/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" "+beta-2022-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1506137f284f9f0f07bc661f68cf2a254c3117085041a6641b98ce8842beeeb9 [INFO] running `Command { std: "docker" "start" "-a" "1506137f284f9f0f07bc661f68cf2a254c3117085041a6641b98ce8842beeeb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1506137f284f9f0f07bc661f68cf2a254c3117085041a6641b98ce8842beeeb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1506137f284f9f0f07bc661f68cf2a254c3117085041a6641b98ce8842beeeb9", kill_on_drop: false }` [INFO] [stdout] 1506137f284f9f0f07bc661f68cf2a254c3117085041a6641b98ce8842beeeb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60e6eedd2cb347153c45cfe91a20fe2ce6ad28086dcf0813d48cc55b46251b16 [INFO] running `Command { std: "docker" "start" "-a" "60e6eedd2cb347153c45cfe91a20fe2ce6ad28086dcf0813d48cc55b46251b16", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling z3-sys v0.4.0 [INFO] [stderr] Compiling arraymap v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.4 [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 thread_local v0.3.6 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling arrayvec v0.4.8 [INFO] [stderr] Compiling z3 v0.3.0 [INFO] [stderr] Compiling heck v0.3.0 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.1.1 [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 23.35s [INFO] running `Command { std: "docker" "inspect" "60e6eedd2cb347153c45cfe91a20fe2ce6ad28086dcf0813d48cc55b46251b16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60e6eedd2cb347153c45cfe91a20fe2ce6ad28086dcf0813d48cc55b46251b16", kill_on_drop: false }` [INFO] [stdout] 60e6eedd2cb347153c45cfe91a20fe2ce6ad28086dcf0813d48cc55b46251b16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82cc2cc565c8dce5613502864727118fc0e5e0251ba0dd7673201e864b643ceb [INFO] running `Command { std: "docker" "start" "-a" "82cc2cc565c8dce5613502864727118fc0e5e0251ba0dd7673201e864b643ceb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 memoffset v0.2.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling bitflags v1.0.4 [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 libc v0.2.45 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling num-complex v0.2.1 [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 textwrap v0.10.0 [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 atty v0.2.11 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling z3 v0.3.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling enumset v0.3.14 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [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 24.38s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/advent_of_code_2018-c3c440d2a720301f) [INFO] running `Command { std: "docker" "inspect" "82cc2cc565c8dce5613502864727118fc0e5e0251ba0dd7673201e864b643ceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82cc2cc565c8dce5613502864727118fc0e5e0251ba0dd7673201e864b643ceb", kill_on_drop: false }` [INFO] [stdout] 82cc2cc565c8dce5613502864727118fc0e5e0251ba0dd7673201e864b643ceb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d20c1332c85c69062032373605c045644898c66b24236f84512b4743812152e1 [INFO] running `Command { std: "docker" "start" "-a" "d20c1332c85c69062032373605c045644898c66b24236f84512b4743812152e1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.39s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/advent_of_code_2018-c3c440d2a720301f) [INFO] [stdout] [INFO] [stdout] running 147 tests [INFO] [stdout] test day11::test::part1::example1 ... ok [INFO] [stdout] test day12::test::part1::example ... ok [INFO] [stdout] test day13::test::part1::example1 ... ok [INFO] [stdout] test day12::test::part1::input ... ok [INFO] [stdout] test day11::test::part1::input ... ok [INFO] [stdout] test day11::test::part1::example2 ... ok [INFO] [stdout] test day13::test::part1::example2 ... ok [INFO] [stdout] test day13::test::part2::example ... ok [INFO] [stdout] test day13::test::part1::input ... ok [INFO] [stdout] test day14::test::part1::example1 ... 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 day10::test::part2::input ... ok [INFO] [stdout] test day14::test::part2::example3 ... ok [INFO] [stdout] test day14::test::part2::example4 ... ok [INFO] [stdout] test day15::test::part1::attack_opponent_with_lowest_hp ... ok [INFO] [stdout] test day15::test::part1::example1 ... ok [INFO] [stdout] test day15::test::part1::example3 ... ok [INFO] [stdout] test day15::test::part1::example2 ... ok [INFO] [stdout] test day15::test::part1::example5 ... ok [INFO] [stdout] test day15::test::part1::example6 ... ok [INFO] [stdout] test day13::test::part2::input ... ok [INFO] [stdout] test day15::test::part1::example4 ... ok [INFO] [stdout] test day15::test::part1::maze_world ... ok [INFO] [stdout] test day15::test::part1::multiple_paths ... ok [INFO] [stdout] test day15::test::part1::multiple_paths_with_blocker ... ok [INFO] [stdout] test day15::test::part1::multiple_paths_2x2 ... ok [INFO] [stdout] test day15::test::part1::multiple_paths_with_blocker_in_middle ... ok [INFO] [stdout] test day15::test::part2::example2 ... ok [INFO] [stdout] test day15::test::part2::example1 ... ok [INFO] [stdout] test day16::test::part1::test_identical_opcodes ... ok [INFO] [stdout] test day15::test::part2::example3 ... ok [INFO] [stdout] test day15::test::part2::example4 ... ok [INFO] [stdout] test day17::test::part1::complex_example ... ok [INFO] [stdout] test day17::test::part1::example ... ok [INFO] [stdout] test day17::test::part2::example ... ok [INFO] [stdout] test day18::test::part1::example ... ok [INFO] [stdout] test day16::test::part2::input ... ok [INFO] [stdout] test day16::test::part1::input ... ok [INFO] [stdout] test day19::test::part1::example ... ok [INFO] [stdout] test day18::test::part1::input ... ok [INFO] [stdout] test day19::test::part2::input ... ok [INFO] [stdout] test day1::test::part1::empty ... ok [INFO] [stdout] test day1::test::part1::example1 ... ok [INFO] [stdout] test day15::test::part2::example5 ... ok [INFO] [stdout] test day1::test::part1::example2 ... ok [INFO] [stdout] test day1::test::part1::example3 ... ok [INFO] [stdout] test day1::test::part1::input ... ok [INFO] [stdout] test day1::test::part1::example4 ... ok [INFO] [stdout] test day1::test::part1::test_max_value ... ok [INFO] [stdout] test day1::test::part1::overflow_fails ... ok [INFO] [stdout] test day1::test::part2::empty_input_fails ... ok [INFO] [stdout] test day1::test::part2::example2 ... ok [INFO] [stdout] test day1::test::part2::example4 ... ok [INFO] [stdout] test day1::test::part2::example1 ... ok [INFO] [stdout] test day1::test::part2::example5 ... ok [INFO] [stdout] test day1::test::part2::example3 ... ok [INFO] [stdout] test day1::test::part2::overflow_fails ... ok [INFO] [stdout] test day20::test::part1::example1 ... ok [INFO] [stdout] test day20::test::part1::example2 ... ok [INFO] [stdout] test day14::test::part1::input ... ok [INFO] [stdout] test day20::test::part1::example5 ... ok [INFO] [stdout] test day20::test::part1::example4 ... ok [INFO] [stdout] test day20::test::part1::example3 ... ok [INFO] [stdout] test day21::test::part2::input ... ignored [INFO] [stdout] test day21::test::part1::input ... ok [INFO] [stdout] test day22::test::part1::example ... ok [INFO] [stdout] test day23::test::part1::example ... ok [INFO] [stdout] test day22::test::part2::example ... ok [INFO] [stdout] test day23::test::part1::input ... ok [INFO] [stdout] test day24::test::part1::example ... ok [INFO] [stdout] test day25::test::part1::example1 ... ok [INFO] [stdout] test day25::test::part1::example2 ... ok [INFO] [stdout] test day25::test::part1::example3 ... ok [INFO] [stdout] test day25::test::part1::example4 ... ok [INFO] [stdout] test day2::test::part1::empty ... ok [INFO] [stdout] test day2::test::part1::example ... ok [INFO] [stdout] test day2::test::part1::input ... ok [INFO] [stdout] test day24::test::part1::input ... ok [INFO] [stdout] test day2::test::part2::example ... ok [INFO] [stdout] test day2::test::part2::empty_input_fails ... ok [INFO] [stdout] test day22::test::part1::input ... ok [INFO] [stdout] test day25::test::part1::input ... ok [INFO] [stdout] test day3::test::part1::empty ... ok [INFO] [stdout] test day2::test::part2::input_with_no_common_ids_fails ... ok [INFO] [stdout] test day2::test::part2::input ... ok [INFO] [stdout] test day3::test::part1::example1 ... ok [INFO] [stdout] test day3::test::part1::example2 ... ok [INFO] [stdout] test day3::test::part2::example1 ... ok [INFO] [stdout] test day3::test::part2::example2 ... ok [INFO] [stdout] test day4::test::part1::example ... ok [INFO] [stdout] test day24::test::part2::example ... ok [INFO] [stdout] test day4::test::part2::example ... ok [INFO] [stdout] test day5::test::part1::empty ... ok [INFO] [stdout] test day5::test::part1::example1 ... ok [INFO] [stdout] test day5::test::part1::example2 ... ok [INFO] [stdout] test day15::test::part1::input ... ok [INFO] [stdout] test day4::test::part1::input ... ok [INFO] [stdout] test day5::test::part1::example3 ... ok [INFO] [stdout] test day5::test::part1::example4 ... ok [INFO] [stdout] test day5::test::part1::example5 ... ok [INFO] [stdout] test day5::test::part2::example ... ok [INFO] [stdout] test day4::test::part2::input ... ok [INFO] [stdout] test day5::test::part1::input ... ok [INFO] [stdout] test day6::test::part1::example ... ok [INFO] [stdout] test day6::test::part2::test_find_region_size ... ok [INFO] [stdout] test day7::test::part1::example ... ok [INFO] [stdout] test day7::test::part2::input ... ok [INFO] [stdout] test day7::test::part2::simple_example ... ok [INFO] [stdout] test day7::test::part1::input ... ok [INFO] [stdout] test day8::test::part1::example ... ok [INFO] [stdout] test day8::test::part1::input ... ok [INFO] [stdout] test day8::test::part2::example ... ok [INFO] [stdout] test day5::test::part2::input ... ok [INFO] [stdout] test day9::test::part1::example2 ... ok [INFO] [stdout] test day9::test::part1::example1 ... ok [INFO] [stdout] test day8::test::part2::input ... ok [INFO] [stdout] test day19::test::part1::input ... ok [INFO] [stdout] test day9::test::part1::example4 ... ok [INFO] [stdout] test day9::test::part1::example6 ... ok [INFO] [stdout] test day6::test::part1::input ... ok [INFO] [stdout] test day9::test::part1::example3 ... ok [INFO] [stdout] test day9::test::part1::example5 ... ok [INFO] [stdout] test day6::test::part2::input ... ok [INFO] [stdout] test day9::test::part1::input ... ok [INFO] [stdout] test day1::test::part2::input ... 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-c3c440d2a720301f` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "d20c1332c85c69062032373605c045644898c66b24236f84512b4743812152e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d20c1332c85c69062032373605c045644898c66b24236f84512b4743812152e1", kill_on_drop: false }` [INFO] [stdout] d20c1332c85c69062032373605c045644898c66b24236f84512b4743812152e1