[INFO] cloning repository https://github.com/LouisBrunner/advent2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LouisBrunner/advent2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLouisBrunner%2Fadvent2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLouisBrunner%2Fadvent2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72c44e2b57c49a5170dca5c9b3c6b51f9ff2435d [INFO] testing LouisBrunner/advent2018 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%2FLouisBrunner%2Fadvent2018" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LouisBrunner/advent2018 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/LouisBrunner/advent2018 [INFO] finished tweaking git repo https://github.com/LouisBrunner/advent2018 [INFO] tweaked toml for git repo https://github.com/LouisBrunner/advent2018 written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/LouisBrunner/advent2018 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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] 77dd59d6876cda9cd52098e6d905f6e341d85e3b6d59692d2a8930f712bfe859 [INFO] running `Command { std: "docker" "start" "-a" "77dd59d6876cda9cd52098e6d905f6e341d85e3b6d59692d2a8930f712bfe859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77dd59d6876cda9cd52098e6d905f6e341d85e3b6d59692d2a8930f712bfe859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77dd59d6876cda9cd52098e6d905f6e341d85e3b6d59692d2a8930f712bfe859", kill_on_drop: false }` [INFO] [stdout] 77dd59d6876cda9cd52098e6d905f6e341d85e3b6d59692d2a8930f712bfe859 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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] dcc17a22bccc774fad78ed1b92f431adafa5a3c315db4eb4acff6fc05f39e03a [INFO] running `Command { std: "docker" "start" "-a" "dcc17a22bccc774fad78ed1b92f431adafa5a3c315db4eb4acff6fc05f39e03a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.15 [INFO] [stderr] Compiling string v0.1.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.13 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling custom_error v1.3.0 [INFO] [stderr] Compiling arrayvec v0.4.8 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.6.2 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling tokio-timer v0.2.8 [INFO] [stderr] Compiling libflate v0.1.19 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling openssl-sys v0.9.39 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling mime v0.3.12 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling http v0.1.14 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.7 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-uds v0.2.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.9 [INFO] [stderr] Compiling h2 v0.1.13 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling tokio v0.1.13 [INFO] [stderr] Compiling serde_urlencoded v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling hyper v0.12.16 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling reqwest v0.9.5 [INFO] [stderr] Compiling advent2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | let mut res = try!(req.send()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | Ok(try!(res.text())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | let content = try!(request(session, day)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day01/common.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let content = try!(core::request(session, 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day01/common.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | let frequency_change = try!(change[1..].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day01/puzzle1.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | let data = try!(common::get_data(session)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day01/puzzle2.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let data = try!(common::get_data(session)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day02/puzzle1.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | let data = try!(core::get_data_as_strings(session, 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day02/puzzle2.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | let data = try!(core::get_data_as_strings(session, 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/common.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let content = try!(core::request(session, 3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/common.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | let captures = try!(RE.captures(claim_str) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/common.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | id: try!(captures["id"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/common.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | x: try!(captures["x"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/common.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | y: try!(captures["y"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/common.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | width: try!(captures["width"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/common.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | height: try!(captures["height"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/puzzle1.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let data = try!(common::get_data(session)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/puzzle2.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let data = try!(common::get_data(session)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | let content = try!(core::request(session, 4)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | let captures = try!(LINE.captures(log_str) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | try!(captures["hour"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | try!(captures["minute"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | try!(captures["year"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | try!(captures["month"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | try!(captures["day"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:56:63 [INFO] [stdout] | [INFO] [stdout] 56 | Some(captures) => Event::NewGuard{id: try!(captures["id"].parse::())}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | let guard = try!(current_guard.ok_or(core::Error::Internal{why: format!("{}: no guard in the schedule", i)})); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | let start_time = try!(current_sleeping.ok_or(core::Error::Internal{why: format!("{}: guard is not sleeping", i)})); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | try!(current_sleeping.ok_or(core::Error::Internal{why: format!("{}: end of sleep is too late", i)})); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | try!(current_sleeping.ok_or(core::Error::Internal{why: format!("{}: waking up before sleeping", i)})); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/puzzle1.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | let schedule = try!(common::gather_schedule(logs)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/puzzle1.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | let data = try!(common::get_data(session)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/puzzle1.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(format!("most asleep (ID x Minute): {}", try!(calculate_most_asleep(data)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/puzzle2.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | let schedule = try!(common::gather_schedule(logs)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/puzzle2.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | let data = try!(common::get_data(session)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/puzzle2.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(format!("most asleep 2 (ID x Minute): {}", try!(calculate_most_asleep2(data)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/common.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let content = try!(core::request(session, 8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/common.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | let (children_n, metadata_n) = (try!(values[0].parse::()), try!(values[1].parse::())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/common.rs:30:69 [INFO] [stdout] | [INFO] [stdout] 30 | let (children_n, metadata_n) = (try!(values[0].parse::()), try!(values[1].parse::())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/common.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | children: try!((0..children_n).map(|_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/common.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | let (child, offset) = try!(start_parsing(&values[children_offset..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/common.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | metadata: try!((0..metadata_n).map(|i| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/common.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(try!(values[children_offset + i as usize].parse::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/puzzle1.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let data = try!(common::get_data(session)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/puzzle2.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | let data = try!(common::get_data(session)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.58s [INFO] running `Command { std: "docker" "inspect" "dcc17a22bccc774fad78ed1b92f431adafa5a3c315db4eb4acff6fc05f39e03a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc17a22bccc774fad78ed1b92f431adafa5a3c315db4eb4acff6fc05f39e03a", kill_on_drop: false }` [INFO] [stdout] dcc17a22bccc774fad78ed1b92f431adafa5a3c315db4eb4acff6fc05f39e03a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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] 4d990bb52875eb7609a6cbe78d9612d50013b32a084cf09635f249aed17be223 [INFO] running `Command { std: "docker" "start" "-a" "4d990bb52875eb7609a6cbe78d9612d50013b32a084cf09635f249aed17be223", kill_on_drop: false }` [INFO] [stderr] Compiling advent2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | let mut res = try!(req.send()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | Ok(try!(res.text())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | let content = try!(request(session, day)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day01/common.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let content = try!(core::request(session, 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day01/common.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | let frequency_change = try!(change[1..].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day01/puzzle1.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | let data = try!(common::get_data(session)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day01/puzzle2.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let data = try!(common::get_data(session)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day02/puzzle1.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | let data = try!(core::get_data_as_strings(session, 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day02/puzzle2.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | let data = try!(core::get_data_as_strings(session, 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/common.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let content = try!(core::request(session, 3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/common.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | let captures = try!(RE.captures(claim_str) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/common.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | id: try!(captures["id"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/common.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | x: try!(captures["x"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/common.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | y: try!(captures["y"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/common.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | width: try!(captures["width"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/common.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | height: try!(captures["height"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/puzzle1.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let data = try!(common::get_data(session)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day03/puzzle2.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let data = try!(common::get_data(session)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | let content = try!(core::request(session, 4)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | let captures = try!(LINE.captures(log_str) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | try!(captures["hour"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | try!(captures["minute"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | try!(captures["year"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | try!(captures["month"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | try!(captures["day"].parse::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:56:63 [INFO] [stdout] | [INFO] [stdout] 56 | Some(captures) => Event::NewGuard{id: try!(captures["id"].parse::())}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | let guard = try!(current_guard.ok_or(core::Error::Internal{why: format!("{}: no guard in the schedule", i)})); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | let start_time = try!(current_sleeping.ok_or(core::Error::Internal{why: format!("{}: guard is not sleeping", i)})); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | try!(current_sleeping.ok_or(core::Error::Internal{why: format!("{}: end of sleep is too late", i)})); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/common.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | try!(current_sleeping.ok_or(core::Error::Internal{why: format!("{}: waking up before sleeping", i)})); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/puzzle1.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | let schedule = try!(common::gather_schedule(logs)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/puzzle1.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | let data = try!(common::get_data(session)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/puzzle1.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(format!("most asleep (ID x Minute): {}", try!(calculate_most_asleep(data)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/puzzle2.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | let schedule = try!(common::gather_schedule(logs)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/puzzle2.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | let data = try!(common::get_data(session)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day04/puzzle2.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(format!("most asleep 2 (ID x Minute): {}", try!(calculate_most_asleep2(data)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/common.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let content = try!(core::request(session, 8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/common.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | let (children_n, metadata_n) = (try!(values[0].parse::()), try!(values[1].parse::())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/common.rs:30:69 [INFO] [stdout] | [INFO] [stdout] 30 | let (children_n, metadata_n) = (try!(values[0].parse::()), try!(values[1].parse::())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/common.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | children: try!((0..children_n).map(|_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/common.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | let (child, offset) = try!(start_parsing(&values[children_offset..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/common.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | metadata: try!((0..metadata_n).map(|i| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/common.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(try!(values[children_offset + i as usize].parse::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/puzzle1.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let data = try!(common::get_data(session)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/day08/puzzle2.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | let data = try!(common::get_data(session)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.36s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/advent2018-861f2a593e028dd5) [INFO] running `Command { std: "docker" "inspect" "4d990bb52875eb7609a6cbe78d9612d50013b32a084cf09635f249aed17be223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d990bb52875eb7609a6cbe78d9612d50013b32a084cf09635f249aed17be223", kill_on_drop: false }` [INFO] [stdout] 4d990bb52875eb7609a6cbe78d9612d50013b32a084cf09635f249aed17be223 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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] 0f1ce60e2a119973e3f86f1fac4d3eb8ce286c7529312c4ba1f340dfe3994394 [INFO] running `Command { std: "docker" "start" "-a" "0f1ce60e2a119973e3f86f1fac4d3eb8ce286c7529312c4ba1f340dfe3994394", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/core.rs:19:19 [INFO] [stderr] | [INFO] [stderr] 19 | let mut res = try!(req.send()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/core.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | Ok(try!(res.text())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/core.rs:25:19 [INFO] [stderr] | [INFO] [stderr] 25 | let content = try!(request(session, day)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day01/common.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | let content = try!(core::request(session, 1)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day01/common.rs:22:36 [INFO] [stderr] | [INFO] [stderr] 22 | let frequency_change = try!(change[1..].parse::()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day01/puzzle1.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | let data = try!(common::get_data(session)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day01/puzzle2.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | let data = try!(common::get_data(session)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day02/puzzle1.rs:28:16 [INFO] [stderr] | [INFO] [stderr] 28 | let data = try!(core::get_data_as_strings(session, 2)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day02/puzzle2.rs:36:16 [INFO] [stderr] | [INFO] [stderr] 36 | let data = try!(core::get_data_as_strings(session, 2)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day03/common.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | let content = try!(core::request(session, 3)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day03/common.rs:32:28 [INFO] [stderr] | [INFO] [stderr] 32 | let captures = try!(RE.captures(claim_str) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day03/common.rs:36:21 [INFO] [stderr] | [INFO] [stderr] 36 | id: try!(captures["id"].parse::()), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day03/common.rs:37:20 [INFO] [stderr] | [INFO] [stderr] 37 | x: try!(captures["x"].parse::()), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day03/common.rs:38:20 [INFO] [stderr] | [INFO] [stderr] 38 | y: try!(captures["y"].parse::()), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day03/common.rs:39:24 [INFO] [stderr] | [INFO] [stderr] 39 | width: try!(captures["width"].parse::()), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day03/common.rs:40:25 [INFO] [stderr] | [INFO] [stderr] 40 | height: try!(captures["height"].parse::()), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day03/puzzle1.rs:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | let data = try!(common::get_data(session)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day03/puzzle2.rs:23:16 [INFO] [stderr] | [INFO] [stderr] 23 | let data = try!(common::get_data(session)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/common.rs:21:19 [INFO] [stderr] | [INFO] [stderr] 21 | let content = try!(core::request(session, 4)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/common.rs:39:28 [INFO] [stderr] | [INFO] [stderr] 39 | let captures = try!(LINE.captures(log_str) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/common.rs:48:21 [INFO] [stderr] | [INFO] [stderr] 48 | try!(captures["hour"].parse::()), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/common.rs:49:21 [INFO] [stderr] | [INFO] [stderr] 49 | try!(captures["minute"].parse::()), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/common.rs:44:21 [INFO] [stderr] | [INFO] [stderr] 44 | try!(captures["year"].parse::()), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/common.rs:45:21 [INFO] [stderr] | [INFO] [stderr] 45 | try!(captures["month"].parse::()), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/common.rs:46:21 [INFO] [stderr] | [INFO] [stderr] 46 | try!(captures["day"].parse::()), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/common.rs:56:63 [INFO] [stderr] | [INFO] [stderr] 56 | Some(captures) => Event::NewGuard{id: try!(captures["id"].parse::())}, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/common.rs:78:29 [INFO] [stderr] | [INFO] [stderr] 78 | let guard = try!(current_guard.ok_or(core::Error::Internal{why: format!("{}: no guard in the schedule", i)})); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/common.rs:79:34 [INFO] [stderr] | [INFO] [stderr] 79 | let start_time = try!(current_sleeping.ok_or(core::Error::Internal{why: format!("{}: guard is not sleeping", i)})); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/common.rs:83:21 [INFO] [stderr] | [INFO] [stderr] 83 | try!(current_sleeping.ok_or(core::Error::Internal{why: format!("{}: end of sleep is too late", i)})); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/common.rs:89:21 [INFO] [stderr] | [INFO] [stderr] 89 | try!(current_sleeping.ok_or(core::Error::Internal{why: format!("{}: waking up before sleeping", i)})); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/puzzle1.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | let schedule = try!(common::gather_schedule(logs)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/puzzle1.rs:24:16 [INFO] [stderr] | [INFO] [stderr] 24 | let data = try!(common::get_data(session)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/puzzle1.rs:25:49 [INFO] [stderr] | [INFO] [stderr] 25 | Ok(format!("most asleep (ID x Minute): {}", try!(calculate_most_asleep(data)))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/puzzle2.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | let schedule = try!(common::gather_schedule(logs)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/puzzle2.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | let data = try!(common::get_data(session)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day04/puzzle2.rs:19:51 [INFO] [stderr] | [INFO] [stderr] 19 | Ok(format!("most asleep 2 (ID x Minute): {}", try!(calculate_most_asleep2(data)))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day08/common.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | let content = try!(core::request(session, 8)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day08/common.rs:30:37 [INFO] [stderr] | [INFO] [stderr] 30 | let (children_n, metadata_n) = (try!(values[0].parse::()), try!(values[1].parse::())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day08/common.rs:30:69 [INFO] [stderr] | [INFO] [stderr] 30 | let (children_n, metadata_n) = (try!(values[0].parse::()), try!(values[1].parse::())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day08/common.rs:33:19 [INFO] [stderr] | [INFO] [stderr] 33 | children: try!((0..children_n).map(|_| { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day08/common.rs:34:35 [INFO] [stderr] | [INFO] [stderr] 34 | let (child, offset) = try!(start_parsing(&values[children_offset..])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day08/common.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | metadata: try!((0..metadata_n).map(|i| { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day08/common.rs:39:16 [INFO] [stderr] | [INFO] [stderr] 39 | Ok(try!(values[children_offset + i as usize].parse::())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day08/puzzle1.rs:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | let data = try!(common::get_data(session)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/day08/puzzle2.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | let data = try!(common::get_data(session)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `advent2018` (bin "advent2018" test) generated 45 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.00s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/advent2018-861f2a593e028dd5) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test day01::puzzle1::tests::example1_works ... ok [INFO] [stdout] test day01::puzzle1::tests::example2_works ... ok [INFO] [stdout] test day01::puzzle1::tests::example3_works ... ok [INFO] [stdout] test day01::puzzle2::tests::example1_works ... ok [INFO] [stdout] test day01::puzzle2::tests::example2_works ... ok [INFO] [stdout] test day01::puzzle2::tests::example3_works ... ok [INFO] [stdout] test day01::puzzle2::tests::example4_works ... ok [INFO] [stdout] test day02::puzzle2::tests::example1_works ... ok [INFO] [stdout] test day02::puzzle1::tests::example1_works ... ok [INFO] [stdout] test day08::puzzle1::tests::example1_works ... ok [INFO] [stdout] test day08::puzzle2::tests::example1_works ... ok [INFO] [stdout] test day03::puzzle1::tests::example1_works ... ok [INFO] [stdout] test day03::puzzle2::tests::example1_works ... ok [INFO] [stdout] test day04::puzzle2::tests::example1_works ... ok [INFO] [stdout] test day04::puzzle1::tests::example1_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0f1ce60e2a119973e3f86f1fac4d3eb8ce286c7529312c4ba1f340dfe3994394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f1ce60e2a119973e3f86f1fac4d3eb8ce286c7529312c4ba1f340dfe3994394", kill_on_drop: false }` [INFO] [stdout] 0f1ce60e2a119973e3f86f1fac4d3eb8ce286c7529312c4ba1f340dfe3994394