[INFO] fetching crate google-kgsearch1 1.0.4+20151215... [INFO] testing google-kgsearch1-1.0.4+20151215 against 1.55.0 for beta-1.56-2 [INFO] extracting crate google-kgsearch1 1.0.4+20151215 into /workspace/builds/worker-75/source [INFO] validating manifest of crates.io crate google-kgsearch1 1.0.4+20151215 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate google-kgsearch1 1.0.4+20151215 [INFO] finished tweaking crates.io crate google-kgsearch1 1.0.4+20151215 [INFO] tweaked toml for crates.io crate google-kgsearch1 1.0.4+20151215 written to /workspace/builds/worker-75/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92491b7a98ac89c1d93356cc5bb5d93fb1d6a7a2d7a7b2f94674b5868ad240b1 [INFO] running `Command { std: "docker" "start" "-a" "92491b7a98ac89c1d93356cc5bb5d93fb1d6a7a2d7a7b2f94674b5868ad240b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92491b7a98ac89c1d93356cc5bb5d93fb1d6a7a2d7a7b2f94674b5868ad240b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92491b7a98ac89c1d93356cc5bb5d93fb1d6a7a2d7a7b2f94674b5868ad240b1", kill_on_drop: false }` [INFO] [stdout] 92491b7a98ac89c1d93356cc5bb5d93fb1d6a7a2d7a7b2f94674b5868ad240b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0771aedb3ff73382a37c430d79545fde1dde0c666c3a0048e420760af42288a9 [INFO] running `Command { std: "docker" "start" "-a" "0771aedb3ff73382a37c430d79545fde1dde0c666c3a0048e420760af42288a9", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling unicode-bidi v0.2.6 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling uuid v0.2.3 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling url v0.5.10 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hyper-native-tls v0.3.0 [INFO] [stderr] Compiling yup-oauth2 v1.0.12 [INFO] [stderr] Compiling google-kgsearch1 v1.0.4+20151215 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/cmn.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | fn begin(&mut self, MethodInfo) {} [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: MethodInfo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/cmn.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | fn http_error(&mut self, &hyper::Error) -> Retry { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &hyper::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | fn token(&mut self, err: &error::Error) -> Option { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/cmn.rs:213:61 [INFO] [stdout] | [INFO] [stdout] 213 | fn http_failure(&mut self, _: &hyper::client::Response, Option, _: Option) -> Retry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | MissingToken(Box), [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmn.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmn.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | try!(writeln!(f, " {}: {}, {}{}", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:342:32 [INFO] [stdout] | [INFO] [stdout] 342 | fn cause(&self) -> Option<&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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:368:38 [INFO] [stdout] | [INFO] [stdout] 368 | raw_parts: Vec<(Headers, &'a mut Read)>, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:369:52 [INFO] [stdout] | [INFO] [stdout] 369 | current_part: Option<(Cursor>, &'a mut Read)>, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:391:48 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn add_part(&mut self, reader: &'a mut Read, size: u64, mime_type: Mime) -> &mut MultiPartReader<'a> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmn.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | try!(fmt.write_str("bytes ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmn.rs:574:28 [INFO] [stdout] | [INFO] [stdout] 574 | Some(ref c) => try!(c.fmt(fmt)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmn.rs:575:21 [INFO] [stdout] | [INFO] [stdout] 575 | None => try!(fmt.write_str("*")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:616:27 [INFO] [stdout] | [INFO] [stdout] 616 | pub delegate: &'a mut Delegate, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Delegate` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:622:25 [INFO] [stdout] | [INFO] [stdout] 622 | pub reader: &'a mut ReadSeek, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:466:31 [INFO] [stdout] | [INFO] [stdout] 466 | _delegate: Option<&'a mut Delegate>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Delegate` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:480:27 [INFO] [stdout] | [INFO] [stdout] 480 | let mut dlg: &mut Delegate = match self._delegate { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Delegate` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:486:66 [INFO] [stdout] | [INFO] [stdout] 486 | let mut params: Vec<(&str, String)> = Vec::with_capacity((9 + self._additional_params.len())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:661:50 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> EntitySearchCall<'a, C, A> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Delegate` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cmn.rs:336:46 [INFO] [stdout] | [INFO] [stdout] 336 | Error::HttpError(ref err) => err.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/cmn.rs:337:55 [INFO] [stdout] | [INFO] [stdout] 337 | Error::JsonDecodeError(_, ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/cmn.rs:344:46 [INFO] [stdout] | [INFO] [stdout] 344 | Error::HttpError(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/cmn.rs:345:55 [INFO] [stdout] | [INFO] [stdout] 345 | Error::JsonDecodeError(_, ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.48s [INFO] running `Command { std: "docker" "inspect" "0771aedb3ff73382a37c430d79545fde1dde0c666c3a0048e420760af42288a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0771aedb3ff73382a37c430d79545fde1dde0c666c3a0048e420760af42288a9", kill_on_drop: false }` [INFO] [stdout] 0771aedb3ff73382a37c430d79545fde1dde0c666c3a0048e420760af42288a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f757ceb63fe007dfb6989e5fd580d663600dd2df2f5416d090f00dfd8d9a45e [INFO] running `Command { std: "docker" "start" "-a" "5f757ceb63fe007dfb6989e5fd580d663600dd2df2f5416d090f00dfd8d9a45e", kill_on_drop: false }` [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/cmn.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | fn begin(&mut self, MethodInfo) {} [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: MethodInfo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/cmn.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | fn http_error(&mut self, &hyper::Error) -> Retry { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &hyper::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | fn token(&mut self, err: &error::Error) -> Option { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/cmn.rs:213:61 [INFO] [stdout] | [INFO] [stdout] 213 | fn http_failure(&mut self, _: &hyper::client::Response, Option, _: Option) -> Retry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | MissingToken(Box), [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmn.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmn.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | try!(writeln!(f, " {}: {}, {}{}", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:342:32 [INFO] [stdout] | [INFO] [stdout] 342 | fn cause(&self) -> Option<&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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:368:38 [INFO] [stdout] | [INFO] [stdout] 368 | raw_parts: Vec<(Headers, &'a mut Read)>, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:369:52 [INFO] [stdout] | [INFO] [stdout] 369 | current_part: Option<(Cursor>, &'a mut Read)>, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:391:48 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn add_part(&mut self, reader: &'a mut Read, size: u64, mime_type: Mime) -> &mut MultiPartReader<'a> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmn.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | try!(fmt.write_str("bytes ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmn.rs:574:28 [INFO] [stdout] | [INFO] [stdout] 574 | Some(ref c) => try!(c.fmt(fmt)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmn.rs:575:21 [INFO] [stdout] | [INFO] [stdout] 575 | None => try!(fmt.write_str("*")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:616:27 [INFO] [stdout] | [INFO] [stdout] 616 | pub delegate: &'a mut Delegate, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Delegate` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:622:25 [INFO] [stdout] | [INFO] [stdout] 622 | pub reader: &'a mut ReadSeek, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:466:31 [INFO] [stdout] | [INFO] [stdout] 466 | _delegate: Option<&'a mut Delegate>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Delegate` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:480:27 [INFO] [stdout] | [INFO] [stdout] 480 | let mut dlg: &mut Delegate = match self._delegate { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Delegate` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:486:66 [INFO] [stdout] | [INFO] [stdout] 486 | let mut params: Vec<(&str, String)> = Vec::with_capacity((9 + self._additional_params.len())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:661:50 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> EntitySearchCall<'a, C, A> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Delegate` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cmn.rs:336:46 [INFO] [stdout] | [INFO] [stdout] 336 | Error::HttpError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling google-kgsearch1 v1.0.4+20151215 (/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/cmn.rs:337:55 [INFO] [stdout] | [INFO] [stdout] 337 | Error::JsonDecodeError(_, ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/cmn.rs:344:46 [INFO] [stdout] | [INFO] [stdout] 344 | Error::HttpError(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/cmn.rs:345:55 [INFO] [stdout] | [INFO] [stdout] 345 | Error::JsonDecodeError(_, ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/cmn.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | fn begin(&mut self, MethodInfo) {} [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: MethodInfo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/cmn.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | fn http_error(&mut self, &hyper::Error) -> Retry { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &hyper::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | fn token(&mut self, err: &error::Error) -> Option { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/cmn.rs:213:61 [INFO] [stdout] | [INFO] [stdout] 213 | fn http_failure(&mut self, _: &hyper::client::Response, Option, _: Option) -> Retry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | MissingToken(Box), [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmn.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmn.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | try!(writeln!(f, " {}: {}, {}{}", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:342:32 [INFO] [stdout] | [INFO] [stdout] 342 | fn cause(&self) -> Option<&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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:368:38 [INFO] [stdout] | [INFO] [stdout] 368 | raw_parts: Vec<(Headers, &'a mut Read)>, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:369:52 [INFO] [stdout] | [INFO] [stdout] 369 | current_part: Option<(Cursor>, &'a mut Read)>, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:391:48 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn add_part(&mut self, reader: &'a mut Read, size: u64, mime_type: Mime) -> &mut MultiPartReader<'a> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmn.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | try!(fmt.write_str("bytes ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmn.rs:574:28 [INFO] [stdout] | [INFO] [stdout] 574 | Some(ref c) => try!(c.fmt(fmt)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmn.rs:575:21 [INFO] [stdout] | [INFO] [stdout] 575 | None => try!(fmt.write_str("*")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:616:27 [INFO] [stdout] | [INFO] [stdout] 616 | pub delegate: &'a mut Delegate, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Delegate` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:622:25 [INFO] [stdout] | [INFO] [stdout] 622 | pub reader: &'a mut ReadSeek, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:466:31 [INFO] [stdout] | [INFO] [stdout] 466 | _delegate: Option<&'a mut Delegate>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Delegate` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:480:27 [INFO] [stdout] | [INFO] [stdout] 480 | let mut dlg: &mut Delegate = match self._delegate { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Delegate` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:486:66 [INFO] [stdout] | [INFO] [stdout] 486 | let mut params: Vec<(&str, String)> = Vec::with_capacity((9 + self._additional_params.len())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:661:50 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> EntitySearchCall<'a, C, A> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Delegate` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cmn.rs:336:46 [INFO] [stdout] | [INFO] [stdout] 336 | Error::HttpError(ref err) => err.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/cmn.rs:337:55 [INFO] [stdout] | [INFO] [stdout] 337 | Error::JsonDecodeError(_, ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/cmn.rs:344:46 [INFO] [stdout] | [INFO] [stdout] 344 | Error::HttpError(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/cmn.rs:345:55 [INFO] [stdout] | [INFO] [stdout] 345 | Error::JsonDecodeError(_, ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.84s [INFO] running `Command { std: "docker" "inspect" "5f757ceb63fe007dfb6989e5fd580d663600dd2df2f5416d090f00dfd8d9a45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f757ceb63fe007dfb6989e5fd580d663600dd2df2f5416d090f00dfd8d9a45e", kill_on_drop: false }` [INFO] [stdout] 5f757ceb63fe007dfb6989e5fd580d663600dd2df2f5416d090f00dfd8d9a45e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0aa7e39351e9b27788a4679882bbb075ce33ce9f920ff87671a459e914fc182a [INFO] running `Command { std: "docker" "start" "-a" "0aa7e39351e9b27788a4679882bbb075ce33ce9f920ff87671a459e914fc182a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/cmn.rs:142:25 [INFO] [stderr] | [INFO] [stderr] 142 | fn begin(&mut self, MethodInfo) {} [INFO] [stderr] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: MethodInfo` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/cmn.rs:150:30 [INFO] [stderr] | [INFO] [stderr] 150 | fn http_error(&mut self, &hyper::Error) -> Retry { [INFO] [stderr] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &hyper::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cmn.rs:166:31 [INFO] [stderr] | [INFO] [stderr] 166 | fn token(&mut self, err: &error::Error) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/cmn.rs:213:61 [INFO] [stderr] | [INFO] [stderr] 213 | fn http_failure(&mut self, _: &hyper::client::Response, Option, _: Option) -> Retry { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Option` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cmn.rs:277:22 [INFO] [stderr] | [INFO] [stderr] 277 | MissingToken(Box), [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/cmn.rs:306:17 [INFO] [stderr] | [INFO] [stderr] 306 | try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/cmn.rs:308:21 [INFO] [stderr] | [INFO] [stderr] 308 | try!(writeln!(f, " {}: {}, {}{}", [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cmn.rs:342:32 [INFO] [stderr] | [INFO] [stderr] 342 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cmn.rs:368:38 [INFO] [stderr] | [INFO] [stderr] 368 | raw_parts: Vec<(Headers, &'a mut Read)>, [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Read` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cmn.rs:369:52 [INFO] [stderr] | [INFO] [stderr] 369 | current_part: Option<(Cursor>, &'a mut Read)>, [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Read` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cmn.rs:391:48 [INFO] [stderr] | [INFO] [stderr] 391 | pub fn add_part(&mut self, reader: &'a mut Read, size: u64, mime_type: Mime) -> &mut MultiPartReader<'a> { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Read` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/cmn.rs:572:9 [INFO] [stderr] | [INFO] [stderr] 572 | try!(fmt.write_str("bytes ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/cmn.rs:574:28 [INFO] [stderr] | [INFO] [stderr] 574 | Some(ref c) => try!(c.fmt(fmt)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/cmn.rs:575:21 [INFO] [stderr] | [INFO] [stderr] 575 | None => try!(fmt.write_str("*")) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cmn.rs:616:27 [INFO] [stderr] | [INFO] [stderr] 616 | pub delegate: &'a mut Delegate, [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Delegate` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cmn.rs:622:25 [INFO] [stderr] | [INFO] [stderr] 622 | pub reader: &'a mut ReadSeek, [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:466:31 [INFO] [stderr] | [INFO] [stderr] 466 | _delegate: Option<&'a mut Delegate>, [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Delegate` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:480:27 [INFO] [stderr] | [INFO] [stderr] 480 | let mut dlg: &mut Delegate = match self._delegate { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Delegate` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/lib.rs:486:66 [INFO] [stderr] | [INFO] [stderr] 486 | let mut params: Vec<(&str, String)> = Vec::with_capacity((9 + self._additional_params.len())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:661:50 [INFO] [stderr] | [INFO] [stderr] 661 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> EntitySearchCall<'a, C, A> { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Delegate` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/cmn.rs:336:46 [INFO] [stderr] | [INFO] [stderr] 336 | Error::HttpError(ref err) => err.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/cmn.rs:337:55 [INFO] [stderr] | [INFO] [stderr] 337 | Error::JsonDecodeError(_, ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/cmn.rs:344:46 [INFO] [stderr] | [INFO] [stderr] 344 | Error::HttpError(ref err) => err.cause(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/cmn.rs:345:55 [INFO] [stderr] | [INFO] [stderr] 345 | Error::JsonDecodeError(_, ref err) => err.cause(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `google-kgsearch1` (lib) generated 24 warnings [INFO] [stderr] warning: `google-kgsearch1` (lib test) generated 24 warnings (24 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.66s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/google_kgsearch1-654e61d58fc7064f) [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 google-kgsearch1 [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:486:66 [INFO] [stderr] | [INFO] [stderr] 486 | let mut params: Vec<(&str, String)> = Vec::with_capacity((9 + self._additional_params.len())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 49) ... ignored [INFO] [stdout] test src/lib.rs - (line 71) - compile ... ok [INFO] [stdout] test src/lib.rs - EntitySearchCall (line 427) - compile ... ok [INFO] [stdout] test src/lib.rs - EntityMethods (line 360) - compile ... ok [INFO] [stdout] test src/lib.rs - Kgsearch (line 233) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0aa7e39351e9b27788a4679882bbb075ce33ce9f920ff87671a459e914fc182a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aa7e39351e9b27788a4679882bbb075ce33ce9f920ff87671a459e914fc182a", kill_on_drop: false }` [INFO] [stdout] 0aa7e39351e9b27788a4679882bbb075ce33ce9f920ff87671a459e914fc182a