[INFO] fetching crate cargo-web 0.6.26... [INFO] building cargo-web-0.6.26 against master#d5c88c22807925c189328ef9d923c5d2b11a95b8 for pr-87066-3 [INFO] extracting crate cargo-web 0.6.26 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate cargo-web 0.6.26 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-web 0.6.26 [INFO] finished tweaking crates.io crate cargo-web 0.6.26 [INFO] tweaked toml for crates.io crate cargo-web 0.6.26 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate cargo-web 0.6.26 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9f46fe6a1335492ad4bbae063c1fb8cb90ab4bae31260aa322c43035c82eb57d [INFO] running `Command { std: "docker" "start" "-a" "9f46fe6a1335492ad4bbae063c1fb8cb90ab4bae31260aa322c43035c82eb57d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f46fe6a1335492ad4bbae063c1fb8cb90ab4bae31260aa322c43035c82eb57d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f46fe6a1335492ad4bbae063c1fb8cb90ab4bae31260aa322c43035c82eb57d", kill_on_drop: false }` [INFO] [stdout] 9f46fe6a1335492ad4bbae063c1fb8cb90ab4bae31260aa322c43035c82eb57d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a5f11f928d00eea6796ffc161b877f49801a8a369b23c7a8dba00dded78db34 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0a5f11f928d00eea6796ffc161b877f49801a8a369b23c7a8dba00dded78db34", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling openssl v0.10.13 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling ucd-util v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling byte-tools v0.3.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.10 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling opaque-debug v0.2.1 [INFO] [stderr] Compiling open v1.2.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling base-x v0.2.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling parity-wasm v0.35.1 [INFO] [stderr] Compiling openssl-src v111.2.1+1.1.1b [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling filetime v0.2.2 [INFO] [stderr] Compiling dirs-sys v0.3.3 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling pest v2.0.2 [INFO] [stderr] Compiling block-padding v0.1.2 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling walkdir v2.2.6 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling directories v2.0.1 [INFO] [stderr] Compiling tar v0.4.18 [INFO] [stderr] Compiling pbr v1.0.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling openssl-sys v0.9.45 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling http v0.1.13 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling tokio-timer v0.2.7 [INFO] [stderr] Compiling tokio-current-thread v0.1.3 [INFO] [stderr] Compiling quote v0.6.9 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling pest_meta v2.0.3 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling tempfile v3.0.4 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.8 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling libflate v0.1.18 [INFO] [stderr] Compiling mime v0.3.12 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling hyper v0.10.15 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.32 [INFO] [stderr] Compiling serde_urlencoded v0.5.3 [INFO] [stderr] Compiling toml v0.4.8 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling h2 v0.1.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling pest_generator v2.0.0 [INFO] [stderr] Compiling env_logger v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.3 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling inotify v0.6.1 [INFO] [stderr] Compiling pest_derive v2.0.1 [INFO] [stderr] Compiling tokio v0.1.11 [INFO] [stderr] Compiling notify v4.0.6 [INFO] [stderr] Compiling hyper v0.12.13 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling structopt-derive v0.2.15 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling structopt v0.2.15 [INFO] [stderr] Compiling cargo_metadata v0.6.1 [INFO] [stderr] Compiling tokio-tls v0.2.0 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling websocket v0.21.1 [INFO] [stderr] Compiling reqwest v0.9.4 [INFO] [stderr] Compiling cargo-web v0.6.26 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future< Item = Response< Body >, Error = hyper::Error > + Send` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn( Request< hyper::Body > ) -> ResponseFuture + Send + Sync` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future< Item = SimpleService, Error = hyper::Error > + Send` [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] [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/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: 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: 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: `#[warn(dead_code)]` on by default [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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 27s [INFO] running `Command { std: "docker" "inspect" "0a5f11f928d00eea6796ffc161b877f49801a8a369b23c7a8dba00dded78db34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a5f11f928d00eea6796ffc161b877f49801a8a369b23c7a8dba00dded78db34", kill_on_drop: false }` [INFO] [stdout] 0a5f11f928d00eea6796ffc161b877f49801a8a369b23c7a8dba00dded78db34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3d3b56471488083b0f511541f03cf413f53c5e6c11c55e26a1e563e3100c944d [INFO] running `Command { std: "docker" "start" "-a" "3d3b56471488083b0f511541f03cf413f53c5e6c11c55e26a1e563e3100c944d", kill_on_drop: false }` [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future< Item = Response< Body >, Error = hyper::Error > + Send` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn( Request< hyper::Body > ) -> ResponseFuture + Send + Sync` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future< Item = SimpleService, Error = hyper::Error > + Send` [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] [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/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] [stderr] Compiling cargo-web v0.6.26 (/opt/rustwide/workdir) [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: 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: 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: `#[warn(dead_code)]` on by default [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: 29 warnings emitted [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future< Item = Response< Body >, Error = hyper::Error > + Send` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn( Request< hyper::Body > ) -> ResponseFuture + Send + Sync` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future< Item = SimpleService, Error = hyper::Error > + Send` [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] [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/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: 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: 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: `#[warn(dead_code)]` on by default [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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.23s [INFO] running `Command { std: "docker" "inspect" "3d3b56471488083b0f511541f03cf413f53c5e6c11c55e26a1e563e3100c944d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d3b56471488083b0f511541f03cf413f53c5e6c11c55e26a1e563e3100c944d", kill_on_drop: false }` [INFO] [stdout] 3d3b56471488083b0f511541f03cf413f53c5e6c11c55e26a1e563e3100c944d