[INFO] fetching crate schemafy_snapshot 0.4.2... [INFO] testing schemafy_snapshot-0.4.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate schemafy_snapshot 0.4.2 into /workspace/builds/worker-26/source [INFO] validating manifest of crates.io crate schemafy_snapshot 0.4.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate schemafy_snapshot 0.4.2 [INFO] finished tweaking crates.io crate schemafy_snapshot 0.4.2 [INFO] tweaked toml for crates.io crate schemafy_snapshot 0.4.2 written to /workspace/builds/worker-26/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20179d757bf845c4d347edccef9469742b5ff24e9baf4467e665f28fd9564d37 [INFO] running `Command { std: "docker" "start" "-a" "20179d757bf845c4d347edccef9469742b5ff24e9baf4467e665f28fd9564d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20179d757bf845c4d347edccef9469742b5ff24e9baf4467e665f28fd9564d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20179d757bf845c4d347edccef9469742b5ff24e9baf4467e665f28fd9564d37", kill_on_drop: false }` [INFO] [stdout] 20179d757bf845c4d347edccef9469742b5ff24e9baf4467e665f28fd9564d37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bad02de5518a3fd9c2521d85dbf27dbbb7f86e884216c14c127fbad7508449ed [INFO] running `Command { std: "docker" "start" "-a" "bad02de5518a3fd9c2521d85dbf27dbbb7f86e884216c14c127fbad7508449ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling schemafy_snapshot v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/schema.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[serde(rename = "simpleTypes")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | #[derive(Clone, PartialEq, Debug, Deserialize, Serialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:571:5 [INFO] [stdout] | [INFO] [stdout] 571 | try!( [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/lib.rs:570:21 [INFO] [stdout] | [INFO] [stdout] 570 | let mut child = try!(command.stdin(Stdio::piped()).stdout(Stdio::piped()).spawn()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:578:18 [INFO] [stdout] | [INFO] [stdout] 578 | let output = try!(child.wait_with_output()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:583:8 [INFO] [stdout] | [INFO] [stdout] 583 | Ok(try!(String::from_utf8(output.stdout))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:569:69 [INFO] [stdout] | [INFO] [stdout] 569 | fn format(mut command: Command, output: &str) -> Result> { [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] 569 - fn format(mut command: Command, output: &str) -> Result> { [INFO] [stdout] 569 + fn format(mut command: Command, output: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:651:78 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn generate(root_name: Option<&str>, schema: &str) -> Result> { [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] 651 - pub fn generate(root_name: Option<&str>, schema: &str) -> Result> { [INFO] [stdout] 651 + pub fn generate(root_name: Option<&str>, schema: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:618:55 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn build(self, s: &str) -> Result> { [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] 618 - pub fn build(self, s: &str) -> Result> { [INFO] [stdout] 618 + pub fn build(self, s: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.53s [INFO] running `Command { std: "docker" "inspect" "bad02de5518a3fd9c2521d85dbf27dbbb7f86e884216c14c127fbad7508449ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad02de5518a3fd9c2521d85dbf27dbbb7f86e884216c14c127fbad7508449ed", kill_on_drop: false }` [INFO] [stdout] bad02de5518a3fd9c2521d85dbf27dbbb7f86e884216c14c127fbad7508449ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 024ab6c703f33422a5dd626f457bc97facc9ed34ddd7aed7a79499d2c901f969 [INFO] running `Command { std: "docker" "start" "-a" "024ab6c703f33422a5dd626f457bc97facc9ed34ddd7aed7a79499d2c901f969", kill_on_drop: false }` [INFO] [stderr] Compiling schemafy_snapshot v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/schema.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[serde(rename = "simpleTypes")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | #[derive(Clone, PartialEq, Debug, Deserialize, Serialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:571:5 [INFO] [stdout] | [INFO] [stdout] 571 | try!( [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/lib.rs:570:21 [INFO] [stdout] | [INFO] [stdout] 570 | let mut child = try!(command.stdin(Stdio::piped()).stdout(Stdio::piped()).spawn()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:578:18 [INFO] [stdout] | [INFO] [stdout] 578 | let output = try!(child.wait_with_output()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:583:8 [INFO] [stdout] | [INFO] [stdout] 583 | Ok(try!(String::from_utf8(output.stdout))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:569:69 [INFO] [stdout] | [INFO] [stdout] 569 | fn format(mut command: Command, output: &str) -> Result> { [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] 569 - fn format(mut command: Command, output: &str) -> Result> { [INFO] [stdout] 569 + fn format(mut command: Command, output: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:651:78 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn generate(root_name: Option<&str>, schema: &str) -> Result> { [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] 651 - pub fn generate(root_name: Option<&str>, schema: &str) -> Result> { [INFO] [stdout] 651 + pub fn generate(root_name: Option<&str>, schema: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:618:55 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn build(self, s: &str) -> Result> { [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] 618 - pub fn build(self, s: &str) -> Result> { [INFO] [stdout] 618 + pub fn build(self, s: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/schema.json: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:679:17 [INFO] [stdout] | [INFO] [stdout] 679 | let s = include_str!("schema.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../tests/debugserver-schema.json: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:754:17 [INFO] [stdout] | [INFO] [stdout] 754 | let s = include_str!("../tests/debugserver-schema.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../tests/nested.json: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:765:17 [INFO] [stdout] | [INFO] [stdout] 765 | let s = include_str!("../tests/nested.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../tests/vega/vega.json: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:776:17 [INFO] [stdout] | [INFO] [stdout] 776 | let s = include_str!("../tests/vega/vega.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../tests/option-type.json: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:785:17 [INFO] [stdout] | [INFO] [stdout] 785 | let s = include_str!("../tests/option-type.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../tests/empty-struct.json: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:794:17 [INFO] [stdout] | [INFO] [stdout] 794 | let s = include_str!("../tests/empty-struct.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../tests/any-properties.json: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:805:17 [INFO] [stdout] | [INFO] [stdout] 805 | let s = include_str!("../tests/any-properties.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../tests/root-array.json: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:818:17 [INFO] [stdout] | [INFO] [stdout] 818 | let s = include_str!("../tests/root-array.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/schema.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[serde(rename = "simpleTypes")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | #[derive(Clone, PartialEq, Debug, Deserialize, Serialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:571:5 [INFO] [stdout] | [INFO] [stdout] 571 | try!( [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/lib.rs:570:21 [INFO] [stdout] | [INFO] [stdout] 570 | let mut child = try!(command.stdin(Stdio::piped()).stdout(Stdio::piped()).spawn()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:578:18 [INFO] [stdout] | [INFO] [stdout] 578 | let output = try!(child.wait_with_output()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:583:8 [INFO] [stdout] | [INFO] [stdout] 583 | Ok(try!(String::from_utf8(output.stdout))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:569:69 [INFO] [stdout] | [INFO] [stdout] 569 | fn format(mut command: Command, output: &str) -> Result> { [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] 569 - fn format(mut command: Command, output: &str) -> Result> { [INFO] [stdout] 569 + fn format(mut command: Command, output: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:651:78 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn generate(root_name: Option<&str>, schema: &str) -> Result> { [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] 651 - pub fn generate(root_name: Option<&str>, schema: &str) -> Result> { [INFO] [stdout] 651 + pub fn generate(root_name: Option<&str>, schema: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:618:55 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn build(self, s: &str) -> Result> { [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] 618 - pub fn build(self, s: &str) -> Result> { [INFO] [stdout] 618 + pub fn build(self, s: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:667:73 [INFO] [stdout] | [INFO] [stdout] 667 | fn generate(root_name: Option<&str>, s: &str) -> Result> { [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] 667 - fn generate(root_name: Option<&str>, s: &str) -> Result> { [INFO] [stdout] 667 + fn generate(root_name: Option<&str>, s: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `schemafy_snapshot` due to 9 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "024ab6c703f33422a5dd626f457bc97facc9ed34ddd7aed7a79499d2c901f969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "024ab6c703f33422a5dd626f457bc97facc9ed34ddd7aed7a79499d2c901f969", kill_on_drop: false }` [INFO] [stdout] 024ab6c703f33422a5dd626f457bc97facc9ed34ddd7aed7a79499d2c901f969