[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLouisBrunner%2Fadvent2018" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LouisBrunner/advent2018 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-10/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded custom_error v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5e8c6c92fd5132611aa613deae279e13beab7c1d44d3dba4c5a32f2f2ae5ee79 [INFO] running `Command { std: "docker" "start" "-a" "5e8c6c92fd5132611aa613deae279e13beab7c1d44d3dba4c5a32f2f2ae5ee79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e8c6c92fd5132611aa613deae279e13beab7c1d44d3dba4c5a32f2f2ae5ee79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e8c6c92fd5132611aa613deae279e13beab7c1d44d3dba4c5a32f2f2ae5ee79", kill_on_drop: false }` [INFO] [stdout] 5e8c6c92fd5132611aa613deae279e13beab7c1d44d3dba4c5a32f2f2ae5ee79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4405f639c6d2af94ca9033e2bea2b67b9cb37d91a3862e52aa19f3c6820ce64 [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" "b4405f639c6d2af94ca9033e2bea2b67b9cb37d91a3862e52aa19f3c6820ce64", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling openssl v0.10.15 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Checking string v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.13 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking custom_error v1.3.0 [INFO] [stderr] Checking tokio-executor v0.1.5 [INFO] [stderr] Checking arrayvec v0.4.8 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking crossbeam-utils v0.6.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking smallvec v0.6.7 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking crc32fast v1.1.2 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking tokio-current-thread v0.1.4 [INFO] [stderr] Checking tokio-timer v0.2.8 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking libflate v0.1.19 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking crossbeam-deque v0.6.2 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking phf v0.7.23 [INFO] [stderr] Checking mime v0.3.12 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking bytes v0.4.11 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling openssl-sys v0.9.39 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Checking tokio-io v0.1.10 [INFO] [stderr] Checking http v0.1.14 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking uuid v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Checking tokio-threadpool v0.1.9 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tokio-codec v0.1.1 [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-fs v0.1.4 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking tokio-uds v0.2.4 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio v0.1.13 [INFO] [stderr] Checking h2 v0.1.13 [INFO] [stderr] Checking serde_urlencoded v0.5.4 [INFO] [stderr] Checking serde_json v1.0.33 [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: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: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: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: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: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: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 1m 05s [INFO] running `Command { std: "docker" "inspect" "b4405f639c6d2af94ca9033e2bea2b67b9cb37d91a3862e52aa19f3c6820ce64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4405f639c6d2af94ca9033e2bea2b67b9cb37d91a3862e52aa19f3c6820ce64", kill_on_drop: false }` [INFO] [stdout] b4405f639c6d2af94ca9033e2bea2b67b9cb37d91a3862e52aa19f3c6820ce64