[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] checking LouisBrunner/advent2018 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLouisBrunner%2Fadvent2018" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LouisBrunner/advent2018 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", 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-14/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" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper v0.12.16 [INFO] [stderr] Downloaded mime v0.3.12 [INFO] [stderr] Downloaded string v0.1.2 [INFO] [stderr] Downloaded security-framework-sys v0.2.1 [INFO] [stderr] Downloaded reqwest v0.9.5 [INFO] [stderr] Downloaded crossbeam-utils v0.6.1 [INFO] [stderr] Downloaded encoding_rs v0.8.13 [INFO] [stderr] Downloaded openssl-sys v0.9.39 [INFO] [stderr] Downloaded h2 v0.1.13 [INFO] [stderr] Downloaded openssl v0.10.15 [INFO] [stderr] Downloaded custom_error v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 486fd56fac891cfd60dc395e4842a70460512d68192e60360b5432ae4eb5a1b4 [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" "486fd56fac891cfd60dc395e4842a70460512d68192e60360b5432ae4eb5a1b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "486fd56fac891cfd60dc395e4842a70460512d68192e60360b5432ae4eb5a1b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "486fd56fac891cfd60dc395e4842a70460512d68192e60360b5432ae4eb5a1b4", kill_on_drop: false }` [INFO] [stdout] 486fd56fac891cfd60dc395e4842a70460512d68192e60360b5432ae4eb5a1b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcfe8f632fa89018dfa0bd727fecc39a89433ca1db4c01981b118e2379748d69 [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" "bcfe8f632fa89018dfa0bd727fecc39a89433ca1db4c01981b118e2379748d69", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling openssl v0.10.15 [INFO] [stderr] Checking custom_error v1.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.39 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking tokio-timer v0.2.8 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking serde_urlencoded v0.5.4 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking rand v0.6.1 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking bytes v0.4.11 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking crossbeam-deque v0.6.2 [INFO] [stderr] Checking tokio-io v0.1.10 [INFO] [stderr] Checking http v0.1.14 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-threadpool v0.1.9 [INFO] [stderr] Checking parking_lot_core v0.3.1 [INFO] [stderr] Checking uuid v0.7.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tokio-fs v0.1.4 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Checking tokio-reactor v0.1.7 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking tokio-uds v0.2.4 [INFO] [stderr] Checking h2 v0.1.13 [INFO] [stderr] Checking tokio v0.1.13 [INFO] [stderr] Checking hyper v0.12.16 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Checking reqwest v0.9.5 [INFO] [stderr] Checking 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: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: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: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: 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: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: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: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] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.61s [INFO] running `Command { std: "docker" "inspect" "bcfe8f632fa89018dfa0bd727fecc39a89433ca1db4c01981b118e2379748d69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcfe8f632fa89018dfa0bd727fecc39a89433ca1db4c01981b118e2379748d69", kill_on_drop: false }` [INFO] [stdout] bcfe8f632fa89018dfa0bd727fecc39a89433ca1db4c01981b118e2379748d69