[INFO] cloning repository https://github.com/philip98/obsidian_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/philip98/obsidian_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilip98%2Fobsidian_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilip98%2Fobsidian_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b13037d37e81451c29585d7ef29ae1e19464682 [INFO] checking philip98/obsidian_rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilip98%2Fobsidian_rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/philip98/obsidian_rust 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/philip98/obsidian_rust [INFO] finished tweaking git repo https://github.com/philip98/obsidian_rust [INFO] tweaked toml for git repo https://github.com/philip98/obsidian_rust written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/philip98/obsidian_rust 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] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.1.18 [INFO] [stderr] Downloaded httparse v1.3.5 [INFO] [stderr] Downloaded time v0.1.44 [INFO] [stderr] Downloaded wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded cookie v0.2.5 [INFO] [stderr] Downloaded hyper v0.9.18 [INFO] [stderr] Downloaded bcrypt v0.1.6 [INFO] [stderr] Downloaded conduit-mime-types v0.7.3 [INFO] [stderr] Downloaded fallible-iterator v0.1.6 [INFO] [stderr] Downloaded siphasher v0.2.3 [INFO] [stderr] Downloaded phf v0.7.21 [INFO] [stderr] Downloaded chrono v0.2.25 [INFO] [stderr] Downloaded bufstream v0.1.4 [INFO] [stderr] Downloaded postgres v0.13.6 [INFO] [stderr] Downloaded solicit v0.4.4 [INFO] [stderr] Downloaded typeable v0.1.2 [INFO] [stderr] Downloaded num-integer v0.1.44 [INFO] [stderr] Downloaded postgres-protocol v0.2.2 [INFO] [stderr] Downloaded traitobject v0.0.1 [INFO] [stderr] Downloaded num-traits v0.2.14 [INFO] [stderr] Downloaded mime v0.2.6 [INFO] [stderr] Downloaded antidote v1.0.0 [INFO] [stderr] Downloaded num-iter v0.1.42 [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] [stderr] Downloaded error v0.1.9 [INFO] [stderr] Downloaded lazy_static v0.1.16 [INFO] [stderr] Downloaded hex v0.2.0 [INFO] [stderr] Downloaded memchr v1.0.2 [INFO] [stderr] Downloaded typemap v0.3.3 [INFO] [stderr] Downloaded num_cpus v0.2.13 [INFO] [stderr] Downloaded libc v0.2.89 [INFO] [stderr] Downloaded iron-cors v0.4.0 [INFO] [stderr] Downloaded plugin v0.2.6 [INFO] [stderr] Downloaded byteorder v1.4.3 [INFO] [stderr] Downloaded log v0.4.14 [INFO] [stderr] Downloaded traitobject v0.1.0 [INFO] [stderr] Downloaded unsafe-any v0.4.2 [INFO] [stderr] Downloaded tinyvec v1.1.1 [INFO] [stderr] Downloaded unicase v1.4.2 [INFO] [stderr] Downloaded scheduled-thread-pool v0.1.0 [INFO] [stderr] Downloaded phf_shared v0.7.21 [INFO] [stderr] Downloaded postgres-shared v0.1.1 [INFO] [stderr] Downloaded r2d2 v0.7.4 [INFO] [stderr] Downloaded md5 v0.3.8 [INFO] [stderr] Downloaded r2d2_postgres v0.11.1 [INFO] [stderr] Downloaded hpack v0.2.0 [INFO] [stderr] Downloaded modifier v0.1.0 [INFO] [stderr] Downloaded iron v0.4.0 [INFO] [stderr] Downloaded route-recognizer v0.1.13 [INFO] [stderr] Downloaded router v0.4.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.17 [INFO] [stderr] Downloaded cfg-if v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] [stdout] ebbd5fb762c45fd81413527bc411f55b16338f487f3d82fe7bb88ef5e610bed9 [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" "ebbd5fb762c45fd81413527bc411f55b16338f487f3d82fe7bb88ef5e610bed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebbd5fb762c45fd81413527bc411f55b16338f487f3d82fe7bb88ef5e610bed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebbd5fb762c45fd81413527bc411f55b16338f487f3d82fe7bb88ef5e610bed9", kill_on_drop: false }` [INFO] [stdout] ebbd5fb762c45fd81413527bc411f55b16338f487f3d82fe7bb88ef5e610bed9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] bc4cb36f88ab7d2703d992b088cce66d2ee3901b3c8b191c900d6a3ee3b5ee14 [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" "bc4cb36f88ab7d2703d992b088cce66d2ee3901b3c8b191c900d6a3ee3b5ee14", kill_on_drop: false }` [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking traitobject v0.0.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking phf_shared v0.7.21 [INFO] [stderr] Checking error v0.1.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hpack v0.2.0 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking phf v0.7.21 [INFO] [stderr] Checking scheduled-thread-pool v0.1.0 [INFO] [stderr] Checking solicit v0.4.4 [INFO] [stderr] Checking postgres-protocol v0.2.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking r2d2 v0.7.4 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking cookie v0.2.5 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking conduit-mime-types v0.7.3 [INFO] [stderr] Checking hyper v0.9.18 [INFO] [stderr] Checking postgres-shared v0.1.1 [INFO] [stderr] Checking postgres v0.13.6 [INFO] [stderr] Checking iron v0.4.0 [INFO] [stderr] Checking iron-cors v0.4.0 [INFO] [stderr] Checking router v0.4.0 [INFO] [stderr] Checking r2d2_postgres v0.11.1 [INFO] [stderr] Checking bcrypt v0.1.6 [INFO] [stderr] Checking obsidian_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:142:32 [INFO] [stdout] | [INFO] [stdout] 142 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let stmt = try!(conn.prepare_cached(QUERY_BASE_SETS)); [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/models/students.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let rows = try!(stmt.query(&[&(student_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | let stmt = try!(conn.prepare_cached(QUERY_LENDINGS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | let rows = try!(stmt.query(&[&(student_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | Some(try!(Student::find_base_sets(id, conn))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | Some(try!(Student::find_lendings(id, conn))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/students.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | does_not_support!(Aliases, includes); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | let stmt = try!(conn.prepare_cached(QUERY_STUDENT)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | let rows = try!(stmt.query(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | let row = try!(rows.iter().next().ok_or(ObsidianError::RecordNotFound("Student"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | let student = try!(Student::from_db(conn, includes, row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/students.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | does_not_support!(Aliases, includes); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | let stmt = try!(conn.prepare_cached(QUERY_STUDENTS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | let rows = try!(stmt.query(&[&(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | let stmt = try!(conn.prepare_cached(UPDATE_STUDENT)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | let modified = try!(stmt.execute(&[&(id as i32), &self.name, &self.graduation_year, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | let stmt = try!(conn.prepare_cached(INSERT_STUDENT)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | let rows = try!(stmt.query(&[&self.name, &self.graduation_year, &self.class_letter, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | let stmt = try!(conn.prepare_cached(DELETE_STUDENT)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | let modified = try!(stmt.execute(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | let id = try!(d.read_struct_field("id", 0, |d| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | let name = try!(d.read_struct_field("name", 0, |d| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | let class_letter = try!(d.read_struct_field("class_letter", 0, |d| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | let graduation_year = try!(d.read_struct_field("graduation_year", 0, |d| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | let stmt = try!(conn.prepare_cached(QUERY_ALIASES)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | let rows = try!(stmt.query(&[&(id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/books.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | does_not_support!(BaseSetBooks, includes); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/books.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | does_not_support!(LentBooks, includes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | let stmt = try!(conn.prepare_cached(QUERY_BOOK)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | let rows = try!(stmt.query(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | let row = try!(rows.iter().next().ok_or(ObsidianError::RecordNotFound("Book"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let book = try!(Book::from_db(conn, includes, row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/books.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | does_not_support!(BaseSetBooks, includes); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/books.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | does_not_support!(LentBooks, includes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | let stmt = try!(conn.prepare_cached(QUERY_BOOKS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | let rows = try!(stmt.query(&[&(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | let stmt = try!(conn.prepare_cached(UPDATE_BOOK)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let modified = try!(stmt.execute(&[&(id as i32), &self.isbn, &self.title, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | let stmt = try!(conn.prepare_cached(INSERT_BOOK)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let rows = try!(stmt.query(&[&self.isbn, &self.title, &self.form, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | let stmt = try!(conn.prepare_cached(DELETE_BOOK)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let modified = try!(stmt.execute(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | let isbn = try!(d.read_struct_field("isbn", 0, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | let title = try!(d.read_struct_field("title", 1, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | let form = try!(d.read_struct_field("form", 2, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | let id = try!(d.read_struct_field("id", 0, Option::::decode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | let isbn = try!(d.read_struct_field("isbn", 1, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let title = try!(d.read_struct_field("title", 2, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | let form = try!(d.read_struct_field("form", 3, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/aliases.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | does_not_support!(LentBooks, includes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/aliases.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | does_not_support!(BaseSetBooks, includes); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/aliases.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | does_not_support!(Aliases, includes); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | let stmt = try!(conn.prepare_cached(QUERY_ALIASES)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | let rows = try!(stmt.query(&[&(school_id as i32)])) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let stmt = try!(conn.prepare_cached(UPDATE_ALIAS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | let modified = try!(stmt.execute(&[&(id as i32), &(self.book_id as i32), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | try!(Book::find_id(self.book_id, school_id, conn, &HashSet::new())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let stmt = try!(conn.prepare_cached(INSERT_ALIAS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | let rows = try!(stmt.query(&[&(self.book_id as i32), &self.name])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | let stmt = try!(conn.prepare_cached(DELETE_ALIAS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let modified = try!(stmt.execute(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let stmt = try!(conn.prepare_cached(QUERY_LENDINGS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | let rows = try!(stmt.query(&[&(id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/teachers.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | does_not_support!(BaseSetBooks, includes); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/teachers.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | does_not_support!(Aliases, includes); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let stmt = try!(conn.prepare_cached(QUERY_TEACHER)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let rows = try!(stmt.query(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let row = try!(rows.iter().next().ok_or(ObsidianError::RecordNotFound("Teacher"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | let teacher = try!(Teacher::from_db(conn, includes, row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/teachers.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | does_not_support!(BaseSetBooks, includes); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/teachers.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | does_not_support!(Aliases, includes); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | let stmt = try!(conn.prepare_cached(QUERY_TEACHERS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | let rows = try!(stmt.query(&[&(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | let stmt = try!(conn.prepare_cached(UPDATE_TEACHER)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | let modified = try!(stmt.execute(&[&(id as i32), &self.name, &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | let stmt = try!(conn.prepare_cached(INSERT_TEACHER)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | let rows = try!(stmt.query(&[&self.name, &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let stmt = try!(conn.prepare_cached(DELETE_TEACHER)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | let modified = try!(stmt.execute(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | let id = try!(d.read_struct_field("id", 0, Option::::decode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | let name = try!(d.read_struct_field("name", 1, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | try!(Book::find_id(self.book_id, school_id, conn, &HashSet::new())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | try!(Student::find_id(self.book_id, school_id, conn, &HashSet::new())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | let stmt = try!(conn.prepare_cached(INSERT_BASE_SET)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | let rows = try!(stmt.query(&[&(self.student_id as i32), &(self.book_id as i32), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let stmt = try!(conn.prepare_cached(DELETE_BASE_SET)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let modified = try!(stmt.execute(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | try!(s.emit_struct_field("id", 0, |s| self.id.encode(s))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | try!(s.emit_struct_field("student_id", 1, |s| s.emit_usize(self.student_id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | try!(s.emit_struct_field("book_id", 2, |s| s.emit_usize(self.book_id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | try!(s.emit_struct_field("created_at", 3, |s| s.emit_str(&self.created_at.to_rfc3339()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | let student_id = try!(d.read_struct_field("student_id", 0, D::read_usize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | let book_id = try!(d.read_struct_field("book_id", 1, D::read_usize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | let id = try!(d.read_struct_field("id", 0, Option::::decode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | let student_id = try!(d.read_struct_field("student_id", 1, D::read_usize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | let book_id = try!(d.read_struct_field("book_id", 2, D::read_usize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | try!(Student::find_id(id, school_id, conn, &HashSet::new())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | try!(Teacher::find_id(id, school_id, conn, &HashSet::new())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | try!(Book::find_id(self.book_id, school_id, conn, &HashSet::new())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | let stmt = try!(conn.prepare_cached(query)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | let rows = try!(stmt.query(&[&(id as i32), &(self.book_id as i32), &self.created_at])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | let stmt = try!(conn.prepare_cached(DELETE_LENDING)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | let modified = try!(stmt.execute(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | try!(s.emit_struct_field("id", 0, |s| self.id.encode(s))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | try!(s.emit_struct_field("created_at", 1, |s| s.emit_str(&self.created_at.to_rfc3339()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | try!(s.emit_struct_field("person_type", 2, |s| s.emit_str("student"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(s.emit_struct_field("person_id", 3, |s| s.emit_usize(id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | try!(s.emit_struct_field("person_type", 2, |s| s.emit_str("teacher"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | try!(s.emit_struct_field("person_id", 3, |s| s.emit_usize(id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | try!(s.emit_struct_field("book_id", 4, |s| s.emit_usize(self.book_id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | let person_type = try!(d.read_struct_field("person_type", 0, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | Person::Student(try!(d.read_struct_field("person_id", 1, D::read_usize))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | Person::Teacher(try!(d.read_struct_field("person_id", 1, D::read_usize))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | let book_id = try!(d.read_struct_field("book_id", 2, D::read_usize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | let id = try!(d.read_struct_field("id", 0, Option::::decode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | let person_type = try!(d.read_struct_field("person_type", 1, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 119 | Person::Student(try!(d.read_struct_field("person_id", 2, D::read_usize))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | Person::Teacher(try!(d.read_struct_field("person_id", 2, D::read_usize))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | let book_id = try!(d.read_struct_field("book_id", 3, D::read_usize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | let stmt = try!(conn.prepare_cached(QUERY_SCHOOLS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let rows = try!(stmt.query(&[&self.name.to_lowercase()])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let row = try!(rows.iter().next().ok_or(ObsidianError::RecordNotFound("School"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | let encrypted_password = try!(hash(&self.password, DEFAULT_COST)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | let stmt = try!(conn.prepare_cached(INSERT_SCHOOL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | let rows = try!(stmt.query(&[&self.name.to_lowercase(), &encrypted_password])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let stmt = try!(conn.prepare_cached(QUERY_SCHOOL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | let rows = try!(stmt.query(&[&(id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let row = try!(rows.iter().next().ok_or(ObsidianError::RecordNotFound("School"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(if verify(&self.old_password, &row.get::(0)).unwrap_or(false) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | let encrypted_password = try!(hash(&self.new_password, DEFAULT_COST)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let stmt2 = try!(conn.prepare_cached(UPDATE_PASSWORD)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | let modified = try!(stmt2.execute(&[&(id as i32), &encrypted_password])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | let stmt = try!(conn.prepare_cached(UPDATE_NAME)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | let modified = try!(stmt.execute(&[&(id as i32), &self.name])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let stmt = try!(conn.prepare_cached(QUERY_SCHOOL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | let rows = try!(stmt.query(&[&(id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | let row = try!(rows.iter().next().ok_or(ObsidianError::RecordNotFound("School"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | try!(if verify(&self.password, &row.get::(0)).unwrap_or(false) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | let stmt2 = try!(conn.prepare_cached(DELETE_SCHOOL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | let modified = try!(stmt2.execute(&[&(id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | let secret = try!(data.password.clone().ok_or(ObsidianError::from(ReqError::NoAuth))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | let token_id = try!(usize::from_str(&data.username).map_err(|_| ObsidianError::from(ReqError::NoAuth))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | let stmt = try!(conn.prepare_cached(DELETE_TOKENS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(stmt.execute(&[&(now - Duration::days(1))])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | let hashed_secret = try!(hash(&secret, DEFAULT_COST)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let stmt2 = try!(conn.prepare_cached(INSERT_TOKEN)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let rows = try!(stmt2.query(&[&token_id, &hashed_secret, &(id as i32), &now])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let stmt = try!(conn.prepare_cached(DELETE_TOKENS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | try!(stmt.execute(&[&(UTC::now() - Duration::days(1))])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let stmt2 = try!(conn.prepare_cached(QUERY_TOKENS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | let rows = try!(stmt2.query(&[&(self.token_id as u32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let row = try!(rows.iter().next().ok_or(ObsidianError::from(ReqError::NoAuth))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | let stmt = try!(conn.prepare_cached(QUERY_TOKENS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let rows = try!(stmt.query(&[&(self.token_id as u32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | let row = try!(rows.iter().next().ok_or(ObsidianError::from(ReqError::NoAuth))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | try!(if verify(&self.secret, &row.get::(0)).unwrap_or(false) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let stmt2 = try!(conn.prepare_cached(DELETE_TOKEN)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let modified = try!(stmt2.execute(&[&(self.token_id as u32), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let students = try!(Student::find_all(school_id, conn, &includes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/students.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | respond_with!(Ok, students) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let student = try!(Student::find_id(id, school_id, conn, &includes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/students.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | respond_with!(Ok, student) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | let student = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | let student = try!(student.save(Some(id), school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/students.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | respond_with!(Ok, student) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:142:32 [INFO] [stdout] | [INFO] [stdout] 142 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let stmt = try!(conn.prepare_cached(QUERY_BASE_SETS)); [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/models/students.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let rows = try!(stmt.query(&[&(student_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | let stmt = try!(conn.prepare_cached(QUERY_LENDINGS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | let rows = try!(stmt.query(&[&(student_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | Some(try!(Student::find_base_sets(id, conn))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | Some(try!(Student::find_lendings(id, conn))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/students.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | does_not_support!(Aliases, includes); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | let stmt = try!(conn.prepare_cached(QUERY_STUDENT)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | let rows = try!(stmt.query(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | let ser = try!(single(req, school_id, conn).or_else(|_| multiple(req, school_id, conn))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | let row = try!(rows.iter().next().ok_or(ObsidianError::RecordNotFound("Student"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/students.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | respond_with!(Created, ser) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | let student = try!(Student::from_db(conn, includes, row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let student = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | let student = try!(student.save(None, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let ser = try!(serialise(student)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/students.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | does_not_support!(Aliases, includes); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let students = try!(parse::>(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | let stmt = try!(conn.prepare_cached(QUERY_STUDENTS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | let students = try!(students.into_iter() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | let ser = try!(serialise(students)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | let rows = try!(stmt.query(&[&(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | let stmt = try!(conn.prepare_cached(UPDATE_STUDENT)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | try!(Student::delete(id, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let books = try!(Book::find_all(school_id, conn, &includes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | let modified = try!(stmt.execute(&[&(id as i32), &self.name, &self.graduation_year, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | let stmt = try!(conn.prepare_cached(INSERT_STUDENT)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/books.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | respond_with!(Ok, books) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | let rows = try!(stmt.query(&[&self.name, &self.graduation_year, &self.class_letter, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let book = try!(Book::find_id(id, school_id, conn, &includes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | let stmt = try!(conn.prepare_cached(DELETE_STUDENT)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | let modified = try!(stmt.execute(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/books.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | respond_with!(Ok, book) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | let id = try!(d.read_struct_field("id", 0, |d| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | let book = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | let name = try!(d.read_struct_field("name", 0, |d| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | let class_letter = try!(d.read_struct_field("class_letter", 0, |d| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | let book = try!(book.save(Some(id), school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/books.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | respond_with!(Ok, book) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/students.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | let graduation_year = try!(d.read_struct_field("graduation_year", 0, |d| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | let stmt = try!(conn.prepare_cached(QUERY_ALIASES)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | let rows = try!(stmt.query(&[&(id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/books.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | does_not_support!(BaseSetBooks, includes); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/books.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | does_not_support!(LentBooks, includes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | let stmt = try!(conn.prepare_cached(QUERY_BOOK)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | let rows = try!(stmt.query(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | let row = try!(rows.iter().next().ok_or(ObsidianError::RecordNotFound("Book"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let book = try!(Book::from_db(conn, includes, row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/books.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | does_not_support!(BaseSetBooks, includes); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/books.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | does_not_support!(LentBooks, includes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | let stmt = try!(conn.prepare_cached(QUERY_BOOKS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | let rows = try!(stmt.query(&[&(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | let stmt = try!(conn.prepare_cached(UPDATE_BOOK)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let modified = try!(stmt.execute(&[&(id as i32), &self.isbn, &self.title, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | let stmt = try!(conn.prepare_cached(INSERT_BOOK)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let rows = try!(stmt.query(&[&self.isbn, &self.title, &self.form, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | let stmt = try!(conn.prepare_cached(DELETE_BOOK)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let modified = try!(stmt.execute(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | let isbn = try!(d.read_struct_field("isbn", 0, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | let book = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | let book = try!(book.save(None, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/books.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | respond_with!(Created, book) [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | try!(Book::delete(id, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | let aliases = try!(Alias::find_all(school_id, conn, &get_includes(req))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/aliases.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | respond_with!(Ok, aliases) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let alias = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let alias = try!(alias.save(Some(id), school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/aliases.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | respond_with!(Ok, alias) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let alias = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let alias = try!(alias.save(None, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/aliases.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | respond_with!(Created, alias) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | try!(Alias::delete(id, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | let teachers = try!(Teacher::find_all(school_id, conn, &includes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/teachers.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | respond_with!(Ok, teachers) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let teacher = try!(Teacher::find_id(id, school_id, conn, &includes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/teachers.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | respond_with!(Ok, teacher) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | let teacher = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | let teacher = try!(teacher.save(Some(id), school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/teachers.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | respond_with!(Ok, teacher) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | let teacher = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let teacher = try!(teacher.save(None, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/teachers.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | respond_with!(Created, teacher) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | try!(Teacher::delete(id, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let ser = try!(single(req, school_id, conn).or_else(|_| multiple(req, school_id, conn))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/base_sets.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | respond_with!(Created, ser) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let base_set = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | let base_set = try!(base_set.save(None, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | let ser = try!(serialise(base_set)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let base_sets = try!(parse::>(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let base_sets = try!(base_sets [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let ser = try!(serialise(base_sets)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | try!(BaseSet::delete(id, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let ser = try!(single(req, school_id, conn).or_else(|_| multiple(req, school_id, conn))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/lendings.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | respond_with!(Created, ser) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | let title = try!(d.read_struct_field("title", 1, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | let form = try!(d.read_struct_field("form", 2, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | let id = try!(d.read_struct_field("id", 0, Option::::decode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | let isbn = try!(d.read_struct_field("isbn", 1, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let title = try!(d.read_struct_field("title", 2, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/books.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | let form = try!(d.read_struct_field("form", 3, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/aliases.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | does_not_support!(LentBooks, includes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/aliases.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | does_not_support!(BaseSetBooks, includes); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/aliases.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | does_not_support!(Aliases, includes); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | let stmt = try!(conn.prepare_cached(QUERY_ALIASES)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | let rows = try!(stmt.query(&[&(school_id as i32)])) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let stmt = try!(conn.prepare_cached(UPDATE_ALIAS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | let modified = try!(stmt.execute(&[&(id as i32), &(self.book_id as i32), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | try!(Book::find_id(self.book_id, school_id, conn, &HashSet::new())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let stmt = try!(conn.prepare_cached(INSERT_ALIAS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | let rows = try!(stmt.query(&[&(self.book_id as i32), &self.name])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | let stmt = try!(conn.prepare_cached(DELETE_ALIAS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/aliases.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let modified = try!(stmt.execute(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let stmt = try!(conn.prepare_cached(QUERY_LENDINGS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | let rows = try!(stmt.query(&[&(id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/teachers.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | does_not_support!(BaseSetBooks, includes); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/teachers.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | does_not_support!(Aliases, includes); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let stmt = try!(conn.prepare_cached(QUERY_TEACHER)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let rows = try!(stmt.query(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let row = try!(rows.iter().next().ok_or(ObsidianError::RecordNotFound("Teacher"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | let teacher = try!(Teacher::from_db(conn, includes, row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/teachers.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | does_not_support!(BaseSetBooks, includes); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | let lending = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | let lending = try!(lending.save(None, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | let ser = try!(serialise(lending)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | let lendings = try!(parse::>(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | let lendings = try!(lendings [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let ser = try!(serialise(lendings)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | try!(Lending::delete(id, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | try!(password(req, id, conn).or_else(|_| name(req, id, conn))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let pw_change = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | try!(pw_change.perform(id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | let name_change = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | try!(name_change.perform(id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let auth_data = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | let id = try!(auth_data.save(conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let token = try!(AuthToken::new(id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/schools.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | respond_with!(Created, token) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | let deletion = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | try!(deletion.perform(id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/sessions.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/sessions.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | let auth = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/sessions.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | let id = try!(auth.verify(conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/sessions.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let token = try!(AuthToken::new(id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/sessions.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | respond_with!(Created, token) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/mod.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | ($includable:ident, $includes:expr) => (try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/models/teachers.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | does_not_support!(Aliases, includes); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/sessions.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let header = try!(req.headers.get::>().ok_or(ObsidianError::from(ReqError::NoAuth))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | let stmt = try!(conn.prepare_cached(QUERY_TEACHERS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/sessions.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let token = try!(AuthToken::from_header(header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/sessions.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | try!(token.verify_and_delete(conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | let rows = try!(stmt.query(&[&(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | try!(req.headers.get::() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | let stmt = try!(conn.prepare_cached(UPDATE_TEACHER)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | let mgr = try!(PostgresConnectionManager::new(url, TlsMode::None)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | let modified = try!(stmt.execute(&[&(id as i32), &self.name, &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let pool = try!(Pool::new(Config::default(), mgr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | let stmt = try!(conn.prepare_cached(INSERT_TEACHER)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | let conn = try!(self.pool.get().map_err(|err| ObsidianError::from(err))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | let rows = try!(stmt.query(&[&self.name, &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(req.body.read_to_string(&mut buf).map_err(ObsidianError::from)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let stmt = try!(conn.prepare_cached(DELETE_TEACHER)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | let header = try!(req.headers.get::>().ok_or(ObsidianError::from(ReqError::NoAuth))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let token = try!(AuthToken::from_header(header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | let modified = try!(stmt.execute(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | try!(token.verify(conn)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | let id = try!(d.read_struct_field("id", 0, Option::::decode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/teachers.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | let name = try!(d.read_struct_field("name", 1, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | try!(Book::find_id(self.book_id, school_id, conn, &HashSet::new())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | try!(Student::find_id(self.book_id, school_id, conn, &HashSet::new())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | let stmt = try!(conn.prepare_cached(INSERT_BASE_SET)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | let rows = try!(stmt.query(&[&(self.student_id as i32), &(self.book_id as i32), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let stmt = try!(conn.prepare_cached(DELETE_BASE_SET)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let modified = try!(stmt.execute(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | try!(s.emit_struct_field("id", 0, |s| self.id.encode(s))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | try!(s.emit_struct_field("student_id", 1, |s| s.emit_usize(self.student_id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | try!(s.emit_struct_field("book_id", 2, |s| s.emit_usize(self.book_id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | try!(s.emit_struct_field("created_at", 3, |s| s.emit_str(&self.created_at.to_rfc3339()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | let student_id = try!(d.read_struct_field("student_id", 0, D::read_usize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | let book_id = try!(d.read_struct_field("book_id", 1, D::read_usize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | let id = try!(d.read_struct_field("id", 0, Option::::decode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | let student_id = try!(d.read_struct_field("student_id", 1, D::read_usize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/base_sets.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | let book_id = try!(d.read_struct_field("book_id", 2, D::read_usize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | try!(Student::find_id(id, school_id, conn, &HashSet::new())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | try!(Teacher::find_id(id, school_id, conn, &HashSet::new())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | try!(Book::find_id(self.book_id, school_id, conn, &HashSet::new())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | let stmt = try!(conn.prepare_cached(query)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | let rows = try!(stmt.query(&[&(id as i32), &(self.book_id as i32), &self.created_at])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | let stmt = try!(conn.prepare_cached(DELETE_LENDING)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | let modified = try!(stmt.execute(&[&(id as i32), &(school_id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | try!(s.emit_struct_field("id", 0, |s| self.id.encode(s))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | try!(s.emit_struct_field("created_at", 1, |s| s.emit_str(&self.created_at.to_rfc3339()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | try!(s.emit_struct_field("person_type", 2, |s| s.emit_str("student"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(s.emit_struct_field("person_id", 3, |s| s.emit_usize(id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | try!(s.emit_struct_field("person_type", 2, |s| s.emit_str("teacher"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | try!(s.emit_struct_field("person_id", 3, |s| s.emit_usize(id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | try!(s.emit_struct_field("book_id", 4, |s| s.emit_usize(self.book_id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | let person_type = try!(d.read_struct_field("person_type", 0, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | Person::Student(try!(d.read_struct_field("person_id", 1, D::read_usize))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | Person::Teacher(try!(d.read_struct_field("person_id", 1, D::read_usize))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | let book_id = try!(d.read_struct_field("book_id", 2, D::read_usize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | let id = try!(d.read_struct_field("id", 0, Option::::decode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | let person_type = try!(d.read_struct_field("person_type", 1, D::read_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 119 | Person::Student(try!(d.read_struct_field("person_id", 2, D::read_usize))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | Person::Teacher(try!(d.read_struct_field("person_id", 2, D::read_usize))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/lendings.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | let book_id = try!(d.read_struct_field("book_id", 3, D::read_usize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | let stmt = try!(conn.prepare_cached(QUERY_SCHOOLS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let rows = try!(stmt.query(&[&self.name.to_lowercase()])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let row = try!(rows.iter().next().ok_or(ObsidianError::RecordNotFound("School"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | let encrypted_password = try!(hash(&self.password, DEFAULT_COST)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | let stmt = try!(conn.prepare_cached(INSERT_SCHOOL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | let rows = try!(stmt.query(&[&self.name.to_lowercase(), &encrypted_password])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let stmt = try!(conn.prepare_cached(QUERY_SCHOOL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | let rows = try!(stmt.query(&[&(id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let row = try!(rows.iter().next().ok_or(ObsidianError::RecordNotFound("School"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(if verify(&self.old_password, &row.get::(0)).unwrap_or(false) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | let encrypted_password = try!(hash(&self.new_password, DEFAULT_COST)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let stmt2 = try!(conn.prepare_cached(UPDATE_PASSWORD)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | let modified = try!(stmt2.execute(&[&(id as i32), &encrypted_password])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | let stmt = try!(conn.prepare_cached(UPDATE_NAME)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | let modified = try!(stmt.execute(&[&(id as i32), &self.name])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let stmt = try!(conn.prepare_cached(QUERY_SCHOOL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | let rows = try!(stmt.query(&[&(id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | let row = try!(rows.iter().next().ok_or(ObsidianError::RecordNotFound("School"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | try!(if verify(&self.password, &row.get::(0)).unwrap_or(false) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | let stmt2 = try!(conn.prepare_cached(DELETE_SCHOOL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/schools.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | let modified = try!(stmt2.execute(&[&(id as i32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | let secret = try!(data.password.clone().ok_or(ObsidianError::from(ReqError::NoAuth))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | let token_id = try!(usize::from_str(&data.username).map_err(|_| ObsidianError::from(ReqError::NoAuth))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | let stmt = try!(conn.prepare_cached(DELETE_TOKENS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(stmt.execute(&[&(now - Duration::days(1))])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | let hashed_secret = try!(hash(&secret, DEFAULT_COST)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let stmt2 = try!(conn.prepare_cached(INSERT_TOKEN)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let rows = try!(stmt2.query(&[&token_id, &hashed_secret, &(id as i32), &now])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let stmt = try!(conn.prepare_cached(DELETE_TOKENS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | try!(stmt.execute(&[&(UTC::now() - Duration::days(1))])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let stmt2 = try!(conn.prepare_cached(QUERY_TOKENS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | let rows = try!(stmt2.query(&[&(self.token_id as u32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let row = try!(rows.iter().next().ok_or(ObsidianError::from(ReqError::NoAuth))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | let stmt = try!(conn.prepare_cached(QUERY_TOKENS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let rows = try!(stmt.query(&[&(self.token_id as u32)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | let row = try!(rows.iter().next().ok_or(ObsidianError::from(ReqError::NoAuth))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | try!(if verify(&self.secret, &row.get::(0)).unwrap_or(false) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let stmt2 = try!(conn.prepare_cached(DELETE_TOKEN)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models/sessions.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let modified = try!(stmt2.execute(&[&(self.token_id as u32), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let students = try!(Student::find_all(school_id, conn, &includes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/students.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | respond_with!(Ok, students) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let student = try!(Student::find_id(id, school_id, conn, &includes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/students.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | respond_with!(Ok, student) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | let student = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | let student = try!(student.save(Some(id), school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/students.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | respond_with!(Ok, student) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | let ser = try!(single(req, school_id, conn).or_else(|_| multiple(req, school_id, conn))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/students.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | respond_with!(Created, ser) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let student = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | let student = try!(student.save(None, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let ser = try!(serialise(student)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let students = try!(parse::>(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | let students = try!(students.into_iter() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | let ser = try!(serialise(students)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/students.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | try!(Student::delete(id, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let books = try!(Book::find_all(school_id, conn, &includes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/books.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | respond_with!(Ok, books) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let book = try!(Book::find_id(id, school_id, conn, &includes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/books.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | respond_with!(Ok, book) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | let book = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | let book = try!(book.save(Some(id), school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/books.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | respond_with!(Ok, book) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | let book = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | let book = try!(book.save(None, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/books.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | respond_with!(Created, book) [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/books.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | try!(Book::delete(id, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | let aliases = try!(Alias::find_all(school_id, conn, &get_includes(req))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/aliases.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | respond_with!(Ok, aliases) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let alias = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let alias = try!(alias.save(Some(id), school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/aliases.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | respond_with!(Ok, alias) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let alias = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let alias = try!(alias.save(None, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/aliases.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | respond_with!(Created, alias) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/aliases.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | try!(Alias::delete(id, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | let teachers = try!(Teacher::find_all(school_id, conn, &includes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/teachers.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | respond_with!(Ok, teachers) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let teacher = try!(Teacher::find_id(id, school_id, conn, &includes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/teachers.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | respond_with!(Ok, teacher) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | let teacher = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | let teacher = try!(teacher.save(Some(id), school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/teachers.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | respond_with!(Ok, teacher) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | let teacher = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let teacher = try!(teacher.save(None, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/teachers.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | respond_with!(Created, teacher) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/teachers.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | try!(Teacher::delete(id, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let ser = try!(single(req, school_id, conn).or_else(|_| multiple(req, school_id, conn))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/base_sets.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | respond_with!(Created, ser) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let base_set = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | let base_set = try!(base_set.save(None, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | let ser = try!(serialise(base_set)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let base_sets = try!(parse::>(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let base_sets = try!(base_sets [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let ser = try!(serialise(base_sets)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/base_sets.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | try!(BaseSet::delete(id, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let ser = try!(single(req, school_id, conn).or_else(|_| multiple(req, school_id, conn))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/lendings.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | respond_with!(Created, ser) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | let lending = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | let lending = try!(lending.save(None, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | let ser = try!(serialise(lending)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | let lendings = try!(parse::>(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | let lendings = try!(lendings [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let ser = try!(serialise(lendings)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | let id = try!(get_id(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/lendings.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | try!(Lending::delete(id, school_id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | try!(password(req, id, conn).or_else(|_| name(req, id, conn))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let pw_change = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | try!(pw_change.perform(id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | let name_change = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | try!(name_change.perform(id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let auth_data = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | let id = try!(auth_data.save(conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let token = try!(AuthToken::new(id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/schools.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | respond_with!(Created, token) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | let deletion = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/schools.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | try!(deletion.perform(id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/sessions.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | try!(check_content_type(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/sessions.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | let auth = try!(parse::(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/sessions.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | let id = try!(auth.verify(conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/sessions.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let token = try!(AuthToken::new(id, conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let ser = try!($crate::handlers::serialise($body)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/sessions.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | respond_with!(Created, token) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/sessions.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let header = try!(req.headers.get::>().ok_or(ObsidianError::from(ReqError::NoAuth))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/sessions.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let token = try!(AuthToken::from_header(header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/sessions.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | try!(token.verify_and_delete(conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handlers/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | try!(req.headers.get::() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | let mgr = try!(PostgresConnectionManager::new(url, TlsMode::None)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let pool = try!(Pool::new(Config::default(), mgr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | let conn = try!(self.pool.get().map_err(|err| ObsidianError::from(err))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(req.body.read_to_string(&mut buf).map_err(ObsidianError::from)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | let header = try!(req.headers.get::>().ok_or(ObsidianError::from(ReqError::NoAuth))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let token = try!(AuthToken::from_header(header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | try!(token.verify(conn)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/handlers/mod.rs:71:53 [INFO] [stdout] | [INFO] [stdout] 71 | Some(Includable::parse_str(item.trim_left_matches("include="))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/handlers/mod.rs:71:53 [INFO] [stdout] | [INFO] [stdout] 71 | Some(Includable::parse_str(item.trim_left_matches("include="))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 278 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 278 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.65s [INFO] running `Command { std: "docker" "inspect" "bc4cb36f88ab7d2703d992b088cce66d2ee3901b3c8b191c900d6a3ee3b5ee14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc4cb36f88ab7d2703d992b088cce66d2ee3901b3c8b191c900d6a3ee3b5ee14", kill_on_drop: false }` [INFO] [stdout] bc4cb36f88ab7d2703d992b088cce66d2ee3901b3c8b191c900d6a3ee3b5ee14