[INFO] cloning repository https://github.com/maghoff/sausagewiki [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maghoff/sausagewiki" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaghoff%2Fsausagewiki", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaghoff%2Fsausagewiki'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f675896054fd1cc77a31615517d4571176f6613c [INFO] checking maghoff/sausagewiki against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaghoff%2Fsausagewiki" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maghoff/sausagewiki on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maghoff/sausagewiki [INFO] finished tweaking git repo https://github.com/maghoff/sausagewiki [INFO] tweaked toml for git repo https://github.com/maghoff/sausagewiki written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/maghoff/sausagewiki already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/maghoff/pulldown-cmark.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byte-tools v0.2.0 [INFO] [stderr] Downloaded typenum v1.13.0 [INFO] [stderr] Downloaded base64 v0.6.0 [INFO] [stderr] Downloaded digest v0.6.2 [INFO] [stderr] Downloaded safemem v0.2.0 [INFO] [stderr] Downloaded serde_derive v1.0.125 [INFO] [stderr] Downloaded proc-macro2 v1.0.26 [INFO] [stderr] Downloaded crossbeam-deque v0.7.3 [INFO] [stderr] Downloaded diesel_derives v1.4.1 [INFO] [stderr] Downloaded r2d2-diesel v1.0.0 [INFO] [stderr] Downloaded regex-syntax v0.5.6 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.5 [INFO] [stderr] Downloaded diesel v1.4.6 [INFO] [stderr] Downloaded proc-macro-hack-impl v0.4.3 [INFO] [stderr] Downloaded tinyvec v1.2.0 [INFO] [stderr] Downloaded time v0.1.44 [INFO] [stderr] Downloaded serde_plain v0.3.0 [INFO] [stderr] Downloaded try-lock v0.1.0 [INFO] [stderr] Downloaded url v1.7.2 [INFO] [stderr] Downloaded diesel_migrations v1.4.0 [INFO] [stderr] Downloaded indoc-impl v0.2.8 [INFO] [stderr] Downloaded diff v0.1.12 [INFO] [stderr] Downloaded relay v0.1.1 [INFO] [stderr] Downloaded want v0.0.4 [INFO] [stderr] Downloaded infer_schema_macros v1.4.0 [INFO] [stderr] Downloaded migrations_internals v1.4.1 [INFO] [stderr] Downloaded slab v0.4.3 [INFO] [stderr] Downloaded httparse v1.4.0 [INFO] [stderr] Downloaded tokio-codec v0.1.2 [INFO] [stderr] Downloaded r2d2 v0.8.9 [INFO] [stderr] Downloaded smallvec v0.6.14 [INFO] [stderr] Downloaded hyper v0.11.27 [INFO] [stderr] Downloaded seahash v3.0.7 [INFO] [stderr] Downloaded infer_schema_internals v1.4.0 [INFO] [stderr] Downloaded bitflags v0.9.1 [INFO] [stderr] Downloaded nom v2.2.1 [INFO] [stderr] Downloaded diesel_infer_schema v1.4.0 [INFO] [stderr] Downloaded unindent v0.1.7 [INFO] [stderr] Downloaded pkg-config v0.3.19 [INFO] [stderr] Downloaded tokio v0.1.22 [INFO] [stderr] Downloaded tokio-uds v0.2.7 [INFO] [stderr] Downloaded tokio-executor v0.1.10 [INFO] [stderr] Downloaded libsqlite3-sys v0.9.3 [INFO] [stderr] Downloaded serde_urlencoded v0.5.5 [INFO] [stderr] Downloaded futures v0.1.31 [INFO] [stderr] Downloaded tokio-timer v0.2.13 [INFO] [stderr] Downloaded indoc v0.2.8 [INFO] [stderr] Downloaded num v0.1.42 [INFO] [stderr] Downloaded tokio-reactor v0.1.12 [INFO] [stderr] Downloaded libc v0.2.94 [INFO] [stderr] Downloaded smallvec v0.2.1 [INFO] [stderr] Downloaded syn v1.0.71 [INFO] [stderr] Downloaded tokio-sync v0.1.8 [INFO] [stderr] Downloaded migrations_macros v1.4.2 [INFO] [stderr] Downloaded tokio-tcp v0.1.4 [INFO] [stderr] Downloaded tokio-core v0.1.18 [INFO] [stderr] Downloaded tokio-service v0.1.0 [INFO] [stderr] Downloaded same-file v0.1.3 [INFO] [stderr] Downloaded tokio-proto v0.1.1 [INFO] [stderr] Downloaded num-iter v0.1.42 [INFO] [stderr] Downloaded walkdir v1.0.7 [INFO] [stderr] Downloaded proc-macro-hack v0.4.3 [INFO] [stderr] Downloaded wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded redox_syscall v0.2.7 [INFO] [stderr] Downloaded take v0.1.0 [INFO] [stderr] Downloaded slug v0.1.4 [INFO] [stderr] Downloaded utf8-ranges v1.0.4 [INFO] [stderr] Downloaded regex v0.2.11 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.2 [INFO] [stderr] Downloaded itertools v0.6.5 [INFO] [stderr] Downloaded titlecase v0.10.0 [INFO] [stderr] Downloaded dtoa v0.4.8 [INFO] [stderr] Downloaded unicode-bidi v0.3.5 [INFO] [stderr] Downloaded vcpkg v0.2.12 [INFO] [stderr] Downloaded deunicode v0.4.3 [INFO] [stderr] Downloaded ucd-util v0.1.8 [INFO] [stderr] Downloaded bart_derive v0.1.4 [INFO] [stderr] Downloaded slab v0.3.0 [INFO] [stderr] Downloaded scoped-tls v0.1.2 [INFO] [stderr] Downloaded tokio-current-thread v0.1.7 [INFO] [stderr] Downloaded tokio-fs v0.1.7 [INFO] [stderr] Downloaded memoffset v0.5.6 [INFO] [stderr] Downloaded mio-uds v0.6.8 [INFO] [stderr] Downloaded tokio-threadpool v0.1.18 [INFO] [stderr] Downloaded tokio-udp v0.1.6 [INFO] [stderr] Downloaded bart v0.1.4 [INFO] [stderr] Downloaded syn v0.10.8 [INFO] [stderr] Downloaded block-buffer v0.2.0 [INFO] [stderr] Downloaded generic-array v0.8.4 [INFO] [stderr] Downloaded sha2 v0.6.0 [INFO] [stderr] Downloaded serde v1.0.125 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d22214356c173631c233375c5320df8121d12bffc2c9714938e64df103c1f7b3 [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" "d22214356c173631c233375c5320df8121d12bffc2c9714938e64df103c1f7b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d22214356c173631c233375c5320df8121d12bffc2c9714938e64df103c1f7b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d22214356c173631c233375c5320df8121d12bffc2c9714938e64df103c1f7b3", kill_on_drop: false }` [INFO] [stdout] d22214356c173631c233375c5320df8121d12bffc2c9714938e64df103c1f7b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 2042c6d8fcf64290a0c2d80de7d4f0dce5f559d8d986529bd525c75da663c565 [INFO] running `Command { std: "docker" "start" "-a" "2042c6d8fcf64290a0c2d80de7d4f0dce5f559d8d986529bd525c75da663c565", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 (https://github.com/maghoff/pulldown-cmark.git#e5dea36c) [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking nom v2.2.1 [INFO] [stderr] Checking seahash v3.0.7 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking relay v0.1.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling itertools v0.6.5 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking bart v0.1.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling proc-macro-hack v0.4.3 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling libsqlite3-sys v0.9.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.0.4 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling generic-array v0.8.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling digest v0.6.2 [INFO] [stderr] Compiling block-buffer v0.2.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling sha2 v0.6.0 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking titlecase v0.10.0 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking serde_plain v0.3.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Compiling bart_derive v0.1.4 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling indoc-impl v0.2.8 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking indoc v0.2.8 [INFO] [stderr] Checking hyper v0.11.27 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling codegen v0.1.0 (/opt/rustwide/workdir/libs/codegen) [INFO] [stderr] Checking diesel v1.4.6 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stderr] Checking r2d2-diesel v1.0.0 [INFO] [stderr] Compiling infer_schema_internals v1.4.0 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling infer_schema_macros v1.4.0 [INFO] [stderr] Checking diesel_infer_schema v1.4.0 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling sausagewiki v0.1.0-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> build.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | diesel::expression::sql_literal::sql::<(diesel::sql_types::Integer)>("PRAGMA foreign_keys = ON") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | type BoxResource = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Resource + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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 the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | type ResourceFn = Box BoxResource + Sync + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> BoxResource + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/db.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | sql::<(Integer)>("PRAGMA foreign_keys = ON") [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db.rs:42:116 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_pool>(connection_string: S) -> Result>, Box<::std::error::Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources/pagination.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | write!(f, "{}", (self as &error::Error).description()) [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources/changes_resource.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | type BoxResource = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Resource + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources/changes_resource.rs:100:54 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn lookup(&self, query: Option<&str>) -> Box, Error=::web::Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=::web::Error>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources/changes_resource.rs:157:32 [INFO] [stdout] | [INFO] [stdout] 157 | })) as Box, Error=::web::Error>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=::web::Error>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/resources/changes_resource.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources/diff_resource.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | type BoxResource = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Resource + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources/diff_resource.rs:51:71 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn lookup(&self, article_id: u32, query: Option<&str>) -> Box, Error=::web::Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=::web::Error>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources/search_resource.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | type BoxResource = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Resource + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/site.rs:96:59 [INFO] [stdout] | [INFO] [stdout] 96 | fn internal_server_error(base: Option<&str>, err: Box<::std::error::Error + Send + Sync>) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::std::error::Error + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/site.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::Future` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | pub type Error = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `article_revisions` is imported redundantly [INFO] [stdout] --> src/state.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 12 | use schema::*; [INFO] [stdout] | --------- the item `article_revisions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 84 | use schema::article_revisions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `article_revisions` is imported redundantly [INFO] [stdout] --> src/state.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 12 | use schema::*; [INFO] [stdout] | --------- the item `article_revisions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 116 | use schema::article_revisions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `article_revisions` is imported redundantly [INFO] [stdout] --> src/state.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 12 | use schema::*; [INFO] [stdout] | --------- the item `article_revisions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 127 | use schema::article_revisions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `article_revisions` is imported redundantly [INFO] [stdout] --> src/state.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 12 | use schema::*; [INFO] [stdout] | --------- the item `article_revisions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 162 | use schema::article_revisions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `article_revisions` is imported redundantly [INFO] [stdout] --> src/state.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 12 | use schema::*; [INFO] [stdout] | --------- the item `article_revisions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 181 | use schema::article_revisions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `article_revisions` is imported redundantly [INFO] [stdout] --> src/state.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 12 | use schema::*; [INFO] [stdout] | --------- the item `article_revisions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 282 | use schema::article_revisions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state.rs:360:23 [INFO] [stdout] | [INFO] [stdout] 360 | sql::<(diesel::sql_types::Integer)>("INSERT INTO articles VALUES (null)") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state.rs:362:23 [INFO] [stdout] | [INFO] [stdout] 362 | sql::<(diesel::sql_types::Integer)>("SELECT LAST_INSERT_ROWID()") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web/resource.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | pub type Error = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web/resource.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | pub type ResponseFuture = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::Future` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wiki_lookup.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | type BoxResource = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Resource + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wiki_lookup.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | type ResourceFn = Box BoxResource + Sync + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> BoxResource + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wiki_lookup.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 58 | FutureResult, Box<::std::error::Error + Send + Sync>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::std::error::Error + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wiki_lookup.rs:77:43 [INFO] [stdout] | [INFO] [stdout] 77 | FutureResult, Box<::std::error::Error + Send + Sync>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::std::error::Error + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wiki_lookup.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | type Error = Box<::std::error::Error + Send + Sync>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::std::error::Error + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wiki_lookup.rs:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | type Future = Box, Error = Self::Error>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = Self::Error>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:55:105 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn main(db_file: String, bind_host: IpAddr, bind_port: u16, trust_identity: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assets.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / lazy_static! { [INFO] [stdout] 38 | | pub static ref ASSETS_MAP: HashMap<&'static str, ResourceFn> = hashmap!{ [INFO] [stdout] 39 | | // The CSS should be built to a single CSS file at compile time [INFO] [stdout] 40 | | ThemesCss::resource_name() => [INFO] [stdout] ... | [INFO] [stdout] 51 | | }; [INFO] [stdout] 52 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/build_config.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref VERSION: String = || -> String { [INFO] [stdout] 15 | | let mut components = Vec::::new(); [INFO] [stdout] 16 | | [INFO] [stdout] ... | [INFO] [stdout] 56 | | format!("{}/{}", PROJECT_NAME, VERSION.as_str()); [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/build_config.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref VERSION: String = || -> String { [INFO] [stdout] 15 | | let mut components = Vec::::new(); [INFO] [stdout] 16 | | [INFO] [stdout] ... | [INFO] [stdout] 56 | | format!("{}/{}", PROJECT_NAME, VERSION.as_str()); [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/mimes.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | pub static ref TEXT_HTML: mime::Mime = "text/html;charset=utf-8".parse().unwrap(); [INFO] [stdout] 5 | | pub static ref TEXT_PLAIN: mime::Mime = "text/plain;charset=utf-8".parse().unwrap(); [INFO] [stdout] 6 | | pub static ref APPLICATION_JSON: mime::Mime = "application/json".parse().unwrap(); [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/mimes.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | pub static ref TEXT_HTML: mime::Mime = "text/html;charset=utf-8".parse().unwrap(); [INFO] [stdout] 5 | | pub static ref TEXT_PLAIN: mime::Mime = "text/plain;charset=utf-8".parse().unwrap(); [INFO] [stdout] 6 | | pub static ref APPLICATION_JSON: mime::Mime = "application/json".parse().unwrap(); [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/mimes.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | pub static ref TEXT_HTML: mime::Mime = "text/html;charset=utf-8".parse().unwrap(); [INFO] [stdout] 5 | | pub static ref TEXT_PLAIN: mime::Mime = "text/plain;charset=utf-8".parse().unwrap(); [INFO] [stdout] 6 | | pub static ref APPLICATION_JSON: mime::Mime = "application/json".parse().unwrap(); [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/resources/about_resource.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Licenses)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/site.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref TEXT_HTML: mime::Mime = "text/html;charset=utf-8".parse().unwrap(); [INFO] [stdout] 20 | | static ref SERVER: Server = [INFO] [stdout] 21 | | Server::new(build_config::HTTP_SERVER.as_str()); [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/site.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref TEXT_HTML: mime::Mime = "text/html;charset=utf-8".parse().unwrap(); [INFO] [stdout] 20 | | static ref SERVER: Server = [INFO] [stdout] 21 | | Server::new(build_config::HTTP_SERVER.as_str()); [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/web/resource.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref TEXT_PLAIN: mime::Mime = "text/plain;charset=utf-8".parse().unwrap(); [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/wiki_lookup.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / lazy_static! { [INFO] [stdout] 21 | | static ref LICENSES_MAP: HashMap<&'static str, ResourceFn> = hashmap!{ [INFO] [stdout] 22 | | "bsd-3-clause" => Box::new(|| Box::new( [INFO] [stdout] 23 | | HtmlResource::new(Some("../"), "The 3-Clause BSD License", include_str!("licenses/bsd-3-clause.html")) [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | type BoxResource = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Resource + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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 the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | type ResourceFn = Box BoxResource + Sync + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> BoxResource + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/db.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | sql::<(Integer)>("PRAGMA foreign_keys = ON") [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db.rs:42:116 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_pool>(connection_string: S) -> Result>, Box<::std::error::Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources/pagination.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | write!(f, "{}", (self as &error::Error).description()) [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources/changes_resource.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | type BoxResource = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Resource + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources/changes_resource.rs:100:54 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn lookup(&self, query: Option<&str>) -> Box, Error=::web::Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=::web::Error>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources/changes_resource.rs:157:32 [INFO] [stdout] | [INFO] [stdout] 157 | })) as Box, Error=::web::Error>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=::web::Error>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/resources/changes_resource.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources/diff_resource.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | type BoxResource = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Resource + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources/diff_resource.rs:51:71 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn lookup(&self, article_id: u32, query: Option<&str>) -> Box, Error=::web::Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=::web::Error>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources/search_resource.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | type BoxResource = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Resource + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/site.rs:96:59 [INFO] [stdout] | [INFO] [stdout] 96 | fn internal_server_error(base: Option<&str>, err: Box<::std::error::Error + Send + Sync>) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::std::error::Error + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/site.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::Future` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | pub type Error = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `article_revisions` is imported redundantly [INFO] [stdout] --> src/state.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 12 | use schema::*; [INFO] [stdout] | --------- the item `article_revisions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 84 | use schema::article_revisions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `article_revisions` is imported redundantly [INFO] [stdout] --> src/state.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 12 | use schema::*; [INFO] [stdout] | --------- the item `article_revisions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 116 | use schema::article_revisions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `article_revisions` is imported redundantly [INFO] [stdout] --> src/state.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 12 | use schema::*; [INFO] [stdout] | --------- the item `article_revisions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 127 | use schema::article_revisions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `article_revisions` is imported redundantly [INFO] [stdout] --> src/state.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 12 | use schema::*; [INFO] [stdout] | --------- the item `article_revisions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 162 | use schema::article_revisions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `article_revisions` is imported redundantly [INFO] [stdout] --> src/state.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 12 | use schema::*; [INFO] [stdout] | --------- the item `article_revisions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 181 | use schema::article_revisions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `article_revisions` is imported redundantly [INFO] [stdout] --> src/state.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 12 | use schema::*; [INFO] [stdout] | --------- the item `article_revisions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 282 | use schema::article_revisions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state.rs:360:23 [INFO] [stdout] | [INFO] [stdout] 360 | sql::<(diesel::sql_types::Integer)>("INSERT INTO articles VALUES (null)") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state.rs:362:23 [INFO] [stdout] | [INFO] [stdout] 362 | sql::<(diesel::sql_types::Integer)>("SELECT LAST_INSERT_ROWID()") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/theme.rs:191:47 [INFO] [stdout] | [INFO] [stdout] 191 | fn basic_db_roundtrip() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/theme.rs:207:57 [INFO] [stdout] | [INFO] [stdout] 207 | fn db_invalid_value_gives_error() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web/resource.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | pub type Error = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web/resource.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | pub type ResponseFuture = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::Future` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wiki_lookup.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | type BoxResource = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Resource + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wiki_lookup.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | type ResourceFn = Box BoxResource + Sync + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> BoxResource + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wiki_lookup.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 58 | FutureResult, Box<::std::error::Error + Send + Sync>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::std::error::Error + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wiki_lookup.rs:77:43 [INFO] [stdout] | [INFO] [stdout] 77 | FutureResult, Box<::std::error::Error + Send + Sync>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::std::error::Error + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wiki_lookup.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | type Error = Box<::std::error::Error + Send + Sync>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::std::error::Error + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wiki_lookup.rs:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | type Future = Box, Error = Self::Error>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = Self::Error>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:55:105 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn main(db_file: String, bind_host: IpAddr, bind_port: u16, trust_identity: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assets.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / lazy_static! { [INFO] [stdout] 38 | | pub static ref ASSETS_MAP: HashMap<&'static str, ResourceFn> = hashmap!{ [INFO] [stdout] 39 | | // The CSS should be built to a single CSS file at compile time [INFO] [stdout] 40 | | ThemesCss::resource_name() => [INFO] [stdout] ... | [INFO] [stdout] 51 | | }; [INFO] [stdout] 52 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/build_config.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref VERSION: String = || -> String { [INFO] [stdout] 15 | | let mut components = Vec::::new(); [INFO] [stdout] 16 | | [INFO] [stdout] ... | [INFO] [stdout] 56 | | format!("{}/{}", PROJECT_NAME, VERSION.as_str()); [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/build_config.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref VERSION: String = || -> String { [INFO] [stdout] 15 | | let mut components = Vec::::new(); [INFO] [stdout] 16 | | [INFO] [stdout] ... | [INFO] [stdout] 56 | | format!("{}/{}", PROJECT_NAME, VERSION.as_str()); [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/resources/pagination.rs:11:49 [INFO] [stdout] | [INFO] [stdout] 11 | write!(f, "{}", (self as &error::Error).description()) [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/mimes.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | pub static ref TEXT_HTML: mime::Mime = "text/html;charset=utf-8".parse().unwrap(); [INFO] [stdout] 5 | | pub static ref TEXT_PLAIN: mime::Mime = "text/plain;charset=utf-8".parse().unwrap(); [INFO] [stdout] 6 | | pub static ref APPLICATION_JSON: mime::Mime = "application/json".parse().unwrap(); [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/mimes.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | pub static ref TEXT_HTML: mime::Mime = "text/html;charset=utf-8".parse().unwrap(); [INFO] [stdout] 5 | | pub static ref TEXT_PLAIN: mime::Mime = "text/plain;charset=utf-8".parse().unwrap(); [INFO] [stdout] 6 | | pub static ref APPLICATION_JSON: mime::Mime = "application/json".parse().unwrap(); [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/mimes.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | pub static ref TEXT_HTML: mime::Mime = "text/html;charset=utf-8".parse().unwrap(); [INFO] [stdout] 5 | | pub static ref TEXT_PLAIN: mime::Mime = "text/plain;charset=utf-8".parse().unwrap(); [INFO] [stdout] 6 | | pub static ref APPLICATION_JSON: mime::Mime = "application/json".parse().unwrap(); [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/resources/about_resource.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Licenses)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/site.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref TEXT_HTML: mime::Mime = "text/html;charset=utf-8".parse().unwrap(); [INFO] [stdout] 20 | | static ref SERVER: Server = [INFO] [stdout] 21 | | Server::new(build_config::HTTP_SERVER.as_str()); [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/site.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref TEXT_HTML: mime::Mime = "text/html;charset=utf-8".parse().unwrap(); [INFO] [stdout] 20 | | static ref SERVER: Server = [INFO] [stdout] 21 | | Server::new(build_config::HTTP_SERVER.as_str()); [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/web/resource.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref TEXT_PLAIN: mime::Mime = "text/plain;charset=utf-8".parse().unwrap(); [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/wiki_lookup.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / lazy_static! { [INFO] [stdout] 21 | | static ref LICENSES_MAP: HashMap<&'static str, ResourceFn> = hashmap!{ [INFO] [stdout] 22 | | "bsd-3-clause" => Box::new(|| Box::new( [INFO] [stdout] 23 | | HtmlResource::new(Some("../"), "The 3-Clause BSD License", include_str!("licenses/bsd-3-clause.html")) [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/resources/pagination.rs:11:49 [INFO] [stdout] | [INFO] [stdout] 11 | write!(f, "{}", (self as &error::Error).description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/wiki_lookup.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | .unwrap_or_else(|_| panic!(format!("Not found: {}", filename))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 96 | .unwrap_or_else(|_| panic!("Not found: {}", filename)); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/wiki_lookup.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | .unwrap_or_else(|_| panic!(format!("Not found: {}", filename))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 96 | .unwrap_or_else(|_| panic!("Not found: {}", filename)); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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 the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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 the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/build_config.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref VERSION: String = || -> String { [INFO] [stdout] 15 | | let mut components = Vec::::new(); [INFO] [stdout] 16 | | [INFO] [stdout] ... | [INFO] [stdout] 56 | | format!("{}/{}", PROJECT_NAME, VERSION.as_str()); [INFO] [stdout] 57 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/build_config.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref VERSION: String = || -> String { [INFO] [stdout] 15 | | let mut components = Vec::::new(); [INFO] [stdout] 16 | | [INFO] [stdout] ... | [INFO] [stdout] 56 | | format!("{}/{}", PROJECT_NAME, VERSION.as_str()); [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/build_config.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref VERSION: String = || -> String { [INFO] [stdout] 15 | | let mut components = Vec::::new(); [INFO] [stdout] 16 | | [INFO] [stdout] ... | [INFO] [stdout] 56 | | format!("{}/{}", PROJECT_NAME, VERSION.as_str()); [INFO] [stdout] 57 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/build_config.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref VERSION: String = || -> String { [INFO] [stdout] 15 | | let mut components = Vec::::new(); [INFO] [stdout] 16 | | [INFO] [stdout] ... | [INFO] [stdout] 56 | | format!("{}/{}", PROJECT_NAME, VERSION.as_str()); [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "2042c6d8fcf64290a0c2d80de7d4f0dce5f559d8d986529bd525c75da663c565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2042c6d8fcf64290a0c2d80de7d4f0dce5f559d8d986529bd525c75da663c565", kill_on_drop: false }` [INFO] [stdout] 2042c6d8fcf64290a0c2d80de7d4f0dce5f559d8d986529bd525c75da663c565