[INFO] cloning repository https://github.com/chongyi/inspirer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chongyi/inspirer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchongyi%2Finspirer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchongyi%2Finspirer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1a299e50b541fa1750065dd9af5a6bcc0202b29 [INFO] checking chongyi/inspirer-rs against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchongyi%2Finspirer-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chongyi/inspirer-rs on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chongyi/inspirer-rs [INFO] finished tweaking git repo https://github.com/chongyi/inspirer-rs [INFO] tweaked toml for git repo https://github.com/chongyi/inspirer-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/chongyi/inspirer-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a5d15288604fd3359d34fe13eb278ee0e73821653c934d75483961bb2d1b4029 [INFO] running `Command { std: "docker" "start" "-a" "a5d15288604fd3359d34fe13eb278ee0e73821653c934d75483961bb2d1b4029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5d15288604fd3359d34fe13eb278ee0e73821653c934d75483961bb2d1b4029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d15288604fd3359d34fe13eb278ee0e73821653c934d75483961bb2d1b4029", kill_on_drop: false }` [INFO] [stdout] a5d15288604fd3359d34fe13eb278ee0e73821653c934d75483961bb2d1b4029 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23aa38198377097ddd592fb3162914057d60dbd99fa36fae6e3f3abb357f6d85 [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" "23aa38198377097ddd592fb3162914057d60dbd99fa36fae6e3f3abb357f6d85", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling ident_case v1.0.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Checking arc-swap v0.3.7 [INFO] [stderr] Checking linked-hash-map v0.4.2 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.14 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Compiling derive_builder v0.7.0 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Checking string v0.1.2 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking askama_escape v0.1.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking typed-arena v1.4.1 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking crossbeam-utils v0.6.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling actix-web v0.7.17 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Checking tower-service v0.1.0 [INFO] [stderr] Checking base64 v0.10.0 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Compiling mysqlclient-sys v0.2.3 [INFO] [stderr] Checking lru-cache v0.1.1 [INFO] [stderr] Compiling pest v2.1.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking tokio-executor v0.1.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking r2d2 v0.8.3 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Checking unic-segment v0.7.0 [INFO] [stderr] Checking tokio-timer v0.2.8 [INFO] [stderr] Checking tokio-current-thread v0.1.4 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking mime v0.3.12 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking crossbeam-epoch v0.7.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking socket2 v0.3.8 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking signal-hook v0.1.7 [INFO] [stderr] Checking rand v0.4.5 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.13.2 [INFO] [stderr] Compiling syn v0.15.24 [INFO] [stderr] Compiling pest_meta v2.1.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking bytes v0.4.11 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking resolv-conf v0.6.2 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking tokio-io v0.1.11 [INFO] [stderr] Checking http v0.1.14 [INFO] [stderr] Checking uuid v0.7.1 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking flate2 v1.0.6 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking tokio-reactor v0.1.8 [INFO] [stderr] Checking crossbeam-channel v0.3.6 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-signal v0.2.7 [INFO] [stderr] Checking serde_json v1.0.34 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking serde_urlencoded v0.5.4 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking tokio-threadpool v0.1.10 [INFO] [stderr] Checking h2 v0.1.14 [INFO] [stderr] Checking cookie v0.11.0 [INFO] [stderr] Checking tokio-fs v0.1.5 [INFO] [stderr] Checking pwhash v0.2.0 [INFO] [stderr] Checking tokio v0.1.14 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking comrak v0.2.14 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling darling_core v0.8.1 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Checking diesel v1.3.3 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Checking tera v0.11.20 [INFO] [stderr] Compiling darling_macro v0.8.1 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking trust-dns-proto v0.6.1 [INFO] [stderr] Checking trust-dns-proto v0.5.0 [INFO] [stderr] Checking quick-xml v0.13.1 [INFO] [stderr] Checking dotenv v0.13.0 [INFO] [stderr] Compiling darling v0.8.1 [INFO] [stderr] Compiling derive_builder_core v0.4.0 [INFO] [stderr] Checking trust-dns-resolver v0.10.2 [INFO] [stderr] Checking actix v0.7.9 [INFO] [stderr] Checking rss v1.6.1 [INFO] [stderr] Checking actix-net v0.2.6 [INFO] [stderr] Checking inspirer v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `diesel` [INFO] [stdout] --> src/database.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use diesel; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `last_insert_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/expression/functions/mod.rs:634:38 [INFO] [stdout] | [INFO] [stdout] 634 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `last_insert_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/expression/functions/mod.rs:634:38 [INFO] [stdout] | [INFO] [stdout] 634 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/models/category.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use error::{Error, database::map_database_error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `CategoryBase` in this scope [INFO] [stdout] --> src/models/category.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `categories` in this scope [INFO] [stdout] --> src/models/category.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NewCategory` in this scope [INFO] [stdout] --> src/models/category.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/category.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `CategoryDisplay` in this scope [INFO] [stdout] --> src/models/category.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/category.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `CategoryFullDisplay` in this scope [INFO] [stdout] --> src/models/category.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `UpdateCategory` in this scope [INFO] [stdout] --> src/models/category.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 201 | #[derive(AsChangeset, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `categories` in this scope [INFO] [stdout] --> src/models/category.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 201 | #[derive(AsChangeset, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateByID` [INFO] [stdout] --> src/models/content.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use message::{PaginatedListMessage, Pagination, UpdateByID}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/models/content.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use error::{Error, database::map_database_error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `contents` in this scope [INFO] [stdout] --> src/models/content.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NewContent` in this scope [INFO] [stdout] --> src/models/content.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/content.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `UpdateContent` in this scope [INFO] [stdout] --> src/models/content.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Deserialize, AsChangeset, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `contents` in this scope [INFO] [stdout] --> src/models/content.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Deserialize, AsChangeset, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/content.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Deserialize, AsChangeset, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/content.rs:46:48 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `ContentDisplay` in this scope [INFO] [stdout] --> src/models/content.rs:46:48 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/content.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `ContentFullDisplay` in this scope [INFO] [stdout] --> src/models/content.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateByID` [INFO] [stdout] --> src/models/push_message.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use message::{PaginatedListMessage, Pagination, UpdateByID}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/models/push_message.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use error::{Error, database::map_database_error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `push_messages` in this scope [INFO] [stdout] --> src/models/push_message.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NewPushMessage` in this scope [INFO] [stdout] --> src/models/push_message.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `UpdatePushMessage` in this scope [INFO] [stdout] --> src/models/push_message.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize, AsChangeset, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `push_messages` in this scope [INFO] [stdout] --> src/models/push_message.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize, AsChangeset, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/push_message.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `PushMessageDisplay` in this scope [INFO] [stdout] --> src/models/push_message.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> src/models/subject.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Handler`, `Message` [INFO] [stdout] --> src/models/subject.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::{Message, Handler}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DatabaseExecutor` [INFO] [stdout] --> src/models/subject.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use database::{DatabaseExecutor, Conn, last_insert_id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateByID` [INFO] [stdout] --> src/models/subject.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | use message::{PaginatedListMessage, Pagination, UpdateByID}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schema::subject_relates` [INFO] [stdout] --> src/models/subject.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use schema::subject_relates; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `subjects` in this scope [INFO] [stdout] --> src/models/subject.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NewSubject` in this scope [INFO] [stdout] --> src/models/subject.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `UpdateSubject` in this scope [INFO] [stdout] --> src/models/subject.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Deserialize, AsChangeset, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `subjects` in this scope [INFO] [stdout] --> src/models/subject.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Deserialize, AsChangeset, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/subject.rs:38:48 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `SubjectDisplay` in this scope [INFO] [stdout] --> src/models/subject.rs:38:48 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `SubjectRelateBaseInfo` in this scope [INFO] [stdout] --> src/models/subject.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/subject.rs:72:48 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `SubjectRelateInfo` in this scope [INFO] [stdout] --> src/models/subject.rs:72:48 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::dsl::exists` [INFO] [stdout] --> src/models/recommend.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::dsl::exists; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PaginatedListMessage`, `Pagination`, `UpdateByID` [INFO] [stdout] --> src/models/recommend.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use message::{PaginatedListMessage, Pagination, UpdateByID}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/models/recommend.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use error::{Error, database::map_database_error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/recommend.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Debug, Clone, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `RecommendContentDisplay` in this scope [INFO] [stdout] --> src/models/recommend.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Debug, Clone, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `recommend_contents` in this scope [INFO] [stdout] --> src/models/recommend.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NewRecommendContent` in this scope [INFO] [stdout] --> src/models/recommend.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:751:42 [INFO] [stdout] | [INFO] [stdout] 751 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `display_name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `keywords` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `description` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `sort` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `created_at` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `updated_at` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `title` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `category_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `as_page` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `content_type` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `content` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `display` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `published_at` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `modified_at` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `content_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `source` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `summary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `subject_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/error/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tera` [INFO] [stdout] --> src/error/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use tera::{Context, Tera}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `message::ErrorMessage` [INFO] [stdout] --> src/error/database.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use message::ErrorMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | cause: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Debug + Send + Sync + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `err as FutErr`, `ok as FutOk` [INFO] [stdout] --> src/controllers/blog/index.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{Future, ok as FutOk, err as FutErr}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ok as FutOk` [INFO] [stdout] --> src/controllers/blog/content.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::future::{Future, ok as FutOk, err as FutErr}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `err as FutErr`, `ok as FutOk` [INFO] [stdout] --> src/controllers/blog/push_message.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{Future, ok as FutOk, err as FutErr}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error as ActixError` [INFO] [stdout] --> src/controllers/blog/push_message.rs:5:84 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{HttpRequest, HttpResponse, Responder, AsyncResponder, HttpMessage, error::Error as ActixError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::http` [INFO] [stdout] --> src/controllers/blog/rss.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::http; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/controllers/blog/rss.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncResponder`, `HttpMessage`, `HttpResponse` [INFO] [stdout] --> src/controllers/admin/content.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{HttpRequest, HttpResponse, AsyncResponder, Responder, HttpMessage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `models::content` [INFO] [stdout] --> src/controllers/admin/content.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use models::content; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request`, `ToEnvelope` [INFO] [stdout] --> src/state.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use actix::dev::{Request, ToEnvelope}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel` [INFO] [stdout] --> src/database.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use diesel; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `last_insert_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/expression/functions/mod.rs:634:38 [INFO] [stdout] | [INFO] [stdout] 634 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `last_insert_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/expression/functions/mod.rs:634:38 [INFO] [stdout] | [INFO] [stdout] 634 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/models/category.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use error::{Error, database::map_database_error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `CategoryBase` in this scope [INFO] [stdout] --> src/models/category.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `categories` in this scope [INFO] [stdout] --> src/models/category.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NewCategory` in this scope [INFO] [stdout] --> src/models/category.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/category.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `CategoryDisplay` in this scope [INFO] [stdout] --> src/models/category.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/category.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `CategoryFullDisplay` in this scope [INFO] [stdout] --> src/models/category.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `UpdateCategory` in this scope [INFO] [stdout] --> src/models/category.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 201 | #[derive(AsChangeset, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `categories` in this scope [INFO] [stdout] --> src/models/category.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 201 | #[derive(AsChangeset, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateByID` [INFO] [stdout] --> src/models/content.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use message::{PaginatedListMessage, Pagination, UpdateByID}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/models/content.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use error::{Error, database::map_database_error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `contents` in this scope [INFO] [stdout] --> src/models/content.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NewContent` in this scope [INFO] [stdout] --> src/models/content.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/content.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `UpdateContent` in this scope [INFO] [stdout] --> src/models/content.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Deserialize, AsChangeset, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `contents` in this scope [INFO] [stdout] --> src/models/content.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Deserialize, AsChangeset, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/content.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Deserialize, AsChangeset, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/content.rs:46:48 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `ContentDisplay` in this scope [INFO] [stdout] --> src/models/content.rs:46:48 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/content.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `ContentFullDisplay` in this scope [INFO] [stdout] --> src/models/content.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateByID` [INFO] [stdout] --> src/models/push_message.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use message::{PaginatedListMessage, Pagination, UpdateByID}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/models/push_message.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use error::{Error, database::map_database_error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `push_messages` in this scope [INFO] [stdout] --> src/models/push_message.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NewPushMessage` in this scope [INFO] [stdout] --> src/models/push_message.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `UpdatePushMessage` in this scope [INFO] [stdout] --> src/models/push_message.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize, AsChangeset, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `push_messages` in this scope [INFO] [stdout] --> src/models/push_message.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize, AsChangeset, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/push_message.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `PushMessageDisplay` in this scope [INFO] [stdout] --> src/models/push_message.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> src/models/subject.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Handler`, `Message` [INFO] [stdout] --> src/models/subject.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::{Message, Handler}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DatabaseExecutor` [INFO] [stdout] --> src/models/subject.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use database::{DatabaseExecutor, Conn, last_insert_id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateByID` [INFO] [stdout] --> src/models/subject.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | use message::{PaginatedListMessage, Pagination, UpdateByID}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schema::subject_relates` [INFO] [stdout] --> src/models/subject.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use schema::subject_relates; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `subjects` in this scope [INFO] [stdout] --> src/models/subject.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NewSubject` in this scope [INFO] [stdout] --> src/models/subject.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `UpdateSubject` in this scope [INFO] [stdout] --> src/models/subject.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Deserialize, AsChangeset, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `subjects` in this scope [INFO] [stdout] --> src/models/subject.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Deserialize, AsChangeset, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/subject.rs:38:48 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `SubjectDisplay` in this scope [INFO] [stdout] --> src/models/subject.rs:38:48 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `SubjectRelateBaseInfo` in this scope [INFO] [stdout] --> src/models/subject.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/subject.rs:72:48 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `SubjectRelateInfo` in this scope [INFO] [stdout] --> src/models/subject.rs:72:48 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, Clone, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::dsl::exists` [INFO] [stdout] --> src/models/recommend.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::dsl::exists; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PaginatedListMessage`, `Pagination`, `UpdateByID` [INFO] [stdout] --> src/models/recommend.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use message::{PaginatedListMessage, Pagination, UpdateByID}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/models/recommend.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use error::{Error, database::map_database_error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stdout] --> src/models/recommend.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Debug, Clone, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `RecommendContentDisplay` in this scope [INFO] [stdout] --> src/models/recommend.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Debug, Clone, Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `recommend_contents` in this scope [INFO] [stdout] --> src/models/recommend.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NewRecommendContent` in this scope [INFO] [stdout] --> src/models/recommend.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Deserialize, Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:751:42 [INFO] [stdout] | [INFO] [stdout] 751 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `display_name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `keywords` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `description` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `sort` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `created_at` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `updated_at` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `title` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `category_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `as_page` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `content_type` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `content` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `display` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `published_at` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `modified_at` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `content_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `source` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `summary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `subject_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/error/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tera` [INFO] [stdout] --> src/error/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use tera::{Context, Tera}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `message::ErrorMessage` [INFO] [stdout] --> src/error/database.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use message::ErrorMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | cause: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Debug + Send + Sync + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `err as FutErr`, `ok as FutOk` [INFO] [stdout] --> src/controllers/blog/index.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{Future, ok as FutOk, err as FutErr}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ok as FutOk` [INFO] [stdout] --> src/controllers/blog/content.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::future::{Future, ok as FutOk, err as FutErr}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `err as FutErr`, `ok as FutOk` [INFO] [stdout] --> src/controllers/blog/push_message.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{Future, ok as FutOk, err as FutErr}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error as ActixError` [INFO] [stdout] --> src/controllers/blog/push_message.rs:5:84 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{HttpRequest, HttpResponse, Responder, AsyncResponder, HttpMessage, error::Error as ActixError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::http` [INFO] [stdout] --> src/controllers/blog/rss.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::http; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/controllers/blog/rss.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncResponder`, `HttpMessage`, `HttpResponse` [INFO] [stdout] --> src/controllers/admin/content.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{HttpRequest, HttpResponse, AsyncResponder, Responder, HttpMessage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `models::content` [INFO] [stdout] --> src/controllers/admin/content.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use models::content; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / lazy_static! { [INFO] [stdout] 38 | | pub static ref TEMPLATES: Tera = { [INFO] [stdout] 39 | | let mut tera = compile_templates!("res/templates/**/*"); [INFO] [stdout] 40 | | tera.autoescape_on(vec!["html", ".sql"]); [INFO] [stdout] 41 | | tera [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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: unused import: `std::rc::Rc` [INFO] [stdout] --> src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request`, `ToEnvelope` [INFO] [stdout] --> src/state.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use actix::dev::{Request, ToEnvelope}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / lazy_static! { [INFO] [stdout] 38 | | pub static ref TEMPLATES: Tera = { [INFO] [stdout] 39 | | let mut tera = compile_templates!("res/templates/**/*"); [INFO] [stdout] 40 | | tera.autoescape_on(vec!["html", ".sql"]); [INFO] [stdout] 41 | | tera [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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 associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/index.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | context.add("contents", &list); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/index.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | context.add("pushes", &pushes); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/index.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | context.add("recommends", &recommends); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/content.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | context.add("contents", &pagination.list); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/content.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | context.add("pages", &pages); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/content.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | context.add("current", &pagination.page); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/content.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | context.add("content", &data); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/content.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | context.add("__sub_title", &data.title); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/index.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | context.add("contents", &list); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/index.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | context.add("pushes", &pushes); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/index.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | context.add("recommends", &recommends); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/content.rs:216:37 [INFO] [stdout] | [INFO] [stdout] 216 | ... context.add("content", &data); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/content.rs:217:37 [INFO] [stdout] | [INFO] [stdout] 217 | ... context.add("__sub_title", &data.title); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/push_message.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | context.add("pushes", &pagination.list); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/push_message.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | context.add("pages", &pages); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/push_message.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | context.add("current", &pagination.page); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/content.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | context.add("contents", &pagination.list); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/content.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | context.add("pages", &pages); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/content.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | context.add("current", &pagination.page); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/lib.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | context.add("__site_setting", &setting); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/content.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | context.add("content", &data); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/content.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | context.add("__sub_title", &data.title); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/content.rs:216:37 [INFO] [stdout] | [INFO] [stdout] 216 | ... context.add("content", &data); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/content.rs:217:37 [INFO] [stdout] | [INFO] [stdout] 217 | ... context.add("__sub_title", &data.title); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/push_message.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | context.add("pushes", &pagination.list); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/push_message.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | context.add("pages", &pages); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/controllers/blog/push_message.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | context.add("current", &pagination.page); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/lib.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | context.add("__site_setting", &setting); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/error/mod.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | context.add("error", &self.0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/error/mod.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | context.add("status", &self.0.status.as_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/controllers/blog/index.rs:5:71 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{HttpRequest, HttpResponse, Responder, AsyncResponder, HttpMessage}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/controllers/blog/content.rs:8:71 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_web::{HttpRequest, HttpResponse, Responder, AsyncResponder, HttpMessage, error::Error as ActixError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/controllers/blog/push_message.rs:5:71 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{HttpRequest, HttpResponse, Responder, AsyncResponder, HttpMessage, error::Error as ActixError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/controllers/blog/rss.rs:2:71 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{HttpRequest, HttpResponse, AsyncResponder, Responder, HttpMessage}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cname` [INFO] [stdout] --> src/models/content.rs:225:52 [INFO] [stdout] | [INFO] [stdout] 225 | ... FindCategory::Name(cname) => panic!("Unsupport search condition"), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cname` [INFO] [stdout] --> src/models/content.rs:225:52 [INFO] [stdout] | [INFO] [stdout] 225 | ... FindCategory::Name(cname) => panic!("Unsupport search condition"), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> src/models/subject.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get_list(connection: &Conn) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/controllers/blog/index.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | Err(e) => "Render error".into() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/controllers/blog/content.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | Err(e) => "Render error".into() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/controllers/blog/content.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 221 | ... Err(e) => "Render error".into() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_ref` [INFO] [stdout] --> src/controllers/admin/content.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let req_ref = Rc::new(req); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/error/mod.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | context.add("error", &self.0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/error/mod.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | context.add("status", &self.0.status.as_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/controllers/blog/index.rs:5:71 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{HttpRequest, HttpResponse, Responder, AsyncResponder, HttpMessage}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/controllers/blog/content.rs:8:71 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_web::{HttpRequest, HttpResponse, Responder, AsyncResponder, HttpMessage, error::Error as ActixError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/controllers/blog/push_message.rs:5:71 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{HttpRequest, HttpResponse, Responder, AsyncResponder, HttpMessage, error::Error as ActixError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/controllers/blog/rss.rs:2:71 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{HttpRequest, HttpResponse, AsyncResponder, Responder, HttpMessage}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cname` [INFO] [stdout] --> src/models/content.rs:225:52 [INFO] [stdout] | [INFO] [stdout] 225 | ... FindCategory::Name(cname) => panic!("Unsupport search condition"), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cname` [INFO] [stdout] --> src/models/content.rs:225:52 [INFO] [stdout] | [INFO] [stdout] 225 | ... FindCategory::Name(cname) => panic!("Unsupport search condition"), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> src/models/subject.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get_list(connection: &Conn) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/controllers/blog/index.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | Err(e) => "Render error".into() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/controllers/blog/content.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | Err(e) => "Render error".into() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/controllers/blog/content.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 221 | ... Err(e) => "Render error".into() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_ref` [INFO] [stdout] --> src/controllers/admin/content.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let req_ref = Rc::new(req); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exists` [INFO] [stdout] --> src/models/category.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn exists(connection: &Conn, category: String) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/models/content.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn create(connection: &Conn, data: NewContent) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/models/content.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn delete(connection: &Conn, target: u32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `publish` [INFO] [stdout] --> src/models/content.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn publish(connection: &Conn, target: u32) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unpublish` [INFO] [stdout] --> src/models/content.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn unpublish(connection: &Conn, target: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/models/content.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn update(connection: &Conn, target: u32, data: UpdateContent) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CreateContent` [INFO] [stdout] --> src/models/content.rs:305:12 [INFO] [stdout] | [INFO] [stdout] 305 | pub struct CreateContent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/models/push_message.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create(connection: &Conn, data: NewPushMessage) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/models/push_message.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn update(connection: &Conn, target: u32, data: UpdatePushMessage) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/models/push_message.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn delete(connection: &Conn, target: u32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Subject` [INFO] [stdout] --> src/models/subject.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Subject; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SubjectRelate` [INFO] [stdout] --> src/models/subject.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct SubjectRelate { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CreateSubject` [INFO] [stdout] --> src/models/subject.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct CreateSubject { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/models/subject.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn create(connection: &Conn, create: CreateSubject) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sync_relates` [INFO] [stdout] --> src/models/subject.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn sync_relates(connection: &Conn, target: u32, sync: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_by_id` [INFO] [stdout] --> src/models/subject.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn find_by_id(connection: &Conn, target: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_by_name` [INFO] [stdout] --> src/models/subject.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn find_by_name(connection: &Conn, target: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/models/subject.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn update(connection: &Conn, target: u32, update: UpdateSubject) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/models/subject.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn delete(connection: &Conn, target: u32) -> Result<(usize, usize)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_list` [INFO] [stdout] --> src/models/subject.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get_list(connection: &Conn) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_relate_list` [INFO] [stdout] --> src/models/subject.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn get_relate_list(connection: &Conn, paginated: Pagination) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_relate_base_info_list` [INFO] [stdout] --> src/models/subject.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn get_relate_base_info_list(connection: &Conn, target: u32, display: bool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/models/recommend.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn push(connection: &Conn, origin_id: u32, summary: Option) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/models/recommend.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn create(connection: &Conn, data: NewRecommendContent) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create` [INFO] [stdout] --> src/controllers/admin/content.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn create(req: HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 142 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exists` [INFO] [stdout] --> src/models/category.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn exists(connection: &Conn, category: String) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/models/content.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn create(connection: &Conn, data: NewContent) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/models/content.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn delete(connection: &Conn, target: u32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `publish` [INFO] [stdout] --> src/models/content.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn publish(connection: &Conn, target: u32) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unpublish` [INFO] [stdout] --> src/models/content.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn unpublish(connection: &Conn, target: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/models/content.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn update(connection: &Conn, target: u32, data: UpdateContent) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CreateContent` [INFO] [stdout] --> src/models/content.rs:305:12 [INFO] [stdout] | [INFO] [stdout] 305 | pub struct CreateContent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/models/push_message.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create(connection: &Conn, data: NewPushMessage) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/models/push_message.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn update(connection: &Conn, target: u32, data: UpdatePushMessage) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/models/push_message.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn delete(connection: &Conn, target: u32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Subject` [INFO] [stdout] --> src/models/subject.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Subject; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SubjectRelate` [INFO] [stdout] --> src/models/subject.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct SubjectRelate { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CreateSubject` [INFO] [stdout] --> src/models/subject.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct CreateSubject { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/models/subject.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn create(connection: &Conn, create: CreateSubject) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sync_relates` [INFO] [stdout] --> src/models/subject.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn sync_relates(connection: &Conn, target: u32, sync: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_by_id` [INFO] [stdout] --> src/models/subject.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn find_by_id(connection: &Conn, target: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_by_name` [INFO] [stdout] --> src/models/subject.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn find_by_name(connection: &Conn, target: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/models/subject.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn update(connection: &Conn, target: u32, update: UpdateSubject) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/models/subject.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn delete(connection: &Conn, target: u32) -> Result<(usize, usize)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_list` [INFO] [stdout] --> src/models/subject.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get_list(connection: &Conn) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_relate_list` [INFO] [stdout] --> src/models/subject.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn get_relate_list(connection: &Conn, paginated: Pagination) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_relate_base_info_list` [INFO] [stdout] --> src/models/subject.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn get_relate_base_info_list(connection: &Conn, target: u32, display: bool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/models/recommend.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn push(connection: &Conn, origin_id: u32, summary: Option) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/models/recommend.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn create(connection: &Conn, data: NewRecommendContent) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create` [INFO] [stdout] --> src/controllers/admin/content.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn create(req: HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 142 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/inspirer.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | dotenv::dotenv(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/inspirer.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | dotenv::dotenv(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 57s [INFO] running `Command { std: "docker" "inspect" "23aa38198377097ddd592fb3162914057d60dbd99fa36fae6e3f3abb357f6d85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23aa38198377097ddd592fb3162914057d60dbd99fa36fae6e3f3abb357f6d85", kill_on_drop: false }` [INFO] [stdout] 23aa38198377097ddd592fb3162914057d60dbd99fa36fae6e3f3abb357f6d85