[INFO] fetching crate serde_tagged 0.2.0... [INFO] checking serde_tagged-0.2.0 against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] extracting crate serde_tagged 0.2.0 into /workspace/builds/worker-92/source [INFO] validating manifest of crates.io crate serde_tagged 0.2.0 on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate serde_tagged 0.2.0 [INFO] finished tweaking crates.io crate serde_tagged 0.2.0 [INFO] tweaked toml for crates.io crate serde_tagged 0.2.0 written to /workspace/builds/worker-92/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "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" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-value v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec30007bfc79b2504a4fea4d89974829e6c9fab13b5eb2e1732c3ef0b5566e13 [INFO] running `Command { std: "docker" "start" "-a" "ec30007bfc79b2504a4fea4d89974829e6c9fab13b5eb2e1732c3ef0b5566e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec30007bfc79b2504a4fea4d89974829e6c9fab13b5eb2e1732c3ef0b5566e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec30007bfc79b2504a4fea4d89974829e6c9fab13b5eb2e1732c3ef0b5566e13", kill_on_drop: false }` [INFO] [stdout] ec30007bfc79b2504a4fea4d89974829e6c9fab13b5eb2e1732c3ef0b5566e13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d953dcaf91a156833b4af9908d5d69030ff8fde51772031b713558fac7730840 [INFO] running `Command { std: "docker" "start" "-a" "d953dcaf91a156833b4af9908d5d69030ff8fde51772031b713558fac7730840", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling erased-serde v0.3.16 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking serde_bytes v0.10.5 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Checking serde_tagged v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/de/internal.rs:161:53 [INFO] [stdout] | [INFO] [stdout] 161 | use serde::de::value::SeqAccessDeserializer;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:385:31 [INFO] [stdout] | [INFO] [stdout] 385 | : for<'de> FnMut(&mut erased_serde::Deserializer<'de>) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn erased_serde::Deserializer<'de>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:390:32 [INFO] [stdout] | [INFO] [stdout] 390 | F: for<'de> FnMut(&mut erased_serde::Deserializer<'de>) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn erased_serde::Deserializer<'de>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:399:36 [INFO] [stdout] | [INFO] [stdout] 399 | pub struct BoxFnMutSeed(Box> + Sync>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMutSeed> + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:439:28 [INFO] [stdout] | [INFO] [stdout] 439 | : for<'de> Fn(&mut erased_serde::Deserializer<'de>) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn erased_serde::Deserializer<'de>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:444:29 [INFO] [stdout] | [INFO] [stdout] 444 | F: for<'de> Fn(&mut erased_serde::Deserializer<'de>) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn erased_serde::Deserializer<'de>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:453:33 [INFO] [stdout] | [INFO] [stdout] 453 | pub struct BoxFnSeed(Box> + Sync>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnSeed> + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:418:26 [INFO] [stdout] | [INFO] [stdout] 418 | let mut de = erased_serde::Deserializer::erase(deserializer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:430:26 [INFO] [stdout] | [INFO] [stdout] 430 | let mut de = erased_serde::Deserializer::erase(deserializer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:472:26 [INFO] [stdout] | [INFO] [stdout] 472 | let mut de = erased_serde::Deserializer::erase(deserializer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:484:26 [INFO] [stdout] | [INFO] [stdout] 484 | let mut de = erased_serde::Deserializer::erase(deserializer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/deserialize.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | type RegSeedFn = BoxFnSeed>; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn TypeId` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/deserialize.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | de: &mut erased_serde::Deserializer<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn erased_serde::Deserializer<'de>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/deserialize.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | ) -> Result, erased_serde::Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn TypeId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/deserialize.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | de: &mut erased_serde::Deserializer<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn erased_serde::Deserializer<'de>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/deserialize.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | ) -> Result, erased_serde::Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn TypeId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/deserialize.rs:183:22 [INFO] [stdout] | [INFO] [stdout] 183 | type Value = Box; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn TypeId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/deserialize.rs:210:22 [INFO] [stdout] | [INFO] [stdout] 210 | type Value = Box; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn TypeId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/trait_objects.rs:125:31 [INFO] [stdout] | [INFO] [stdout] 125 | impl<'a> serde::Serialize for Stored + 'a { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Stored + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/trait_objects.rs:140:43 [INFO] [stdout] | [INFO] [stdout] 140 | impl<'de> serde::Deserialize<'de> for Box { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Stored` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/trait_objects.rs:166:62 [INFO] [stdout] | [INFO] [stdout] 166 | pub type TypeRegistry = BTreeMap<&'static str, BoxFnSeed>>; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Stored` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/trait_objects.rs:191:28 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn a<'de>(de: &mut Deserializer<'de>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Deserializer<'de>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/trait_objects.rs:191:61 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn a<'de>(de: &mut Deserializer<'de>) -> Result, Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Stored` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/trait_objects.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn b<'de>(de: &mut Deserializer<'de>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Deserializer<'de>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/trait_objects.rs:196:61 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn b<'de>(de: &mut Deserializer<'de>) -> Result, Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Stored` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/trait_objects.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | let ser_a: Box = a.clone(); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Stored` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/trait_objects.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | let ser_b: Box = b.clone(); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Stored` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/trait_objects.rs:214:20 [INFO] [stdout] | [INFO] [stdout] 214 | let ser_c: Box = c.clone(); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Stored` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/trait_objects.rs:254:19 [INFO] [stdout] | [INFO] [stdout] 254 | let de_a: Box = serde_json::from_str(&ser_a).unwrap(); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Stored` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/trait_objects.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | let de_b: Box = serde_json::from_str(&ser_b).unwrap(); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Stored` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/trait_objects.rs:256:19 [INFO] [stdout] | [INFO] [stdout] 256 | let de_c: Box = serde_json::from_str(&ser_c).unwrap(); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Stored` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/de/internal.rs:161:53 [INFO] [stdout] | [INFO] [stdout] 161 | use serde::de::value::SeqAccessDeserializer;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:385:31 [INFO] [stdout] | [INFO] [stdout] 385 | : for<'de> FnMut(&mut erased_serde::Deserializer<'de>) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn erased_serde::Deserializer<'de>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:390:32 [INFO] [stdout] | [INFO] [stdout] 390 | F: for<'de> FnMut(&mut erased_serde::Deserializer<'de>) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn erased_serde::Deserializer<'de>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:399:36 [INFO] [stdout] | [INFO] [stdout] 399 | pub struct BoxFnMutSeed(Box> + Sync>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMutSeed> + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:439:28 [INFO] [stdout] | [INFO] [stdout] 439 | : for<'de> Fn(&mut erased_serde::Deserializer<'de>) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn erased_serde::Deserializer<'de>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:444:29 [INFO] [stdout] | [INFO] [stdout] 444 | F: for<'de> Fn(&mut erased_serde::Deserializer<'de>) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn erased_serde::Deserializer<'de>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:453:33 [INFO] [stdout] | [INFO] [stdout] 453 | pub struct BoxFnSeed(Box> + Sync>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnSeed> + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> examples/trait_objects.rs:136:65 [INFO] [stdout] | [INFO] [stdout] 136 | serde_tagged::ser::external::serialize(serializer, self.type_id(), &SerializeErased(self)) [INFO] [stdout] | ^^^^^^^ multiple `type_id` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `TypeId` [INFO] [stdout] --> examples/trait_objects.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | fn type_id(&self) -> &'static str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `Any` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 136 | serde_tagged::ser::external::serialize(serializer, TypeId::type_id(&self), &SerializeErased(self)) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 136 | serde_tagged::ser::external::serialize(serializer, Any::type_id(&self), &SerializeErased(self)) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_tagged` due to 2 previous errors; 13 warnings emitted [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:418:26 [INFO] [stdout] | [INFO] [stdout] 418 | let mut de = erased_serde::Deserializer::erase(deserializer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:430:26 [INFO] [stdout] | [INFO] [stdout] 430 | let mut de = erased_serde::Deserializer::erase(deserializer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:472:26 [INFO] [stdout] | [INFO] [stdout] 472 | let mut de = erased_serde::Deserializer::erase(deserializer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de/seed.rs:484:26 [INFO] [stdout] | [INFO] [stdout] 484 | let mut de = erased_serde::Deserializer::erase(deserializer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d953dcaf91a156833b4af9908d5d69030ff8fde51772031b713558fac7730840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d953dcaf91a156833b4af9908d5d69030ff8fde51772031b713558fac7730840", kill_on_drop: false }` [INFO] [stdout] d953dcaf91a156833b4af9908d5d69030ff8fde51772031b713558fac7730840