[INFO] fetching crate google-slides1 1.0.4+20161213... [INFO] testing google-slides1-1.0.4+20161213 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate google-slides1 1.0.4+20161213 into /workspace/builds/worker-19/source [INFO] validating manifest of crates.io crate google-slides1 1.0.4+20161213 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 google-slides1 1.0.4+20161213 [INFO] finished tweaking crates.io crate google-slides1 1.0.4+20161213 [INFO] tweaked toml for crates.io crate google-slides1 1.0.4+20161213 written to /workspace/builds/worker-19/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "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-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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] 7fc253d4e653ee09d0035e1db655be4481b919f36105393129cd249d3f7c5486 [INFO] running `Command { std: "docker" "start" "-a" "7fc253d4e653ee09d0035e1db655be4481b919f36105393129cd249d3f7c5486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fc253d4e653ee09d0035e1db655be4481b919f36105393129cd249d3f7c5486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fc253d4e653ee09d0035e1db655be4481b919f36105393129cd249d3f7c5486", kill_on_drop: false }` [INFO] [stdout] 7fc253d4e653ee09d0035e1db655be4481b919f36105393129cd249d3f7c5486 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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] 6e76595889a3e49cdf7d273b4f031facdc7ae48e440b60aa0708196e19f26fe7 [INFO] running `Command { std: "docker" "start" "-a" "6e76595889a3e49cdf7d273b4f031facdc7ae48e440b60aa0708196e19f26fe7", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling traitobject v0.1.0 [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 rustc-serialize v0.3.24 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling unicode-bidi v0.2.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling uuid v0.2.3 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling url v0.5.10 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling hyper-native-tls v0.3.0 [INFO] [stderr] Compiling yup-oauth2 v1.0.12 [INFO] [stderr] Compiling google-slides1 v1.0.4+20161213 (/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: 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: 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: 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: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:3274:66 [INFO] [stdout] | [INFO] [stdout] 3274 | let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3274 - let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stdout] 3274 + let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:3508:66 [INFO] [stdout] | [INFO] [stdout] 3508 | let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3508 - let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stdout] 3508 + let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:3779:66 [INFO] [stdout] | [INFO] [stdout] 3779 | let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3779 - let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stdout] 3779 + let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:4045:66 [INFO] [stdout] | [INFO] [stdout] 4045 | let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4045 - let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stdout] 4045 + let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len()); [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] | ^^^^^^^^ [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] 616 - pub delegate: &'a mut Delegate, [INFO] [stdout] 616 + pub delegate: &'a mut dyn Delegate, [INFO] [stdout] | [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] | ^^^^^^^^ [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] 622 - pub reader: &'a mut ReadSeek, [INFO] [stdout] 622 + pub reader: &'a mut dyn ReadSeek, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3253:31 [INFO] [stdout] | [INFO] [stdout] 3253 | _delegate: Option<&'a mut Delegate>, [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] 3253 - _delegate: Option<&'a mut Delegate>, [INFO] [stdout] 3253 + _delegate: Option<&'a mut dyn Delegate>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3486:31 [INFO] [stdout] | [INFO] [stdout] 3486 | _delegate: Option<&'a mut Delegate>, [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] 3486 - _delegate: Option<&'a mut Delegate>, [INFO] [stdout] 3486 + _delegate: Option<&'a mut dyn Delegate>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3758:31 [INFO] [stdout] | [INFO] [stdout] 3758 | _delegate: Option<&'a mut Delegate>, [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] 3758 - _delegate: Option<&'a mut Delegate>, [INFO] [stdout] 3758 + _delegate: Option<&'a mut dyn Delegate>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:4024:31 [INFO] [stdout] | [INFO] [stdout] 4024 | _delegate: Option<&'a mut Delegate>, [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] 4024 - _delegate: Option<&'a mut Delegate>, [INFO] [stdout] 4024 + _delegate: Option<&'a mut dyn Delegate>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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] 277 - MissingToken(Box), [INFO] [stdout] 277 + MissingToken(Box), [INFO] [stdout] | [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] | ^^^^ [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] 368 - raw_parts: Vec<(Headers, &'a mut Read)>, [INFO] [stdout] 368 + raw_parts: Vec<(Headers, &'a mut dyn Read)>, [INFO] [stdout] | [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] | ^^^^ [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] 369 - current_part: Option<(Cursor>, &'a mut Read)>, [INFO] [stdout] 369 + current_part: Option<(Cursor>, &'a mut dyn Read)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3399:50 [INFO] [stdout] | [INFO] [stdout] 3399 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationCreateCall<'a, C, A> { [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] 3399 - pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationCreateCall<'a, C, A> { [INFO] [stdout] 3399 + pub fn delegate(mut self, new_value: &'a mut dyn Delegate) -> PresentationCreateCall<'a, C, A> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3644:50 [INFO] [stdout] | [INFO] [stdout] 3644 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationGetCall<'a, C, A> { [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] 3644 - pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationGetCall<'a, C, A> { [INFO] [stdout] 3644 + pub fn delegate(mut self, new_value: &'a mut dyn Delegate) -> PresentationGetCall<'a, C, A> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3936:50 [INFO] [stdout] | [INFO] [stdout] 3936 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationBatchUpdateCall<'a, C, A> { [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] 3936 - pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationBatchUpdateCall<'a, C, A> { [INFO] [stdout] 3936 + pub fn delegate(mut self, new_value: &'a mut dyn Delegate) -> PresentationBatchUpdateCall<'a, C, A> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:4189:50 [INFO] [stdout] | [INFO] [stdout] 4189 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationPageGetCall<'a, C, A> { [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] 4189 - pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationPageGetCall<'a, C, A> { [INFO] [stdout] 4189 + pub fn delegate(mut self, new_value: &'a mut dyn Delegate) -> PresentationPageGetCall<'a, C, A> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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] 166 - fn token(&mut self, err: &error::Error) -> Option { [INFO] [stdout] 166 + fn token(&mut self, err: &dyn error::Error) -> Option { [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] | ^^^^^^^^^^^^ [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] 342 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 342 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^ [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] 391 - pub fn add_part(&mut self, reader: &'a mut Read, size: u64, mime_type: Mime) -> &mut MultiPartReader<'a> { [INFO] [stdout] 391 + pub fn add_part(&mut self, reader: &'a mut dyn Read, size: u64, mime_type: Mime) -> &mut MultiPartReader<'a> { [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: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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3268:27 [INFO] [stdout] | [INFO] [stdout] 3268 | let mut dlg: &mut Delegate = match self._delegate { [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] 3268 - let mut dlg: &mut Delegate = match self._delegate { [INFO] [stdout] 3268 + let mut dlg: &mut dyn Delegate = match self._delegate { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3502:27 [INFO] [stdout] | [INFO] [stdout] 3502 | let mut dlg: &mut Delegate = match self._delegate { [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] 3502 - let mut dlg: &mut Delegate = match self._delegate { [INFO] [stdout] 3502 + let mut dlg: &mut dyn Delegate = match self._delegate { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3773:27 [INFO] [stdout] | [INFO] [stdout] 3773 | let mut dlg: &mut Delegate = match self._delegate { [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] 3773 - let mut dlg: &mut Delegate = match self._delegate { [INFO] [stdout] 3773 + let mut dlg: &mut dyn Delegate = match self._delegate { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:4039:27 [INFO] [stdout] | [INFO] [stdout] 4039 | let mut dlg: &mut Delegate = match self._delegate { [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] 4039 - let mut dlg: &mut Delegate = match self._delegate { [INFO] [stdout] 4039 + let mut dlg: &mut dyn Delegate = match self._delegate { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.33s [INFO] running `Command { std: "docker" "inspect" "6e76595889a3e49cdf7d273b4f031facdc7ae48e440b60aa0708196e19f26fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e76595889a3e49cdf7d273b4f031facdc7ae48e440b60aa0708196e19f26fe7", kill_on_drop: false }` [INFO] [stdout] 6e76595889a3e49cdf7d273b4f031facdc7ae48e440b60aa0708196e19f26fe7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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] 3df1ca6033e05fa36fc266251b43c63608ed818226c388abbd4b6f3d41041198 [INFO] running `Command { std: "docker" "start" "-a" "3df1ca6033e05fa36fc266251b43c63608ed818226c388abbd4b6f3d41041198", 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: 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: 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: 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: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:3274:66 [INFO] [stdout] | [INFO] [stdout] 3274 | let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3274 - let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stdout] 3274 + let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:3508:66 [INFO] [stdout] | [INFO] [stdout] 3508 | let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3508 - let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stdout] 3508 + let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:3779:66 [INFO] [stdout] | [INFO] [stdout] 3779 | let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3779 - let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stdout] 3779 + let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:4045:66 [INFO] [stdout] | [INFO] [stdout] 4045 | let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4045 - let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stdout] 4045 + let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len()); [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] | ^^^^^^^^ [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] 616 - pub delegate: &'a mut Delegate, [INFO] [stdout] 616 + pub delegate: &'a mut dyn Delegate, [INFO] [stdout] | [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] | ^^^^^^^^ [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] 622 - pub reader: &'a mut ReadSeek, [INFO] [stdout] 622 + pub reader: &'a mut dyn ReadSeek, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3253:31 [INFO] [stdout] | [INFO] [stdout] 3253 | _delegate: Option<&'a mut Delegate>, [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] 3253 - _delegate: Option<&'a mut Delegate>, [INFO] [stdout] 3253 + _delegate: Option<&'a mut dyn Delegate>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3486:31 [INFO] [stdout] | [INFO] [stdout] 3486 | _delegate: Option<&'a mut Delegate>, [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] 3486 - _delegate: Option<&'a mut Delegate>, [INFO] [stdout] 3486 + _delegate: Option<&'a mut dyn Delegate>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3758:31 [INFO] [stdout] | [INFO] [stdout] 3758 | _delegate: Option<&'a mut Delegate>, [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] 3758 - _delegate: Option<&'a mut Delegate>, [INFO] [stdout] 3758 + _delegate: Option<&'a mut dyn Delegate>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:4024:31 [INFO] [stdout] | [INFO] [stdout] 4024 | _delegate: Option<&'a mut Delegate>, [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] 4024 - _delegate: Option<&'a mut Delegate>, [INFO] [stdout] 4024 + _delegate: Option<&'a mut dyn Delegate>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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] 277 - MissingToken(Box), [INFO] [stdout] 277 + MissingToken(Box), [INFO] [stdout] | [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] | ^^^^ [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] 368 - raw_parts: Vec<(Headers, &'a mut Read)>, [INFO] [stdout] 368 + raw_parts: Vec<(Headers, &'a mut dyn Read)>, [INFO] [stdout] | [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] | ^^^^ [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] 369 - current_part: Option<(Cursor>, &'a mut Read)>, [INFO] [stdout] 369 + current_part: Option<(Cursor>, &'a mut dyn Read)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3399:50 [INFO] [stdout] | [INFO] [stdout] 3399 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationCreateCall<'a, C, A> { [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] 3399 - pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationCreateCall<'a, C, A> { [INFO] [stdout] 3399 + pub fn delegate(mut self, new_value: &'a mut dyn Delegate) -> PresentationCreateCall<'a, C, A> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3644:50 [INFO] [stdout] | [INFO] [stdout] 3644 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationGetCall<'a, C, A> { [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] 3644 - pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationGetCall<'a, C, A> { [INFO] [stdout] 3644 + pub fn delegate(mut self, new_value: &'a mut dyn Delegate) -> PresentationGetCall<'a, C, A> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3936:50 [INFO] [stdout] | [INFO] [stdout] 3936 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationBatchUpdateCall<'a, C, A> { [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] 3936 - pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationBatchUpdateCall<'a, C, A> { [INFO] [stdout] 3936 + pub fn delegate(mut self, new_value: &'a mut dyn Delegate) -> PresentationBatchUpdateCall<'a, C, A> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:4189:50 [INFO] [stdout] | [INFO] [stdout] 4189 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationPageGetCall<'a, C, A> { [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] 4189 - pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationPageGetCall<'a, C, A> { [INFO] [stdout] 4189 + pub fn delegate(mut self, new_value: &'a mut dyn Delegate) -> PresentationPageGetCall<'a, C, A> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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] 166 - fn token(&mut self, err: &error::Error) -> Option { [INFO] [stdout] 166 + fn token(&mut self, err: &dyn error::Error) -> Option { [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] | ^^^^^^^^^^^^ [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] 342 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 342 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling google-slides1 v1.0.4+20161213 (/opt/rustwide/workdir) [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] | ^^^^ [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] 391 - pub fn add_part(&mut self, reader: &'a mut Read, size: u64, mime_type: Mime) -> &mut MultiPartReader<'a> { [INFO] [stdout] 391 + pub fn add_part(&mut self, reader: &'a mut dyn Read, size: u64, mime_type: Mime) -> &mut MultiPartReader<'a> { [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: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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3268:27 [INFO] [stdout] | [INFO] [stdout] 3268 | let mut dlg: &mut Delegate = match self._delegate { [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] 3268 - let mut dlg: &mut Delegate = match self._delegate { [INFO] [stdout] 3268 + let mut dlg: &mut dyn Delegate = match self._delegate { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3502:27 [INFO] [stdout] | [INFO] [stdout] 3502 | let mut dlg: &mut Delegate = match self._delegate { [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] 3502 - let mut dlg: &mut Delegate = match self._delegate { [INFO] [stdout] 3502 + let mut dlg: &mut dyn Delegate = match self._delegate { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3773:27 [INFO] [stdout] | [INFO] [stdout] 3773 | let mut dlg: &mut Delegate = match self._delegate { [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] 3773 - let mut dlg: &mut Delegate = match self._delegate { [INFO] [stdout] 3773 + let mut dlg: &mut dyn Delegate = match self._delegate { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:4039:27 [INFO] [stdout] | [INFO] [stdout] 4039 | let mut dlg: &mut Delegate = match self._delegate { [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] 4039 - let mut dlg: &mut Delegate = match self._delegate { [INFO] [stdout] 4039 + let mut dlg: &mut dyn Delegate = match self._delegate { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 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: 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: 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: 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: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:3274:66 [INFO] [stdout] | [INFO] [stdout] 3274 | let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3274 - let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stdout] 3274 + let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:3508:66 [INFO] [stdout] | [INFO] [stdout] 3508 | let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3508 - let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stdout] 3508 + let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:3779:66 [INFO] [stdout] | [INFO] [stdout] 3779 | let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3779 - let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stdout] 3779 + let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:4045:66 [INFO] [stdout] | [INFO] [stdout] 4045 | let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4045 - let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stdout] 4045 + let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len()); [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] | ^^^^^^^^ [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] 616 - pub delegate: &'a mut Delegate, [INFO] [stdout] 616 + pub delegate: &'a mut dyn Delegate, [INFO] [stdout] | [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] | ^^^^^^^^ [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] 622 - pub reader: &'a mut ReadSeek, [INFO] [stdout] 622 + pub reader: &'a mut dyn ReadSeek, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3253:31 [INFO] [stdout] | [INFO] [stdout] 3253 | _delegate: Option<&'a mut Delegate>, [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] 3253 - _delegate: Option<&'a mut Delegate>, [INFO] [stdout] 3253 + _delegate: Option<&'a mut dyn Delegate>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3486:31 [INFO] [stdout] | [INFO] [stdout] 3486 | _delegate: Option<&'a mut Delegate>, [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] 3486 - _delegate: Option<&'a mut Delegate>, [INFO] [stdout] 3486 + _delegate: Option<&'a mut dyn Delegate>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3758:31 [INFO] [stdout] | [INFO] [stdout] 3758 | _delegate: Option<&'a mut Delegate>, [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] 3758 - _delegate: Option<&'a mut Delegate>, [INFO] [stdout] 3758 + _delegate: Option<&'a mut dyn Delegate>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:4024:31 [INFO] [stdout] | [INFO] [stdout] 4024 | _delegate: Option<&'a mut Delegate>, [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] 4024 - _delegate: Option<&'a mut Delegate>, [INFO] [stdout] 4024 + _delegate: Option<&'a mut dyn Delegate>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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] 277 - MissingToken(Box), [INFO] [stdout] 277 + MissingToken(Box), [INFO] [stdout] | [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] | ^^^^ [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] 368 - raw_parts: Vec<(Headers, &'a mut Read)>, [INFO] [stdout] 368 + raw_parts: Vec<(Headers, &'a mut dyn Read)>, [INFO] [stdout] | [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] | ^^^^ [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] 369 - current_part: Option<(Cursor>, &'a mut Read)>, [INFO] [stdout] 369 + current_part: Option<(Cursor>, &'a mut dyn Read)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3399:50 [INFO] [stdout] | [INFO] [stdout] 3399 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationCreateCall<'a, C, A> { [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] 3399 - pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationCreateCall<'a, C, A> { [INFO] [stdout] 3399 + pub fn delegate(mut self, new_value: &'a mut dyn Delegate) -> PresentationCreateCall<'a, C, A> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3644:50 [INFO] [stdout] | [INFO] [stdout] 3644 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationGetCall<'a, C, A> { [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] 3644 - pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationGetCall<'a, C, A> { [INFO] [stdout] 3644 + pub fn delegate(mut self, new_value: &'a mut dyn Delegate) -> PresentationGetCall<'a, C, A> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3936:50 [INFO] [stdout] | [INFO] [stdout] 3936 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationBatchUpdateCall<'a, C, A> { [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] 3936 - pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationBatchUpdateCall<'a, C, A> { [INFO] [stdout] 3936 + pub fn delegate(mut self, new_value: &'a mut dyn Delegate) -> PresentationBatchUpdateCall<'a, C, A> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:4189:50 [INFO] [stdout] | [INFO] [stdout] 4189 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationPageGetCall<'a, C, A> { [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] 4189 - pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationPageGetCall<'a, C, A> { [INFO] [stdout] 4189 + pub fn delegate(mut self, new_value: &'a mut dyn Delegate) -> PresentationPageGetCall<'a, C, A> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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] 166 - fn token(&mut self, err: &error::Error) -> Option { [INFO] [stdout] 166 + fn token(&mut self, err: &dyn error::Error) -> Option { [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] | ^^^^^^^^^^^^ [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] 342 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 342 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^ [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] 391 - pub fn add_part(&mut self, reader: &'a mut Read, size: u64, mime_type: Mime) -> &mut MultiPartReader<'a> { [INFO] [stdout] 391 + pub fn add_part(&mut self, reader: &'a mut dyn Read, size: u64, mime_type: Mime) -> &mut MultiPartReader<'a> { [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: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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3268:27 [INFO] [stdout] | [INFO] [stdout] 3268 | let mut dlg: &mut Delegate = match self._delegate { [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] 3268 - let mut dlg: &mut Delegate = match self._delegate { [INFO] [stdout] 3268 + let mut dlg: &mut dyn Delegate = match self._delegate { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3502:27 [INFO] [stdout] | [INFO] [stdout] 3502 | let mut dlg: &mut Delegate = match self._delegate { [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] 3502 - let mut dlg: &mut Delegate = match self._delegate { [INFO] [stdout] 3502 + let mut dlg: &mut dyn Delegate = match self._delegate { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3773:27 [INFO] [stdout] | [INFO] [stdout] 3773 | let mut dlg: &mut Delegate = match self._delegate { [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] 3773 - let mut dlg: &mut Delegate = match self._delegate { [INFO] [stdout] 3773 + let mut dlg: &mut dyn Delegate = match self._delegate { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:4039:27 [INFO] [stdout] | [INFO] [stdout] 4039 | let mut dlg: &mut Delegate = match self._delegate { [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] 4039 - let mut dlg: &mut Delegate = match self._delegate { [INFO] [stdout] 4039 + let mut dlg: &mut dyn Delegate = match self._delegate { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.88s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/google_slides1-b56001fb60f42752) [INFO] running `Command { std: "docker" "inspect" "3df1ca6033e05fa36fc266251b43c63608ed818226c388abbd4b6f3d41041198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3df1ca6033e05fa36fc266251b43c63608ed818226c388abbd4b6f3d41041198", kill_on_drop: false }` [INFO] [stdout] 3df1ca6033e05fa36fc266251b43c63608ed818226c388abbd4b6f3d41041198 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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] cc07a7e1e8a99d8fc226c9e83790d39f64532d5619096414d5fb4e722d537c24 [INFO] running `Command { std: "docker" "start" "-a" "cc07a7e1e8a99d8fc226c9e83790d39f64532d5619096414d5fb4e722d537c24", kill_on_drop: false }` [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: 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: 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: 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: unnecessary parentheses around function argument [INFO] [stderr] --> src/lib.rs:3274:66 [INFO] [stderr] | [INFO] [stderr] 3274 | let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 3274 - let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stderr] 3274 + let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/lib.rs:3508:66 [INFO] [stderr] | [INFO] [stderr] 3508 | let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 3508 - let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stderr] 3508 + let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/lib.rs:3779:66 [INFO] [stderr] | [INFO] [stderr] 3779 | let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 3779 - let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stderr] 3779 + let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/lib.rs:4045:66 [INFO] [stderr] | [INFO] [stderr] 4045 | let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 4045 - let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stderr] 4045 + let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len()); [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] | ^^^^^^^^ [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] 616 - pub delegate: &'a mut Delegate, [INFO] [stderr] 616 + pub delegate: &'a mut dyn Delegate, [INFO] [stderr] | [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] | ^^^^^^^^ [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] 622 - pub reader: &'a mut ReadSeek, [INFO] [stderr] 622 + pub reader: &'a mut dyn ReadSeek, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:3253:31 [INFO] [stderr] | [INFO] [stderr] 3253 | _delegate: Option<&'a mut Delegate>, [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] 3253 - _delegate: Option<&'a mut Delegate>, [INFO] [stderr] 3253 + _delegate: Option<&'a mut dyn Delegate>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:3486:31 [INFO] [stderr] | [INFO] [stderr] 3486 | _delegate: Option<&'a mut Delegate>, [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] 3486 - _delegate: Option<&'a mut Delegate>, [INFO] [stderr] 3486 + _delegate: Option<&'a mut dyn Delegate>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:3758:31 [INFO] [stderr] | [INFO] [stderr] 3758 | _delegate: Option<&'a mut Delegate>, [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] 3758 - _delegate: Option<&'a mut Delegate>, [INFO] [stderr] 3758 + _delegate: Option<&'a mut dyn Delegate>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:4024:31 [INFO] [stderr] | [INFO] [stderr] 4024 | _delegate: Option<&'a mut Delegate>, [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] 4024 - _delegate: Option<&'a mut Delegate>, [INFO] [stderr] 4024 + _delegate: Option<&'a mut dyn Delegate>, [INFO] [stderr] | [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] | ^^^^^^^^^^^^ [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] 277 - MissingToken(Box), [INFO] [stderr] 277 + MissingToken(Box), [INFO] [stderr] | [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] | ^^^^ [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] 368 - raw_parts: Vec<(Headers, &'a mut Read)>, [INFO] [stderr] 368 + raw_parts: Vec<(Headers, &'a mut dyn Read)>, [INFO] [stderr] | [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] | ^^^^ [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] 369 - current_part: Option<(Cursor>, &'a mut Read)>, [INFO] [stderr] 369 + current_part: Option<(Cursor>, &'a mut dyn Read)>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:3399:50 [INFO] [stderr] | [INFO] [stderr] 3399 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationCreateCall<'a, C, A> { [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] 3399 - pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationCreateCall<'a, C, A> { [INFO] [stderr] 3399 + pub fn delegate(mut self, new_value: &'a mut dyn Delegate) -> PresentationCreateCall<'a, C, A> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:3644:50 [INFO] [stderr] | [INFO] [stderr] 3644 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationGetCall<'a, C, A> { [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] 3644 - pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationGetCall<'a, C, A> { [INFO] [stderr] 3644 + pub fn delegate(mut self, new_value: &'a mut dyn Delegate) -> PresentationGetCall<'a, C, A> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:3936:50 [INFO] [stderr] | [INFO] [stderr] 3936 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationBatchUpdateCall<'a, C, A> { [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] 3936 - pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationBatchUpdateCall<'a, C, A> { [INFO] [stderr] 3936 + pub fn delegate(mut self, new_value: &'a mut dyn Delegate) -> PresentationBatchUpdateCall<'a, C, A> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:4189:50 [INFO] [stderr] | [INFO] [stderr] 4189 | pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationPageGetCall<'a, C, A> { [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] 4189 - pub fn delegate(mut self, new_value: &'a mut Delegate) -> PresentationPageGetCall<'a, C, A> { [INFO] [stderr] 4189 + pub fn delegate(mut self, new_value: &'a mut dyn Delegate) -> PresentationPageGetCall<'a, C, A> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^ [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] 166 - fn token(&mut self, err: &error::Error) -> Option { [INFO] [stderr] 166 + fn token(&mut self, err: &dyn error::Error) -> Option { [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] | ^^^^^^^^^^^^ [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] 342 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 342 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [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] | ^^^^ [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] 391 - pub fn add_part(&mut self, reader: &'a mut Read, size: u64, mime_type: Mime) -> &mut MultiPartReader<'a> { [INFO] [stderr] 391 + pub fn add_part(&mut self, reader: &'a mut dyn Read, size: u64, mime_type: Mime) -> &mut MultiPartReader<'a> { [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: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: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:3268:27 [INFO] [stderr] | [INFO] [stderr] 3268 | let mut dlg: &mut Delegate = match self._delegate { [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] 3268 - let mut dlg: &mut Delegate = match self._delegate { [INFO] [stderr] 3268 + let mut dlg: &mut dyn Delegate = match self._delegate { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:3502:27 [INFO] [stderr] | [INFO] [stderr] 3502 | let mut dlg: &mut Delegate = match self._delegate { [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] 3502 - let mut dlg: &mut Delegate = match self._delegate { [INFO] [stderr] 3502 + let mut dlg: &mut dyn Delegate = match self._delegate { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:3773:27 [INFO] [stderr] | [INFO] [stderr] 3773 | let mut dlg: &mut Delegate = match self._delegate { [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] 3773 - let mut dlg: &mut Delegate = match self._delegate { [INFO] [stderr] 3773 + let mut dlg: &mut dyn Delegate = match self._delegate { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:4039:27 [INFO] [stderr] | [INFO] [stderr] 4039 | let mut dlg: &mut Delegate = match self._delegate { [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] 4039 - let mut dlg: &mut Delegate = match self._delegate { [INFO] [stderr] 4039 + let mut dlg: &mut dyn Delegate = match self._delegate { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `google-slides1` (lib) generated 36 warnings [INFO] [stderr] warning: `google-slides1` (lib test) generated 36 warnings (36 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/google_slides1-b56001fb60f42752) [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 google-slides1 [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:3274:66 [INFO] [stderr] | [INFO] [stderr] 3274 | let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 3274 - let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stderr] 3274 + let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:3508:66 [INFO] [stderr] | [INFO] [stderr] 3508 | let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 3508 - let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len())); [INFO] [stderr] 3508 + let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:3779:66 [INFO] [stderr] | [INFO] [stderr] 3779 | let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 3779 - let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stderr] 3779 + let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:4045:66 [INFO] [stderr] | [INFO] [stderr] 4045 | let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 4045 - let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len())); [INFO] [stderr] 4045 + let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - (line 49) ... ignored [INFO] [stdout] test src/lib.rs - AffineTransform (line 1608) ... FAILED [INFO] [stdout] test src/lib.rs - AffineTransform (line 1613) ... FAILED [INFO] [stdout] test src/lib.rs - PresentationMethods (line 3076) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 74) - compile ... ok [INFO] [stdout] test src/lib.rs - PresentationGetCall (line 3460) - compile ... ok [INFO] [stdout] test src/lib.rs - Slides (line 277) - compile ... ok [INFO] [stdout] test src/lib.rs - PresentationCreateCall (line 3221) - compile ... ok [INFO] [stdout] test src/lib.rs - PresentationBatchUpdateCall (line 3725) - compile ... ok [INFO] [stdout] test src/lib.rs - PresentationPageGetCall (line 3997) - compile ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - AffineTransform (line 1608) stdout ---- [INFO] [stdout] error[E0762]: unterminated character literal [INFO] [stdout] --> src/lib.rs:1609:4 [INFO] [stdout] | [INFO] [stdout] 1 | x' x = shear_y scale_y translate_y [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0762`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - AffineTransform (line 1613) stdout ---- [INFO] [stdout] error[E0762]: unterminated character literal [INFO] [stdout] --> src/lib.rs:1614:3 [INFO] [stdout] | [INFO] [stdout] 1 | x' = scale_x * x + shear_x * y + translate_x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0762`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - AffineTransform (line 1608) [INFO] [stdout] src/lib.rs - AffineTransform (line 1613) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 2 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "cc07a7e1e8a99d8fc226c9e83790d39f64532d5619096414d5fb4e722d537c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc07a7e1e8a99d8fc226c9e83790d39f64532d5619096414d5fb4e722d537c24", kill_on_drop: false }` [INFO] [stdout] cc07a7e1e8a99d8fc226c9e83790d39f64532d5619096414d5fb4e722d537c24