[INFO] fetching crate cargo-web 0.6.26... [INFO] testing cargo-web-0.6.26 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cargo-web 0.6.26 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate cargo-web 0.6.26 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-4/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a29c2b9d551aa6686876656ea25b5532bc7fc558603398d57896b2d699b0517 [INFO] running `Command { std: "docker" "start" "-a" "6a29c2b9d551aa6686876656ea25b5532bc7fc558603398d57896b2d699b0517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a29c2b9d551aa6686876656ea25b5532bc7fc558603398d57896b2d699b0517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a29c2b9d551aa6686876656ea25b5532bc7fc558603398d57896b2d699b0517", kill_on_drop: false }` [INFO] [stdout] 6a29c2b9d551aa6686876656ea25b5532bc7fc558603398d57896b2d699b0517 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5362913a970a38927001950e61e7f5fba6c42bab8b35fc70429ed22d670721b [INFO] running `Command { std: "docker" "start" "-a" "f5362913a970a38927001950e61e7f5fba6c42bab8b35fc70429ed22d670721b", 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 serde v1.0.80 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling memoffset v0.2.1 [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 typenum v1.10.0 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling ucd-util v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling encoding_rs v0.8.10 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling byte-tools v0.3.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling opaque-debug v0.2.1 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling open v1.2.2 [INFO] [stderr] Compiling base-x v0.2.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling log v0.4.6 [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 thread_local v0.3.6 [INFO] [stderr] Compiling parity-wasm v0.35.1 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling block-padding v0.1.2 [INFO] [stderr] Compiling walkdir v2.2.6 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling pest v2.0.2 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling crc v1.8.1 [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 filetime v0.2.2 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling dirs-sys v0.3.3 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling openssl-src v111.2.1+1.1.1b [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling tar v0.4.18 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling directories v2.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling pbr v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.45 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling quote v0.6.9 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling http v0.1.13 [INFO] [stderr] Compiling libflate v0.1.18 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling pest_meta v2.0.3 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling mime v0.3.12 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling tempfile v3.0.4 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.8 [INFO] [stderr] Compiling tokio-timer v0.2.7 [INFO] [stderr] Compiling tokio-current-thread v0.1.3 [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 mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling pest_generator v2.0.0 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling h2 v0.1.13 [INFO] [stderr] Compiling env_logger v0.6.0 [INFO] [stderr] Compiling pest_derive v2.0.1 [INFO] [stderr] Compiling synstructure v0.10.1 [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 rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling structopt-derive v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling structopt v0.2.15 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-uds v0.2.3 [INFO] [stderr] Compiling inotify v0.6.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 cargo_metadata v0.6.1 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.2.0 [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/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/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: 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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.32s [INFO] running `Command { std: "docker" "inspect" "f5362913a970a38927001950e61e7f5fba6c42bab8b35fc70429ed22d670721b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5362913a970a38927001950e61e7f5fba6c42bab8b35fc70429ed22d670721b", kill_on_drop: false }` [INFO] [stdout] f5362913a970a38927001950e61e7f5fba6c42bab8b35fc70429ed22d670721b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a88095dc9e2297ad3ff0c34f54716f939fd50d3dca984bf92a23f1c9acce29ef [INFO] running `Command { std: "docker" "start" "-a" "a88095dc9e2297ad3ff0c34f54716f939fd50d3dca984bf92a23f1c9acce29ef", kill_on_drop: false }` [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/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: 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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [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/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/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: 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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.94s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargo_web-c9a29a3e9ec4e66a) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_web-ae5b5b5b3fd1e7db) [INFO] running `Command { std: "docker" "inspect" "a88095dc9e2297ad3ff0c34f54716f939fd50d3dca984bf92a23f1c9acce29ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a88095dc9e2297ad3ff0c34f54716f939fd50d3dca984bf92a23f1c9acce29ef", kill_on_drop: false }` [INFO] [stdout] a88095dc9e2297ad3ff0c34f54716f939fd50d3dca984bf92a23f1c9acce29ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a8057e758b6a564747e0254d255febb88c21e616f18d0fc1a7b43a99f8a89353 [INFO] running `Command { std: "docker" "start" "-a" "a8057e758b6a564747e0254d255febb88c21e616f18d0fc1a7b43a99f8a89353", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/http_utils.rs:54:27 [INFO] [stderr] | [INFO] [stderr] 54 | pub type FnHandler = Box< Fn( Request< hyper::Body > ) -> ResponseFuture + Send + Sync >; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 54 - pub type FnHandler = Box< Fn( Request< hyper::Body > ) -> ResponseFuture + Send + Sync >; [INFO] [stderr] 54 + pub type FnHandler = Box< dyn Fn( Request< hyper::Body > ) -> ResponseFuture + Send + Sync >; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/http_utils.rs:53:32 [INFO] [stderr] | [INFO] [stderr] 53 | pub type ResponseFuture = Box< Future< Item = Response< Body >, Error = hyper::Error > + Send >; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 53 - pub type ResponseFuture = Box< Future< Item = Response< Body >, Error = hyper::Error > + Send >; [INFO] [stderr] 53 + pub type ResponseFuture = Box< dyn Future< Item = Response< Body >, Error = hyper::Error > + Send >; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:12:32 [INFO] [stderr] | [INFO] [stderr] 12 | RuntimeError( String, Box< error::Error > ), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 12 - RuntimeError( String, Box< error::Error > ), [INFO] [stderr] 12 + RuntimeError( String, Box< dyn error::Error > ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:23:17 [INFO] [stderr] | [INFO] [stderr] 23 | Other( Box< error::Error > ) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 23 - Other( Box< error::Error > ) [INFO] [stderr] 23 + Other( Box< dyn error::Error > ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:53:17 [INFO] [stderr] | [INFO] [stderr] 53 | impl From< Box< error::Error > > for Error { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 53 - impl From< Box< error::Error > > for Error { [INFO] [stderr] 53 + impl From< Box< dyn error::Error > > for Error { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:54:24 [INFO] [stderr] | [INFO] [stderr] 54 | fn from( err: Box< error::Error > ) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 54 - fn from( err: Box< error::Error > ) -> Self { [INFO] [stderr] 54 + fn from( err: Box< dyn error::Error > ) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/http_utils.rs:55:31 [INFO] [stderr] | [INFO] [stderr] 55 | pub type ServiceFuture = Box< Future< Item = SimpleService, Error = hyper::Error > + Send >; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 55 - pub type ServiceFuture = Box< Future< Item = SimpleService, Error = hyper::Error > + Send >; [INFO] [stderr] 55 + pub type ServiceFuture = Box< dyn Future< Item = SimpleService, Error = hyper::Error > + Send >; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/cargo_shim/mod.rs:267:86 [INFO] [stderr] | [INFO] [stderr] 267 | Error::CannotLaunchCargo( ref err ) => write!( formatter, "{}: {}", self.description(), err ), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/cargo_shim/mod.rs:268:80 [INFO] [stderr] | [INFO] [stderr] 268 | Error::CargoFailed( ref err ) => write!( formatter, "{}: {}", self.description(), err ), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/cargo_shim/mod.rs:269:91 [INFO] [stderr] | [INFO] [stderr] 269 | Error::CannotParseCargoOutput( ref err ) => write!( formatter, "{}: {}", self.description(), err ) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/chrome_devtools.rs:34:93 [INFO] [stderr] | [INFO] [stderr] 34 | ConnectionError::FailedToFetchUrl( ref message ) => write!( fmt, "{}: {}", self.description(), message ), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/chrome_devtools.rs:35:91 [INFO] [stderr] | [INFO] [stderr] 35 | ConnectionError::WebSocketError( ref message ) => write!( fmt, "{}: {}", self.description(), message ) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/chrome_devtools.rs:70:84 [INFO] [stderr] | [INFO] [stderr] 70 | CommunicationError::Send( ref message ) => write!( fmt, "{}: {}", self.description(), message ), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/chrome_devtools.rs:71:84 [INFO] [stderr] | [INFO] [stderr] 71 | CommunicationError::Recv( ref message ) => write!( fmt, "{}: {}", self.description(), message ) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/chrome_devtools.rs:98:60 [INFO] [stderr] | [INFO] [stderr] 98 | ReplyError::Timeout => write!( fmt, "{}", self.description() ), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/chrome_devtools.rs:99:86 [INFO] [stderr] | [INFO] [stderr] 99 | ReplyError::MalformedMessage( ref error ) => write!( fmt, "{}: {}", self.description(), error ), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/chrome_devtools.rs:100:83 [INFO] [stderr] | [INFO] [stderr] 100 | ReplyError::MalformedJson( ref error ) => write!( fmt, "{}: {}", self.description(), error ), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/chrome_devtools.rs:101:88 [INFO] [stderr] | [INFO] [stderr] 101 | ReplyError::CommunicationError( ref error ) => write!( fmt, "{}: {}", self.description(), error ) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:35:57 [INFO] [stderr] | [INFO] [stderr] 35 | Error::CargoShimError( ref error ) => error.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:42:48 [INFO] [stderr] | [INFO] [stderr] 42 | Error::Other( ref error ) => error.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:75:87 [INFO] [stderr] | [INFO] [stderr] 75 | &Error::RuntimeError( _, ref inner ) => write!( formatter, "{}: {}", self.description(), inner ), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:85:48 [INFO] [stderr] | [INFO] [stderr] 85 | _ => write!( formatter, "{}", self.description() ) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/cargo_shim/mod.rs:924:13 [INFO] [stderr] | [INFO] [stderr] 924 | for mut artifact in artifacts { [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/wasm_context.rs:541:38 [INFO] [stderr] | [INFO] [stderr] 541 | pw::Section::Export( mut section ) => { [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/wasm_context.rs:579:40 [INFO] [stderr] | [INFO] [stderr] 579 | pw::Section::Function( mut section ) => { [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `test` [INFO] [stderr] --> src/lib.rs:272:5 [INFO] [stderr] | [INFO] [stderr] 272 | test: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Target` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib.rs:258:10 [INFO] [stderr] | [INFO] [stderr] 258 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Bench` [INFO] [stderr] --> src/cargo_shim/mod.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | Bench [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Profile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cargo_shim/mod.rs:33:16 [INFO] [stderr] | [INFO] [stderr] 33 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `default_package` [INFO] [stderr] --> src/cargo_shim/mod.rs:448:12 [INFO] [stderr] | [INFO] [stderr] 448 | pub fn default_package( &self ) -> Option< &CargoPackage > { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `used_packages` [INFO] [stderr] --> src/cargo_shim/mod.rs:452:12 [INFO] [stderr] | [INFO] [stderr] 452 | pub fn used_packages( &self, triplet: &str, main_package: &CargoPackage, profile: Profile ) -> Vec< &CargoPackage > { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/package.rs:104:35 [INFO] [stderr] | [INFO] [stderr] 104 | Err( err ) => panic!( err ) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 104 | Err( err ) => panic!( "{}", err ) [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 104 | Err( err ) => std::panic::panic_any( err ) [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: `cargo-web` (lib) generated 30 warnings [INFO] [stderr] warning: `cargo-web` (lib test) generated 30 warnings (30 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargo_web-c9a29a3e9ec4e66a) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test cargo_shim::diagnostic_formatter::test_basic_multiline ... ok [INFO] [stdout] test cargo_shim::diagnostic_formatter::test_basic_error ... ok [INFO] [stdout] test cargo_shim::diagnostic_formatter::test_long_multiline ... ok [INFO] [stdout] test wasm_context::test_function_import_removal ... ok [INFO] [stdout] test wasm_context::test_serialization_deserialization ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_web-ae5b5b5b3fd1e7db) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests cargo-web [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a8057e758b6a564747e0254d255febb88c21e616f18d0fc1a7b43a99f8a89353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8057e758b6a564747e0254d255febb88c21e616f18d0fc1a7b43a99f8a89353", kill_on_drop: false }` [INFO] [stdout] a8057e758b6a564747e0254d255febb88c21e616f18d0fc1a7b43a99f8a89353