[INFO] cloning repository https://github.com/koute/cargo-web [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/koute/cargo-web" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoute%2Fcargo-web", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoute%2Fcargo-web'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ddd9bbb567b8d4893e923cba8ad03806d383d80 [INFO] checking koute/cargo-web against master#1be5c8f90912c446ecbdc405cbc4a89f9acd20fd for pr-93394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoute%2Fcargo-web" "/workspace/builds/worker-80/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-80/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/koute/cargo-web on toolchain 1be5c8f90912c446ecbdc405cbc4a89f9acd20fd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1be5c8f90912c446ecbdc405cbc4a89f9acd20fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/koute/cargo-web [INFO] finished tweaking git repo https://github.com/koute/cargo-web [INFO] tweaked toml for git repo https://github.com/koute/cargo-web written to /workspace/builds/worker-80/source/Cargo.toml [INFO] crate git repo https://github.com/koute/cargo-web already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1be5c8f90912c446ecbdc405cbc4a89f9acd20fd" "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-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1be5c8f90912c446ecbdc405cbc4a89f9acd20fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16d0976aeaa933e5d0a1bdb53ba9a75326e9d040c1f542b893e22efa45976924 [INFO] running `Command { std: "docker" "start" "-a" "16d0976aeaa933e5d0a1bdb53ba9a75326e9d040c1f542b893e22efa45976924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16d0976aeaa933e5d0a1bdb53ba9a75326e9d040c1f542b893e22efa45976924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16d0976aeaa933e5d0a1bdb53ba9a75326e9d040c1f542b893e22efa45976924", kill_on_drop: false }` [INFO] [stdout] 16d0976aeaa933e5d0a1bdb53ba9a75326e9d040c1f542b893e22efa45976924 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1be5c8f90912c446ecbdc405cbc4a89f9acd20fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cddb9b307da4e9ada4477a29a271bedffebe395196f473a850671173772bdb9f [INFO] running `Command { std: "docker" "start" "-a" "cddb9b307da4e9ada4477a29a271bedffebe395196f473a850671173772bdb9f", 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] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazycell v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling openssl v0.10.13 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking string v0.1.1 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking ucd-util v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.10 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking byte-tools v0.3.0 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking opaque-debug v0.2.1 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking open v1.2.2 [INFO] [stderr] Checking base-x v0.2.3 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking parity-wasm v0.35.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking block-padding v0.1.2 [INFO] [stderr] Checking walkdir v2.2.6 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Compiling pest v2.0.2 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking filetime v0.2.2 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking dirs-sys v0.3.3 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling openssl-src v111.2.1+1.1.1b [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling quote v0.6.9 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking directories v2.0.1 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Compiling pest_meta v2.0.3 [INFO] [stderr] Checking tar v0.4.18 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking tokio-executor v0.1.5 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking crossbeam-deque v0.6.1 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Checking pbr v1.0.1 [INFO] [stderr] Checking mime v0.3.12 [INFO] [stderr] Checking tokio-current-thread v0.1.3 [INFO] [stderr] Checking tokio-timer v0.2.7 [INFO] [stderr] Checking libflate v0.1.18 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking tokio-io v0.1.10 [INFO] [stderr] Checking http v0.1.13 [INFO] [stderr] Checking phf v0.7.23 [INFO] [stderr] Compiling openssl-sys v0.9.45 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-threadpool v0.1.8 [INFO] [stderr] Checking uuid v0.7.1 [INFO] [stderr] Checking tempfile v3.0.4 [INFO] [stderr] Checking digest v0.8.0 [INFO] [stderr] Checking block-buffer v0.7.0 [INFO] [stderr] Checking url v1.7.1 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Checking tokio-fs v0.1.4 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking hyper v0.10.15 [INFO] [stderr] Compiling pest_generator v2.0.0 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Checking h2 v0.1.13 [INFO] [stderr] Checking env_logger v0.6.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling pest_derive v2.0.1 [INFO] [stderr] Checking serde_json v1.0.32 [INFO] [stderr] Checking serde_urlencoded v0.5.3 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking toml v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling structopt-derive v0.2.15 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking structopt v0.2.15 [INFO] [stderr] Checking tokio-reactor v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.3 [INFO] [stderr] Checking tokio-udp v0.1.2 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking inotify v0.6.1 [INFO] [stderr] Checking tokio v0.1.11 [INFO] [stderr] Checking notify v4.0.6 [INFO] [stderr] Checking hyper v0.12.13 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking cargo_metadata v0.6.1 [INFO] [stderr] Checking tokio-tls v0.2.0 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Checking websocket v0.21.1 [INFO] [stderr] Checking reqwest v0.9.4 [INFO] [stderr] Checking cargo-web v0.6.26 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/wasm.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http_utils.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | pub type FnHandler = Box< Fn( Request< hyper::Body > ) -> ResponseFuture + Send + Sync >; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - pub type FnHandler = Box< Fn( Request< hyper::Body > ) -> ResponseFuture + Send + Sync >; [INFO] [stdout] 54 + pub type FnHandler = Box< dyn Fn( Request< hyper::Body > ) -> ResponseFuture + Send + Sync >; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http_utils.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | pub type ResponseFuture = Box< Future< Item = Response< Body >, Error = hyper::Error > + Send >; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - pub type ResponseFuture = Box< Future< Item = Response< Body >, Error = hyper::Error > + Send >; [INFO] [stdout] 53 + pub type ResponseFuture = Box< dyn Future< Item = Response< Body >, Error = hyper::Error > + Send >; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | RuntimeError( String, Box< error::Error > ), [INFO] [stdout] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - RuntimeError( String, Box< error::Error > ), [INFO] [stdout] 12 + RuntimeError( String, Box< dyn error::Error > ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Other( Box< error::Error > ) [INFO] [stdout] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - Other( Box< error::Error > ) [INFO] [stdout] 23 + Other( Box< dyn error::Error > ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | impl From< Box< error::Error > > for Error { [INFO] [stdout] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - impl From< Box< error::Error > > for Error { [INFO] [stdout] 53 + impl From< Box< dyn error::Error > > for Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn from( err: Box< error::Error > ) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - fn from( err: Box< error::Error > ) -> Self { [INFO] [stdout] 54 + fn from( err: Box< dyn error::Error > ) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http_utils.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | pub type ServiceFuture = Box< Future< Item = SimpleService, Error = hyper::Error > + Send >; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - pub type ServiceFuture = Box< Future< Item = SimpleService, Error = hyper::Error > + Send >; [INFO] [stdout] 55 + pub type ServiceFuture = Box< dyn Future< Item = SimpleService, Error = hyper::Error > + Send >; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/wasm.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http_utils.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | pub type FnHandler = Box< Fn( Request< hyper::Body > ) -> ResponseFuture + Send + Sync >; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - pub type FnHandler = Box< Fn( Request< hyper::Body > ) -> ResponseFuture + Send + Sync >; [INFO] [stdout] 54 + pub type FnHandler = Box< dyn Fn( Request< hyper::Body > ) -> ResponseFuture + Send + Sync >; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http_utils.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | pub type ResponseFuture = Box< Future< Item = Response< Body >, Error = hyper::Error > + Send >; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - pub type ResponseFuture = Box< Future< Item = Response< Body >, Error = hyper::Error > + Send >; [INFO] [stdout] 53 + pub type ResponseFuture = Box< dyn Future< Item = Response< Body >, Error = hyper::Error > + Send >; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | RuntimeError( String, Box< error::Error > ), [INFO] [stdout] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - RuntimeError( String, Box< error::Error > ), [INFO] [stdout] 12 + RuntimeError( String, Box< dyn error::Error > ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Other( Box< error::Error > ) [INFO] [stdout] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - Other( Box< error::Error > ) [INFO] [stdout] 23 + Other( Box< dyn error::Error > ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | impl From< Box< error::Error > > for Error { [INFO] [stdout] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - impl From< Box< error::Error > > for Error { [INFO] [stdout] 53 + impl From< Box< dyn error::Error > > for Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn from( err: Box< error::Error > ) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - fn from( err: Box< error::Error > ) -> Self { [INFO] [stdout] 54 + fn from( err: Box< dyn error::Error > ) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http_utils.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | pub type ServiceFuture = Box< Future< Item = SimpleService, Error = hyper::Error > + Send >; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - pub type ServiceFuture = Box< Future< Item = SimpleService, Error = hyper::Error > + Send >; [INFO] [stdout] 55 + pub type ServiceFuture = Box< dyn Future< Item = SimpleService, Error = hyper::Error > + Send >; [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/cargo_shim/mod.rs:267:86 [INFO] [stdout] | [INFO] [stdout] 267 | Error::CannotLaunchCargo( ref err ) => write!( formatter, "{}: {}", self.description(), err ), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/cargo_shim/mod.rs:268:80 [INFO] [stdout] | [INFO] [stdout] 268 | Error::CargoFailed( ref err ) => write!( formatter, "{}: {}", self.description(), err ), [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/cargo_shim/mod.rs:269:91 [INFO] [stdout] | [INFO] [stdout] 269 | Error::CannotParseCargoOutput( ref err ) => write!( formatter, "{}: {}", self.description(), err ) [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/chrome_devtools.rs:34:93 [INFO] [stdout] | [INFO] [stdout] 34 | ConnectionError::FailedToFetchUrl( ref message ) => write!( fmt, "{}: {}", self.description(), message ), [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/chrome_devtools.rs:35:91 [INFO] [stdout] | [INFO] [stdout] 35 | ConnectionError::WebSocketError( ref message ) => write!( fmt, "{}: {}", self.description(), message ) [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/chrome_devtools.rs:70:84 [INFO] [stdout] | [INFO] [stdout] 70 | CommunicationError::Send( ref message ) => write!( fmt, "{}: {}", self.description(), message ), [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/chrome_devtools.rs:71:84 [INFO] [stdout] | [INFO] [stdout] 71 | CommunicationError::Recv( ref message ) => write!( fmt, "{}: {}", self.description(), message ) [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/chrome_devtools.rs:98:60 [INFO] [stdout] | [INFO] [stdout] 98 | ReplyError::Timeout => write!( fmt, "{}", 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/chrome_devtools.rs:99:86 [INFO] [stdout] | [INFO] [stdout] 99 | ReplyError::MalformedMessage( ref error ) => write!( fmt, "{}: {}", self.description(), error ), [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/chrome_devtools.rs:100:83 [INFO] [stdout] | [INFO] [stdout] 100 | ReplyError::MalformedJson( ref error ) => write!( fmt, "{}: {}", self.description(), error ), [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/chrome_devtools.rs:101:88 [INFO] [stdout] | [INFO] [stdout] 101 | ReplyError::CommunicationError( ref error ) => write!( fmt, "{}: {}", self.description(), error ) [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/cargo_shim/mod.rs:267:86 [INFO] [stdout] | [INFO] [stdout] 267 | Error::CannotLaunchCargo( ref err ) => write!( formatter, "{}: {}", self.description(), err ), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/cargo_shim/mod.rs:268:80 [INFO] [stdout] | [INFO] [stdout] 268 | Error::CargoFailed( ref err ) => write!( formatter, "{}: {}", self.description(), err ), [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/cargo_shim/mod.rs:269:91 [INFO] [stdout] | [INFO] [stdout] 269 | Error::CannotParseCargoOutput( ref err ) => write!( formatter, "{}: {}", self.description(), err ) [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/error.rs:35:57 [INFO] [stdout] | [INFO] [stdout] 35 | Error::CargoShimError( ref error ) => error.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/error.rs:42:48 [INFO] [stdout] | [INFO] [stdout] 42 | Error::Other( ref error ) => error.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/error.rs:75:87 [INFO] [stdout] | [INFO] [stdout] 75 | &Error::RuntimeError( _, ref inner ) => write!( formatter, "{}: {}", self.description(), inner ), [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/error.rs:85:48 [INFO] [stdout] | [INFO] [stdout] 85 | _ => write!( formatter, "{}", 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/chrome_devtools.rs:34:93 [INFO] [stdout] | [INFO] [stdout] 34 | ConnectionError::FailedToFetchUrl( ref message ) => write!( fmt, "{}: {}", self.description(), message ), [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/chrome_devtools.rs:35:91 [INFO] [stdout] | [INFO] [stdout] 35 | ConnectionError::WebSocketError( ref message ) => write!( fmt, "{}: {}", self.description(), message ) [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/chrome_devtools.rs:70:84 [INFO] [stdout] | [INFO] [stdout] 70 | CommunicationError::Send( ref message ) => write!( fmt, "{}: {}", self.description(), message ), [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/chrome_devtools.rs:71:84 [INFO] [stdout] | [INFO] [stdout] 71 | CommunicationError::Recv( ref message ) => write!( fmt, "{}: {}", self.description(), message ) [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/chrome_devtools.rs:98:60 [INFO] [stdout] | [INFO] [stdout] 98 | ReplyError::Timeout => write!( fmt, "{}", 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/chrome_devtools.rs:99:86 [INFO] [stdout] | [INFO] [stdout] 99 | ReplyError::MalformedMessage( ref error ) => write!( fmt, "{}: {}", self.description(), error ), [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/chrome_devtools.rs:100:83 [INFO] [stdout] | [INFO] [stdout] 100 | ReplyError::MalformedJson( ref error ) => write!( fmt, "{}: {}", self.description(), error ), [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/chrome_devtools.rs:101:88 [INFO] [stdout] | [INFO] [stdout] 101 | ReplyError::CommunicationError( ref error ) => write!( fmt, "{}: {}", self.description(), error ) [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/error.rs:35:57 [INFO] [stdout] | [INFO] [stdout] 35 | Error::CargoShimError( ref error ) => error.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/error.rs:42:48 [INFO] [stdout] | [INFO] [stdout] 42 | Error::Other( ref error ) => error.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/error.rs:75:87 [INFO] [stdout] | [INFO] [stdout] 75 | &Error::RuntimeError( _, ref inner ) => write!( formatter, "{}: {}", self.description(), inner ), [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/error.rs:85:48 [INFO] [stdout] | [INFO] [stdout] 85 | _ => write!( formatter, "{}", self.description() ) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/wasm.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cargo_shim/mod.rs:924:13 [INFO] [stdout] | [INFO] [stdout] 924 | for mut artifact in artifacts { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/wasm.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cargo_shim/mod.rs:924:13 [INFO] [stdout] | [INFO] [stdout] 924 | for mut artifact in artifacts { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wasm_context.rs:541:38 [INFO] [stdout] | [INFO] [stdout] 541 | pw::Section::Export( mut section ) => { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wasm_context.rs:579:40 [INFO] [stdout] | [INFO] [stdout] 579 | pw::Section::Function( mut section ) => { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wasm_context.rs:541:38 [INFO] [stdout] | [INFO] [stdout] 541 | pw::Section::Export( mut section ) => { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wasm_context.rs:579:40 [INFO] [stdout] | [INFO] [stdout] 579 | pw::Section::Function( mut section ) => { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `test` [INFO] [stdout] --> src/lib.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | test: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Target` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:258:10 [INFO] [stdout] | [INFO] [stdout] 258 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bench` [INFO] [stdout] --> src/cargo_shim/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Bench [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Profile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cargo_shim/mod.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default_package` [INFO] [stdout] --> src/cargo_shim/mod.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn default_package( &self ) -> Option< &CargoPackage > { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `used_packages` [INFO] [stdout] --> src/cargo_shim/mod.rs:452:12 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn used_packages( &self, triplet: &str, main_package: &CargoPackage, profile: Profile ) -> Vec< &CargoPackage > { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/package.rs:104:35 [INFO] [stdout] | [INFO] [stdout] 104 | Err( err ) => panic!( err ) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 104 | Err( err ) => panic!( "{}", err ) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 104 | Err( err ) => std::panic::panic_any( err ) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `test` [INFO] [stdout] --> src/lib.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | test: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Target` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:258:10 [INFO] [stdout] | [INFO] [stdout] 258 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bench` [INFO] [stdout] --> src/cargo_shim/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Bench [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Profile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cargo_shim/mod.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default_package` [INFO] [stdout] --> src/cargo_shim/mod.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn default_package( &self ) -> Option< &CargoPackage > { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `used_packages` [INFO] [stdout] --> src/cargo_shim/mod.rs:452:12 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn used_packages( &self, triplet: &str, main_package: &CargoPackage, profile: Profile ) -> Vec< &CargoPackage > { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/package.rs:104:35 [INFO] [stdout] | [INFO] [stdout] 104 | Err( err ) => panic!( err ) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 104 | Err( err ) => panic!( "{}", err ) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 104 | Err( err ) => std::panic::panic_any( err ) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 54.36s [INFO] running `Command { std: "docker" "inspect" "cddb9b307da4e9ada4477a29a271bedffebe395196f473a850671173772bdb9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cddb9b307da4e9ada4477a29a271bedffebe395196f473a850671173772bdb9f", kill_on_drop: false }` [INFO] [stdout] cddb9b307da4e9ada4477a29a271bedffebe395196f473a850671173772bdb9f