[INFO] cloning repository https://github.com/onur/docs.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/onur/docs.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonur%2Fdocs.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonur%2Fdocs.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cee3f821bce5e236639b2478096de0fee58b32cb [INFO] checking onur/docs.rs against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonur%2Fdocs.rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/onur/docs.rs on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/onur/docs.rs [INFO] finished tweaking git repo https://github.com/onur/docs.rs [INFO] tweaked toml for git repo https://github.com/onur/docs.rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/onur/docs.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a824aa44cf25756ed409e4690d572e5a87558cd2d0ad0455212314d59f6ed3f5 [INFO] running `Command { std: "docker" "start" "-a" "a824aa44cf25756ed409e4690d572e5a87558cd2d0ad0455212314d59f6ed3f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a824aa44cf25756ed409e4690d572e5a87558cd2d0ad0455212314d59f6ed3f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a824aa44cf25756ed409e4690d572e5a87558cd2d0ad0455212314d59f6ed3f5", kill_on_drop: false }` [INFO] [stdout] a824aa44cf25756ed409e4690d572e5a87558cd2d0ad0455212314d59f6ed3f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad485564433e6bde08d0641083fe20cf36b29ac2b97daaf1b4f1e2b12345a856 [INFO] running `Command { std: "docker" "start" "-a" "ad485564433e6bde08d0641083fe20cf36b29ac2b97daaf1b4f1e2b12345a856", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling openssl v0.10.13 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking constant_time_eq v0.1.3 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking fallible-iterator v0.1.5 [INFO] [stderr] Checking md5 v0.3.8 [INFO] [stderr] Checking dtoa v0.2.2 [INFO] [stderr] Checking itoa v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling magic-sys v0.2.0 [INFO] [stderr] Checking utf-8 v0.7.4 [INFO] [stderr] Compiling encoding_rs v0.8.10 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking pest v0.3.3 [INFO] [stderr] Checking buf_redux v0.3.0 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking sequence_trie v0.2.1 [INFO] [stderr] Checking shell-escape v0.1.4 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking rustc-workspace-hack v1.0.0 [INFO] [stderr] Checking route-recognizer v0.1.12 [INFO] [stderr] Checking home v0.3.3 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking unidecode v0.2.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking bytesize v1.0.0 [INFO] [stderr] Checking typed-arena v1.4.1 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.37 [INFO] [stderr] Compiling libz-sys v1.0.24 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling libnghttp2-sys v0.1.0 [INFO] [stderr] Compiling curl-sys v0.4.15 [INFO] [stderr] Compiling libssh2-sys v0.2.11 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Checking conduit-mime-types v0.7.3 [INFO] [stderr] Compiling sass-sys v0.4.7 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Checking crossbeam-utils v0.6.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking error v0.1.9 [INFO] [stderr] Checking scheduled-thread-pool v0.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.6.0 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Checking tokio-current-thread v0.1.3 [INFO] [stderr] Checking tokio-timer v0.2.7 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking socket2 v0.3.8 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking filetime v0.2.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking filetime v0.1.15 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking new_debug_unreachable v1.0.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking jobserver v0.1.11 [INFO] [stderr] Checking backtrace-sys v0.1.24 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking r2d2 v0.8.2 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking crossbeam-deque v0.6.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking tar v0.4.20 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Checking slug v0.1.1 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Checking magic v0.12.2 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking tokio-io v0.1.9 [INFO] [stderr] Checking http v0.1.13 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Checking tokio-threadpool v0.1.7 [INFO] [stderr] Checking uuid v0.7.1 [INFO] [stderr] Checking tempfile v3.0.4 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Checking tendril v0.4.0 [INFO] [stderr] Checking walkdir v0.1.8 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking approx v0.3.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking phf_shared v0.7.21 [INFO] [stderr] Compiling syn v0.15.11 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking mime v0.3.9 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Checking tokio-fs v0.1.3 [INFO] [stderr] Checking serde_json v0.8.6 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Checking flate2 v1.0.3 [INFO] [stderr] Checking rusttype v0.7.2 [INFO] [stderr] Checking phf v0.7.21 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling string_cache_codegen v0.4.1 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking crypto-mac v0.5.2 [INFO] [stderr] Checking hmac v0.5.0 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking hyper v0.10.13 [INFO] [stderr] Checking regex v1.0.5 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking postgres-protocol v0.3.2 [INFO] [stderr] Checking h2 v0.1.12 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Checking handlebars v0.24.2 [INFO] [stderr] Checking badge v0.2.0 (/opt/rustwide/workdir/src/web/badge) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/web/badge/badge.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let font = try!(collection.into_font().map_err(|_| "Failed to load font data".to_owned())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking postgres-shared v0.4.1 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking iron v0.5.1 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking postgres v0.15.2 [INFO] [stderr] Checking persistent v0.3.0 [INFO] [stderr] Checking mount v0.3.0 [INFO] [stderr] Checking router v0.5.1 [INFO] [stderr] Checking bodyparser v0.5.0 [INFO] [stderr] Checking globset v0.4.2 [INFO] [stderr] Checking env_logger v0.6.0 [INFO] [stderr] Checking comrak v0.3.1 [INFO] [stderr] Checking urlencoded v0.5.0 [INFO] [stderr] Checking staticfile v0.4.0 [INFO] [stderr] Compiling synstructure v0.10.0 [INFO] [stderr] Checking r2d2_postgres v0.14.0 [INFO] [stderr] Checking handlebars-iron v0.22.0 [INFO] [stderr] Checking multipart v0.8.1 [INFO] [stderr] Checking params v0.6.0 [INFO] [stderr] Checking crypto-hash v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Checking failure v0.1.3 [INFO] [stderr] Checking opener v0.3.0 [INFO] [stderr] Compiling html5ever v0.22.3 [INFO] [stderr] Checking curl v0.4.19 [INFO] [stderr] Checking serde_json v1.0.32 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking serde_urlencoded v0.5.3 [INFO] [stderr] Checking url_serde v0.2.0 [INFO] [stderr] Checking serde_ignored v0.0.4 [INFO] [stderr] Checking toml v0.4.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rustfix v0.4.4 [INFO] [stderr] Checking crates-io v0.23.0 (https://github.com/rust-lang/cargo.git#9f1f786c) [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling im-rc v12.2.0 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tokio-reactor v0.1.6 [INFO] [stderr] Checking crossbeam-channel v0.2.6 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking tokio-udp v0.1.2 [INFO] [stderr] Checking tokio-uds v0.2.2 [INFO] [stderr] Compiling markup5ever v0.7.2 [INFO] [stderr] Checking tokio v0.1.11 [INFO] [stderr] Checking ignore v0.4.4 [INFO] [stderr] Checking hyper v0.12.11 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Checking reqwest v0.9.2 [INFO] [stderr] Compiling git2 v0.7.5 [INFO] [stderr] Checking git2 v0.8.0 [INFO] [stderr] Checking crates-index-diff v4.0.0 [INFO] [stderr] Checking git2-curl v0.9.0 [INFO] [stderr] Checking cargo v0.35.0 (https://github.com/rust-lang/cargo.git#9f1f786c) [INFO] [stderr] Compiling sass-rs v0.2.1 [INFO] [stderr] Compiling cratesfyi v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | let crate_id = try!(initialize_package_in_database(&conn, &pkg)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | let (release_time, yanked, downloads) = try!(get_release_time_yanked_downloads(&pkg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let rows = try!(conn.query("SELECT id FROM releases WHERE crate_id = $1 AND version = $2", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let rows = try!(conn.query("INSERT INTO releases ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | try!(conn.query("UPDATE releases [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | try!(add_keywords_into_database(&conn, &pkg, &release_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | try!(add_authors_into_database(&conn, &pkg, &release_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | try!(add_owners_into_database(&conn, &pkg, &crate_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:154:34 [INFO] [stdout] | [INFO] [stdout] 154 | let mut versions: Json = try!(conn.query("SELECT versions FROM crates WHERE id = $1", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | let rows = try!(conn.query("INSERT INTO builds (rid, rustc_version, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:199:20 [INFO] [stdout] | [INFO] [stdout] 199 | let mut rows = try!(conn.query("SELECT id FROM crates WHERE name = $1", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:203:16 [INFO] [stdout] | [INFO] [stdout] 203 | rows = try!(conn.query("INSERT INTO crates (name) VALUES ($1) RETURNING id", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:225:37 [INFO] [stdout] | [INFO] [stdout] 225 | let readme_path = PathBuf::from(try!(source_path(&pkg).ok_or_else(|| err_msg("File not found")))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:232:22 [INFO] [stdout] | [INFO] [stdout] 232 | let mut reader = try!(fs::File::open(readme_path).map(|f| BufReader::new(f))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | try!(reader.read_to_string(&mut readme)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:244:42 [INFO] [stdout] | [INFO] [stdout] 244 | let mut path = PathBuf::from(try!(source_path(&pkg).ok_or_else(|| err_msg("File not found")))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | let reader = try!(fs::File::open(file_path).map(|f| BufReader::new(f))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:261:20 [INFO] [stdout] | [INFO] [stdout] 261 | let line = try!(line); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 292 | let mut res = try!(client.get(&url[..]) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:298:20 [INFO] [stdout] | [INFO] [stdout] 298 | let versions = try!(json.as_object() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:306:23 [INFO] [stdout] | [INFO] [stdout] 306 | let version = try!(version.as_object().ok_or_else(|| err_msg("Not a JSON object"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:307:27 [INFO] [stdout] | [INFO] [stdout] 307 | let version_num = try!(version.get("num") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:312:36 [INFO] [stdout] | [INFO] [stdout] 312 | let release_time_raw = try!(version.get("created_at") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:319:27 [INFO] [stdout] | [INFO] [stdout] 319 | yanked = Some(try!(version.get("yanked") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:323:30 [INFO] [stdout] | [INFO] [stdout] 323 | downloads = Some(try!(version.get("downloads") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:340:24 [INFO] [stdout] | [INFO] [stdout] 340 | let rows = try!(conn.query("SELECT id FROM keywords WHERE slug = $1", &[&slug])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | try!(conn.query("INSERT INTO keywords (name, slug) VALUES ($1, $2) RETURNING id", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:371:28 [INFO] [stdout] | [INFO] [stdout] 371 | let rows = try!(conn.query("SELECT id FROM authors WHERE slug = $1", &[&slug])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | try!(conn.query("INSERT INTO authors (name, email, slug) VALUES ($1, $2, $3) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:400:19 [INFO] [stdout] | [INFO] [stdout] 400 | let mut res = try!(client.get(&owners_url[..]) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:407:16 [INFO] [stdout] | [INFO] [stdout] 407 | let json = try!(Json::from_str(&body[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:436:28 [INFO] [stdout] | [INFO] [stdout] 436 | let rows = try!(conn.query("SELECT id FROM owners WHERE login = $1", &[&login])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:440:21 [INFO] [stdout] | [INFO] [stdout] 440 | try!(conn.query("INSERT INTO owners (login, avatar, name, email) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | for file in try!(path.read_dir()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let file = try!(file); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if try!(file.file_type()).is_file() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | } else if try!(file.file_type()).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | try!(get_file_list_from_dir(path, "", &mut files)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | let cookie = try!(Cookie::open(flags::MIME_TYPE)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | try!(cookie.load::<&str>(&[])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let trans = try!(conn.transaction()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | for file_path_str in try!(get_file_list(&path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | try!(file.read_to_end(&mut content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | let mime = try!(cookie.buffer(&content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | let rows = try!(conn.query("SELECT COUNT(*) FROM files WHERE path = $1", &[&path])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | try!(trans.query("INSERT INTO files (path, mime, content) VALUES ($1, $2, $3)", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | try!(trans.query("UPDATE files SET mime = $2, content = $3, date_updated = NOW() \ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | try!(trans.commit()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/mod.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | try!(conn.execute(query, &[])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/github_updater.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let conn = try!(connect_db()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/github_updater.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | for row in &try!(conn.query("SELECT DISTINCT ON (crates.name) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/github_updater.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut resp = try!(client.get(&format!("https://api.github.com/repos/{}", path)[..]) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/github_updater.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | try!(resp.read_to_string(&mut body)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/github_updater.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | let json = try!(Json::from_str(&body[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let config = try!(Config::default()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let source_id = try!(SourceId::crates_io(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | let source_cfg_map = try!(SourceConfigMap::new(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let mut source = try!(source_cfg_map.load(source_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | try!(source.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | let dep = try!(Dependency::parse_no_deprecated(name, vers, source_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | let deps = try!(source.query_vec(&dep)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let pkgid = try!(deps.iter().map(|p| p.package_id()).max() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | let pkg_set = try!(PackageSet::new(&[pkgid.clone()], source_map, &config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let pkg = try!(pkg_set.get_one(pkgid)).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let current_dir = try!(env::current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | let source = try!(source_cfg_map.load(source_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | for (name, dep) in try!(resolve_deps(&pkg, &config, source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | let mut build_config = try!(BuildConfig::new(&config, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | let ws = try!(Workspace::ephemeral(pkg, &config, Some(Filesystem::new(target_dir)), false)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | let source = try!(source_cfg_map.load(source_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | try!(ops::compile_ws(&ws, Some(source), &opts, &exec)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | Ok(try!(ws.current()).clone()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/build_doc.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | let exec: Arc = Arc::new(DefaultExecutor); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Executor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | let mut registry = try!(PackageRegistry::new(config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | let resolver = try!(resolver::resolve( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | let pkg_set = try!(registry.get(&dep_ids)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | let deps = try!(pkg_set.get_many(dep_ids)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/build_doc.rs:129:69 [INFO] [stdout] | [INFO] [stdout] 129 | fn resolve_deps<'cfg>(pkg: &Package, config: &'cfg Config, src: Box) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'cfg` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | let config = try!(Config::default()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | let source_id = try!(SourceId::crates_io(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | let source_map = try!(SourceConfigMap::new(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | let mut source = try!(source_map.load(source_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | try!(source.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | let dep = try!(Dependency::parse_no_deprecated(name, vers, source_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | let deps = try!(source.query_vec(&dep)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let pkgid = try!(deps.iter().map(|p| p.package_id()).max() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | let pkg_set = try!(PackageSet::new(&[pkgid.clone()], source_map, &config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:182:15 [INFO] [stdout] | [INFO] [stdout] 182 | let pkg = try!(pkg_set.get_one(pkgid)).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | let config = try!(Config::default()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | let source_id = try!(SourceId::crates_io(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | let source_map = try!(SourceConfigMap::new(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | let mut source = try!(source_map.load(source_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/copy.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | try!(fs::create_dir_all(&destination)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/copy.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | for file in try!(source.read_dir()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/copy.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | let file = try!(file); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/copy.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | let metadata = try!(file.metadata()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/copy.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | try!(fs::create_dir_all(&destination_full_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/copy.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(copy_files_and_handle_html(file.path(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/copy.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | try!(fs::copy(&file.path(), &destination_full_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/release_activity_updater.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | let conn = try!(connect_db()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/release_activity_updater.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let rows = try!(conn.query(&format!("SELECT COUNT(*) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/release_activity_updater.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | let failures_count_rows = try!(conn.query( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/release_activity_updater.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | try!(conn.query("INSERT INTO config (name, value) VALUES ('release_activity', $1)", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | try!(update_sources()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!(self.remove_build_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | let conn = try!(connect_db()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | let pkg = try!(get_package(name, Some(&format!("={}", version)[..]))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | let file_list = try!(self.add_sources_into_database(&conn, &pkg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | try!(self.copy_documentation(&pkg, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | try!(self.copy_documentation(&pkg, &res.rustc_version, Some(target), false)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | try!(self.add_documentation_into_database(&conn, &pkg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | let release_id = try!(add_package_into_database(&conn, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | try!(add_build_into_database(&conn, &release_id, &res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(self.clean(&pkg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `remove_dir_all` is imported redundantly [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::remove_dir_all; [INFO] [stdout] | ----------------------- the item `remove_dir_all` is already imported here [INFO] [stdout] ... [INFO] [stdout] 247 | use std::fs::remove_dir_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:366:19 [INFO] [stdout] | [INFO] [stdout] 366 | let pkg = try!(get_package("acme-client", Some("=0.0.0"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | try!(create_dir_all(&destination)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | try!(copy(&source_path, &destination_path) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | try!(copy(&source_path, &destination_path) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:429:20 [INFO] [stdout] | [INFO] [stdout] 429 | let conn = try!(connect_db()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | try!(add_path_into_database(&conn, "", destination)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | try!(self.clean(&pkg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | try!(conn.query("INSERT INTO config (name, value) VALUES ('rustc_version', $1)", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | let crate_id = try!(initialize_package_in_database(&conn, &pkg)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/crates.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let reader = try!(fs::File::open(path).map(|f| BufReader::new(f))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/crates.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | let obj = try!(data.as_object().ok_or_else(|| err_msg("Not a JSON object"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/crates.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let crate_name = try!(obj.get("name") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/crates.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | let vers = try!(obj.get("vers") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/crates.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | for file in try!(path.read_dir()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | let (release_time, yanked, downloads) = try!(get_release_time_yanked_downloads(&pkg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/crates.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let file = try!(file); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/crates.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | try!(crates_from_path(&path, func)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let rows = try!(conn.query("SELECT id FROM releases WHERE crate_id = $1 AND version = $2", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/crates.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | try!(crates_from_file(&path, func)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/queue.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let conn = try!(connect_db()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/queue.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let index = try!(Index::from_path_or_cloned(&self.options.crates_io_index_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let rows = try!(conn.query("INSERT INTO releases ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/queue.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | let mut changes = try!(index.fetch_changes()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/queue.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let conn = try!(connect_db()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/queue.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | for row in &try!(conn.query("SELECT id, name, version [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | try!(conn.query("UPDATE releases [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/mod.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | self.cache.insert(try!(line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(self.load_database_cache()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/mod.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let conn = try!(connect_db()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | try!(add_keywords_into_database(&conn, &pkg, &release_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/mod.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | let mut file = try!(fs::OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/mod.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | try!(writeln!(file, "{}", krate)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/mod.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | try!(fs::OpenOptions::new().write(true).create(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | try!(add_authors_into_database(&conn, &pkg, &release_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/mod.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | try!(fs::remove_file(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/web/rustdoc.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | let version = try!(match_version(&conn, &name, version) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | try!(add_owners_into_database(&conn, &pkg, &crate_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `time` is imported redundantly [INFO] [stdout] --> src/web/releases.rs:481:21 [INFO] [stdout] | [INFO] [stdout] 13 | use time; [INFO] [stdout] | ---- the item `time` is already imported here [INFO] [stdout] ... [INFO] [stdout] 481 | use time; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `time` is imported redundantly [INFO] [stdout] --> src/web/releases.rs:522:21 [INFO] [stdout] | [INFO] [stdout] 13 | use time; [INFO] [stdout] | ---- the item `time` is already imported here [INFO] [stdout] ... [INFO] [stdout] 522 | use time; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:154:34 [INFO] [stdout] | [INFO] [stdout] 154 | let mut versions: Json = try!(conn.query("SELECT versions FROM crates WHERE id = $1", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web/mod.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | shared_resource_handler: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/mod.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | router_handler: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | let rows = try!(conn.query("INSERT INTO builds (rid, rustc_version, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web/mod.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | database_file_handler: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/mod.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | static_handler: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:199:20 [INFO] [stdout] | [INFO] [stdout] 199 | let mut rows = try!(conn.query("SELECT id FROM crates WHERE name = $1", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:203:16 [INFO] [stdout] | [INFO] [stdout] 203 | rows = try!(conn.query("INSERT INTO crates (name) VALUES ($1) RETURNING id", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:225:37 [INFO] [stdout] | [INFO] [stdout] 225 | let readme_path = PathBuf::from(try!(source_path(&pkg).ok_or_else(|| err_msg("File not found")))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:232:22 [INFO] [stdout] | [INFO] [stdout] 232 | let mut reader = try!(fs::File::open(readme_path).map(|f| BufReader::new(f))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | try!(reader.read_to_string(&mut readme)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:244:42 [INFO] [stdout] | [INFO] [stdout] 244 | let mut path = PathBuf::from(try!(source_path(&pkg).ok_or_else(|| err_msg("File not found")))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | let reader = try!(fs::File::open(file_path).map(|f| BufReader::new(f))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:261:20 [INFO] [stdout] | [INFO] [stdout] 261 | let line = try!(line); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 292 | let mut res = try!(client.get(&url[..]) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:298:20 [INFO] [stdout] | [INFO] [stdout] 298 | let versions = try!(json.as_object() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:306:23 [INFO] [stdout] | [INFO] [stdout] 306 | let version = try!(version.as_object().ok_or_else(|| err_msg("Not a JSON object"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:307:27 [INFO] [stdout] | [INFO] [stdout] 307 | let version_num = try!(version.get("num") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:312:36 [INFO] [stdout] | [INFO] [stdout] 312 | let release_time_raw = try!(version.get("created_at") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:319:27 [INFO] [stdout] | [INFO] [stdout] 319 | yanked = Some(try!(version.get("yanked") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:323:30 [INFO] [stdout] | [INFO] [stdout] 323 | downloads = Some(try!(version.get("downloads") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:340:24 [INFO] [stdout] | [INFO] [stdout] 340 | let rows = try!(conn.query("SELECT id FROM keywords WHERE slug = $1", &[&slug])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | try!(conn.query("INSERT INTO keywords (name, slug) VALUES ($1, $2) RETURNING id", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:371:28 [INFO] [stdout] | [INFO] [stdout] 371 | let rows = try!(conn.query("SELECT id FROM authors WHERE slug = $1", &[&slug])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | try!(conn.query("INSERT INTO authors (name, email, slug) VALUES ($1, $2, $3) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:400:19 [INFO] [stdout] | [INFO] [stdout] 400 | let mut res = try!(client.get(&owners_url[..]) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:407:16 [INFO] [stdout] | [INFO] [stdout] 407 | let json = try!(Json::from_str(&body[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:436:28 [INFO] [stdout] | [INFO] [stdout] 436 | let rows = try!(conn.query("SELECT id FROM owners WHERE login = $1", &[&login])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/add_package.rs:440:21 [INFO] [stdout] | [INFO] [stdout] 440 | try!(conn.query("INSERT INTO owners (login, avatar, name, email) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | for file in try!(path.read_dir()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let file = try!(file); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if try!(file.file_type()).is_file() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | } else if try!(file.file_type()).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | try!(get_file_list_from_dir(path, "", &mut files)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | let cookie = try!(Cookie::open(flags::MIME_TYPE)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | try!(cookie.load::<&str>(&[])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let trans = try!(conn.transaction()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | for file_path_str in try!(get_file_list(&path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | try!(file.read_to_end(&mut content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | let mime = try!(cookie.buffer(&content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | let rows = try!(conn.query("SELECT COUNT(*) FROM files WHERE path = $1", &[&path])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | try!(trans.query("INSERT INTO files (path, mime, content) VALUES ($1, $2, $3)", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | try!(trans.query("UPDATE files SET mime = $2, content = $3, date_updated = NOW() \ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/file.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | try!(trans.commit()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/mod.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | try!(conn.execute(query, &[])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/github_updater.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let conn = try!(connect_db()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/github_updater.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | for row in &try!(conn.query("SELECT DISTINCT ON (crates.name) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/github_updater.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut resp = try!(client.get(&format!("https://api.github.com/repos/{}", path)[..]) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/github_updater.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | try!(resp.read_to_string(&mut body)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/github_updater.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | let json = try!(Json::from_str(&body[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let config = try!(Config::default()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let source_id = try!(SourceId::crates_io(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | let source_cfg_map = try!(SourceConfigMap::new(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let mut source = try!(source_cfg_map.load(source_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | try!(source.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | let dep = try!(Dependency::parse_no_deprecated(name, vers, source_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | let deps = try!(source.query_vec(&dep)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let pkgid = try!(deps.iter().map(|p| p.package_id()).max() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | let pkg_set = try!(PackageSet::new(&[pkgid.clone()], source_map, &config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let pkg = try!(pkg_set.get_one(pkgid)).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let current_dir = try!(env::current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | let source = try!(source_cfg_map.load(source_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | for (name, dep) in try!(resolve_deps(&pkg, &config, source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | let mut build_config = try!(BuildConfig::new(&config, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | let ws = try!(Workspace::ephemeral(pkg, &config, Some(Filesystem::new(target_dir)), false)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | let source = try!(source_cfg_map.load(source_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | try!(ops::compile_ws(&ws, Some(source), &opts, &exec)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | Ok(try!(ws.current()).clone()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/build_doc.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | let exec: Arc = Arc::new(DefaultExecutor); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Executor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | let mut registry = try!(PackageRegistry::new(config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | let resolver = try!(resolver::resolve( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | let pkg_set = try!(registry.get(&dep_ids)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | let deps = try!(pkg_set.get_many(dep_ids)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/build_doc.rs:129:69 [INFO] [stdout] | [INFO] [stdout] 129 | fn resolve_deps<'cfg>(pkg: &Package, config: &'cfg Config, src: Box) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'cfg` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | let config = try!(Config::default()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | let source_id = try!(SourceId::crates_io(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | let source_map = try!(SourceConfigMap::new(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | let mut source = try!(source_map.load(source_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | try!(source.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | let dep = try!(Dependency::parse_no_deprecated(name, vers, source_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | let deps = try!(source.query_vec(&dep)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let pkgid = try!(deps.iter().map(|p| p.package_id()).max() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | let pkg_set = try!(PackageSet::new(&[pkgid.clone()], source_map, &config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:182:15 [INFO] [stdout] | [INFO] [stdout] 182 | let pkg = try!(pkg_set.get_one(pkgid)).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | let config = try!(Config::default()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | let source_id = try!(SourceId::crates_io(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | let source_map = try!(SourceConfigMap::new(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/build_doc.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | let mut source = try!(source_map.load(source_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/copy.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | try!(fs::create_dir_all(&destination)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/copy.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | for file in try!(source.read_dir()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/copy.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | let file = try!(file); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/copy.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | let metadata = try!(file.metadata()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/copy.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | try!(fs::create_dir_all(&destination_full_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/copy.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(copy_files_and_handle_html(file.path(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/copy.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | try!(fs::copy(&file.path(), &destination_full_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/release_activity_updater.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | let conn = try!(connect_db()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/release_activity_updater.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let rows = try!(conn.query(&format!("SELECT COUNT(*) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/release_activity_updater.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | let failures_count_rows = try!(conn.query( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils/release_activity_updater.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | try!(conn.query("INSERT INTO config (name, value) VALUES ('release_activity', $1)", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | try!(update_sources()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!(self.remove_build_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | let conn = try!(connect_db()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | let pkg = try!(get_package(name, Some(&format!("={}", version)[..]))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | let file_list = try!(self.add_sources_into_database(&conn, &pkg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | try!(self.copy_documentation(&pkg, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | try!(self.copy_documentation(&pkg, &res.rustc_version, Some(target), false)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | try!(self.add_documentation_into_database(&conn, &pkg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | let release_id = try!(add_package_into_database(&conn, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | try!(add_build_into_database(&conn, &release_id, &res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(self.clean(&pkg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `remove_dir_all` is imported redundantly [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::remove_dir_all; [INFO] [stdout] | ----------------------- the item `remove_dir_all` is already imported here [INFO] [stdout] ... [INFO] [stdout] 247 | use std::fs::remove_dir_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:366:19 [INFO] [stdout] | [INFO] [stdout] 366 | let pkg = try!(get_package("acme-client", Some("=0.0.0"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | try!(create_dir_all(&destination)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | try!(copy(&source_path, &destination_path) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | try!(copy(&source_path, &destination_path) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:429:20 [INFO] [stdout] | [INFO] [stdout] 429 | let conn = try!(connect_db()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | try!(add_path_into_database(&conn, "", destination)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | try!(self.clean(&pkg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/chroot_builder.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | try!(conn.query("INSERT INTO config (name, value) VALUES ('rustc_version', $1)", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/crates.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let reader = try!(fs::File::open(path).map(|f| BufReader::new(f))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/crates.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | let obj = try!(data.as_object().ok_or_else(|| err_msg("Not a JSON object"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/crates.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let crate_name = try!(obj.get("name") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/crates.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | let vers = try!(obj.get("vers") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/crates.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | for file in try!(path.read_dir()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/crates.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let file = try!(file); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/crates.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | try!(crates_from_path(&path, func)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/crates.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | try!(crates_from_file(&path, func)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/queue.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let conn = try!(connect_db()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/queue.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let index = try!(Index::from_path_or_cloned(&self.options.crates_io_index_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/queue.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | let mut changes = try!(index.fetch_changes()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/queue.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let conn = try!(connect_db()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/queue.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | for row in &try!(conn.query("SELECT id, name, version [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/mod.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | self.cache.insert(try!(line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(self.load_database_cache()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/mod.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let conn = try!(connect_db()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/mod.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | let mut file = try!(fs::OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/mod.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | try!(writeln!(file, "{}", krate)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/mod.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | try!(fs::OpenOptions::new().write(true).create(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/docbuilder/mod.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | try!(fs::remove_file(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/web/rustdoc.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | let version = try!(match_version(&conn, &name, version) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `time` is imported redundantly [INFO] [stdout] --> src/web/releases.rs:481:21 [INFO] [stdout] | [INFO] [stdout] 13 | use time; [INFO] [stdout] | ---- the item `time` is already imported here [INFO] [stdout] ... [INFO] [stdout] 481 | use time; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `time` is imported redundantly [INFO] [stdout] --> src/web/releases.rs:522:21 [INFO] [stdout] | [INFO] [stdout] 13 | use time; [INFO] [stdout] | ---- the item `time` is already imported here [INFO] [stdout] ... [INFO] [stdout] 522 | use time; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web/mod.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | shared_resource_handler: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/mod.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | router_handler: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/mod.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | database_file_handler: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/mod.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | static_handler: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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/web/mod.rs:86:64 [INFO] [stdout] | [INFO] [stdout] 86 | panic!("Failed to load handlebar templates: {}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [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/web/mod.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 232 | debug!("{}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [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/web/mod.rs:86:64 [INFO] [stdout] | [INFO] [stdout] 86 | panic!("Failed to load handlebar templates: {}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [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/web/mod.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 232 | debug!("{}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [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/web/error.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | f.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [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/web/error.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | f.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/db/mod.rs:181:26 [INFO] [stdout] | [INFO] [stdout] 181 | for query in queries.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 181 | for query in queries.iter() { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 181 | for query in queries { [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/web/page.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | &self.varss.insert(var.to_owned(), val.to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/web/page.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | &self.varsb.insert(var.to_owned(), val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/web/page.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | &self.varsb.insert(var.to_owned(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/web/page.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | &self.varsi.insert(var.to_owned(), val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 158 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/db/mod.rs:181:26 [INFO] [stdout] | [INFO] [stdout] 181 | for query in queries.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 181 | for query in queries.iter() { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 181 | for query in queries { [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/web/page.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | &self.varss.insert(var.to_owned(), val.to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/web/page.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | &self.varsb.insert(var.to_owned(), val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/web/page.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | &self.varsb.insert(var.to_owned(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/web/page.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | &self.varsi.insert(var.to_owned(), val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 158 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 31s [INFO] running `Command { std: "docker" "inspect" "ad485564433e6bde08d0641083fe20cf36b29ac2b97daaf1b4f1e2b12345a856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad485564433e6bde08d0641083fe20cf36b29ac2b97daaf1b4f1e2b12345a856", kill_on_drop: false }` [INFO] [stdout] ad485564433e6bde08d0641083fe20cf36b29ac2b97daaf1b4f1e2b12345a856