[INFO] fetching crate reproto-derive 0.3.36... [INFO] testing reproto-derive-0.3.36 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate reproto-derive 0.3.36 into /workspace/builds/worker-44/source [INFO] validating manifest of crates.io crate reproto-derive 0.3.36 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 reproto-derive 0.3.36 [INFO] finished tweaking crates.io crate reproto-derive 0.3.36 [INFO] tweaked toml for crates.io crate reproto-derive 0.3.36 written to /workspace/builds/worker-44/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-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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] c2a4476b666f3ba30489debcd21679ff2cceaa7a47505d2f6400bc411a4e7075 [INFO] running `Command { std: "docker" "start" "-a" "c2a4476b666f3ba30489debcd21679ff2cceaa7a47505d2f6400bc411a4e7075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2a4476b666f3ba30489debcd21679ff2cceaa7a47505d2f6400bc411a4e7075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2a4476b666f3ba30489debcd21679ff2cceaa7a47505d2f6400bc411a4e7075", kill_on_drop: false }` [INFO] [stdout] c2a4476b666f3ba30489debcd21679ff2cceaa7a47505d2f6400bc411a4e7075 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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] 44e398cd04a4a45b61c14da27a01591786adfdadd7caa6b92dbbebe3519fe477 [INFO] running `Command { std: "docker" "start" "-a" "44e398cd04a4a45b61c14da27a01591786adfdadd7caa6b92dbbebe3519fe477", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_test v1.0.136 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling ropey v0.6.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling reproto-semver v0.3.36 [INFO] [stderr] Compiling relative-path v0.3.7 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling reproto-core v0.3.36 [INFO] [stderr] Compiling reproto-lexer v0.3.36 [INFO] [stderr] Compiling reproto-ast v0.3.36 [INFO] [stderr] Compiling reproto-derive v0.3.36 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | format: Box, [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] 37 - format: Box, [INFO] [stdout] 37 + format: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | format: 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] 84 - format: Box, [INFO] [stdout] 84 + format: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> format.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | fn as_object(&self) -> Option<&Object>; [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] 22 - fn as_object(&self) -> Option<&Object>; [INFO] [stdout] 22 + fn as_object(&self) -> Option<&dyn Object>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> json.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | fn as_object(&self) -> Option<&format::Object> { [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] 37 - fn as_object(&self) -> Option<&format::Object> { [INFO] [stdout] 37 + fn as_object(&self) -> Option<&dyn format::Object> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> yaml.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | fn as_object(&self) -> Option<&format::Object> { [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] 29 - fn as_object(&self) -> Option<&format::Object> { [INFO] [stdout] 29 + fn as_object(&self) -> Option<&dyn format::Object> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> json.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 39 | json::Value::Object(ref object) => Some(object as &format::Object), [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] 39 - json::Value::Object(ref object) => Some(object as &format::Object), [INFO] [stdout] 39 + json::Value::Object(ref object) => Some(object as &dyn format::Object), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> yaml.rs:31:67 [INFO] [stdout] | [INFO] [stdout] 31 | yaml::Value::Mapping(ref mapping) => Some(mapping as &format::Object), [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] 31 - yaml::Value::Mapping(ref mapping) => Some(mapping as &format::Object), [INFO] [stdout] 31 + yaml::Value::Mapping(ref mapping) => Some(mapping as &dyn format::Object), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> sir.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | mem::replace(self, replace); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "44e398cd04a4a45b61c14da27a01591786adfdadd7caa6b92dbbebe3519fe477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44e398cd04a4a45b61c14da27a01591786adfdadd7caa6b92dbbebe3519fe477", kill_on_drop: false }` [INFO] [stdout] 44e398cd04a4a45b61c14da27a01591786adfdadd7caa6b92dbbebe3519fe477 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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] 1babafa1207d88369068801f604e723ed0922beeb35bdcc9adb92e338ed5fe0f [INFO] running `Command { std: "docker" "start" "-a" "1babafa1207d88369068801f604e723ed0922beeb35bdcc9adb92e338ed5fe0f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | format: Box, [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] 37 - format: Box, [INFO] [stdout] 37 + format: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | format: 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] 84 - format: Box, [INFO] [stdout] 84 + format: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> format.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | fn as_object(&self) -> Option<&Object>; [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] 22 - fn as_object(&self) -> Option<&Object>; [INFO] [stdout] 22 + fn as_object(&self) -> Option<&dyn Object>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> json.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | fn as_object(&self) -> Option<&format::Object> { [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] 37 - fn as_object(&self) -> Option<&format::Object> { [INFO] [stdout] 37 + fn as_object(&self) -> Option<&dyn format::Object> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> yaml.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | fn as_object(&self) -> Option<&format::Object> { [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] 29 - fn as_object(&self) -> Option<&format::Object> { [INFO] [stdout] 29 + fn as_object(&self) -> Option<&dyn format::Object> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> json.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 39 | json::Value::Object(ref object) => Some(object as &format::Object), [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] 39 - json::Value::Object(ref object) => Some(object as &format::Object), [INFO] [stdout] 39 + json::Value::Object(ref object) => Some(object as &dyn format::Object), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> yaml.rs:31:67 [INFO] [stdout] | [INFO] [stdout] 31 | yaml::Value::Mapping(ref mapping) => Some(mapping as &format::Object), [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] 31 - yaml::Value::Mapping(ref mapping) => Some(mapping as &format::Object), [INFO] [stdout] 31 + yaml::Value::Mapping(ref mapping) => Some(mapping as &dyn format::Object), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> sir.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | mem::replace(self, replace); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling reproto-derive v0.3.36 (/opt/rustwide/workdir) [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | format: Box, [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] 37 - format: Box, [INFO] [stdout] 37 + format: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | format: 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] 84 - format: Box, [INFO] [stdout] 84 + format: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> format.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | fn as_object(&self) -> Option<&Object>; [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] 22 - fn as_object(&self) -> Option<&Object>; [INFO] [stdout] 22 + fn as_object(&self) -> Option<&dyn Object>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> json.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | fn as_object(&self) -> Option<&format::Object> { [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] 37 - fn as_object(&self) -> Option<&format::Object> { [INFO] [stdout] 37 + fn as_object(&self) -> Option<&dyn format::Object> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> yaml.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | fn as_object(&self) -> Option<&format::Object> { [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] 29 - fn as_object(&self) -> Option<&format::Object> { [INFO] [stdout] 29 + fn as_object(&self) -> Option<&dyn format::Object> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> json.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 39 | json::Value::Object(ref object) => Some(object as &format::Object), [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] 39 - json::Value::Object(ref object) => Some(object as &format::Object), [INFO] [stdout] 39 + json::Value::Object(ref object) => Some(object as &dyn format::Object), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> yaml.rs:31:67 [INFO] [stdout] | [INFO] [stdout] 31 | yaml::Value::Mapping(ref mapping) => Some(mapping as &format::Object), [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] 31 - yaml::Value::Mapping(ref mapping) => Some(mapping as &format::Object), [INFO] [stdout] 31 + yaml::Value::Mapping(ref mapping) => Some(mapping as &dyn format::Object), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> sir.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | mem::replace(self, replace); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.58s [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Executable unittests lib.rs (/opt/rustwide/target/debug/deps/reproto_derive-9a9b6bf85146bc4d) [INFO] running `Command { std: "docker" "inspect" "1babafa1207d88369068801f604e723ed0922beeb35bdcc9adb92e338ed5fe0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1babafa1207d88369068801f604e723ed0922beeb35bdcc9adb92e338ed5fe0f", kill_on_drop: false }` [INFO] [stdout] 1babafa1207d88369068801f604e723ed0922beeb35bdcc9adb92e338ed5fe0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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] d2ea29443fce0972518b77a6227c7b763d1152954636f3536ba2f11dfe49c11c [INFO] running `Command { std: "docker" "start" "-a" "d2ea29443fce0972518b77a6227c7b763d1152954636f3536ba2f11dfe49c11c", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> lib.rs:37:17 [INFO] [stderr] | [INFO] [stderr] 37 | format: Box, [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] 37 - format: Box, [INFO] [stderr] 37 + format: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> lib.rs:84:21 [INFO] [stderr] | [INFO] [stderr] 84 | format: 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] 84 - format: Box, [INFO] [stderr] 84 + format: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> format.rs:22:36 [INFO] [stderr] | [INFO] [stderr] 22 | fn as_object(&self) -> Option<&Object>; [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] 22 - fn as_object(&self) -> Option<&Object>; [INFO] [stderr] 22 + fn as_object(&self) -> Option<&dyn Object>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> json.rs:37:36 [INFO] [stderr] | [INFO] [stderr] 37 | fn as_object(&self) -> Option<&format::Object> { [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] 37 - fn as_object(&self) -> Option<&format::Object> { [INFO] [stderr] 37 + fn as_object(&self) -> Option<&dyn format::Object> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> yaml.rs:29:36 [INFO] [stderr] | [INFO] [stderr] 29 | fn as_object(&self) -> Option<&format::Object> { [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] 29 - fn as_object(&self) -> Option<&format::Object> { [INFO] [stderr] 29 + fn as_object(&self) -> Option<&dyn format::Object> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> json.rs:39:64 [INFO] [stderr] | [INFO] [stderr] 39 | json::Value::Object(ref object) => Some(object as &format::Object), [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] 39 - json::Value::Object(ref object) => Some(object as &format::Object), [INFO] [stderr] 39 + json::Value::Object(ref object) => Some(object as &dyn format::Object), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> yaml.rs:31:67 [INFO] [stderr] | [INFO] [stderr] 31 | yaml::Value::Mapping(ref mapping) => Some(mapping as &format::Object), [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] 31 - yaml::Value::Mapping(ref mapping) => Some(mapping as &format::Object), [INFO] [stderr] 31 + yaml::Value::Mapping(ref mapping) => Some(mapping as &dyn format::Object), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> sir.rs:105:13 [INFO] [stderr] | [INFO] [stderr] 105 | mem::replace(self, replace); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: `reproto-derive` (lib) generated 8 warnings [INFO] [stderr] warning: `reproto-derive` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/reproto_derive-9a9b6bf85146bc4d) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::simple_declaration ... ok [INFO] [stdout] test utils::tests::test_simple ... ok [INFO] [stdout] test tests::test_interface ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests reproto-derive [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d2ea29443fce0972518b77a6227c7b763d1152954636f3536ba2f11dfe49c11c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2ea29443fce0972518b77a6227c7b763d1152954636f3536ba2f11dfe49c11c", kill_on_drop: false }` [INFO] [stdout] d2ea29443fce0972518b77a6227c7b763d1152954636f3536ba2f11dfe49c11c