[INFO] fetching crate schemafy_snapshot 0.4.2... [INFO] checking schemafy_snapshot-0.4.2 against try#55b3f428b4fac6790b1e8492e0b91ff2d80aec7c for pr-77035 [INFO] extracting crate schemafy_snapshot 0.4.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate schemafy_snapshot 0.4.2 on toolchain 55b3f428b4fac6790b1e8492e0b91ff2d80aec7c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 75477b0eaea3126e0b7b7ae9f4fc0701459f9f483f8ab8060aff77750948b3d2 [INFO] running `Command { std: "docker" "start" "-a" "75477b0eaea3126e0b7b7ae9f4fc0701459f9f483f8ab8060aff77750948b3d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75477b0eaea3126e0b7b7ae9f4fc0701459f9f483f8ab8060aff77750948b3d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75477b0eaea3126e0b7b7ae9f4fc0701459f9f483f8ab8060aff77750948b3d2", kill_on_drop: false }` [INFO] [stdout] 75477b0eaea3126e0b7b7ae9f4fc0701459f9f483f8ab8060aff77750948b3d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] df8ccfebb502552e2125088b454f888cc8378e0ce04c32a4caf1cc860a5b5167 [INFO] running `Command { std: "docker" "start" "-a" "df8ccfebb502552e2125088b454f888cc8378e0ce04c32a4caf1cc860a5b5167", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking quote v0.3.15 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking schemafy_snapshot v0.4.2 (/opt/rustwide/workdir) [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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] = 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:571:5 [INFO] [stdout] | [INFO] [stdout] 571 | try!( [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] = 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:571:5 [INFO] [stdout] | [INFO] [stdout] 571 | try!( [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `schemafy_snapshot` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "df8ccfebb502552e2125088b454f888cc8378e0ce04c32a4caf1cc860a5b5167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df8ccfebb502552e2125088b454f888cc8378e0ce04c32a4caf1cc860a5b5167", kill_on_drop: false }` [INFO] [stdout] df8ccfebb502552e2125088b454f888cc8378e0ce04c32a4caf1cc860a5b5167