[INFO] fetching crate record-query 1.0.4... [INFO] building record-query-1.0.4 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate record-query 1.0.4 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate record-query 1.0.4 [INFO] finished tweaking crates.io crate record-query 1.0.4 [INFO] tweaked toml for crates.io crate record-query 1.0.4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate record-query 1.0.4 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate record-query 1.0.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.82 [INFO] [stderr] Downloaded semver v1.0.13 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.82 [INFO] [stderr] Downloaded linked-hash-map v0.3.0 [INFO] [stderr] Downloaded unicode-xid v0.2.3 [INFO] [stderr] Downloaded build_const v0.2.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.32 [INFO] [stderr] Downloaded jobserver v0.1.24 [INFO] [stderr] Downloaded paste v1.0.8 [INFO] [stderr] Downloaded unicode-bidi v0.3.8 [INFO] [stderr] Downloaded serde_cbor v0.10.2 [INFO] [stderr] Downloaded avro-rs v0.6.6 [INFO] [stderr] Downloaded libflate v0.1.27 [INFO] [stderr] Downloaded pest v2.3.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.21 [INFO] [stderr] Downloaded git2 v0.10.2 [INFO] [stderr] Downloaded serde_json v1.0.85 [INFO] [stderr] Downloaded protobuf v2.27.1 [INFO] [stderr] Downloaded serde-protobuf v0.8.2 [INFO] [stderr] Downloaded wasm-bindgen v0.2.82 [INFO] [stderr] Downloaded ryu v1.0.11 [INFO] [stderr] Downloaded unicode-segmentation v1.9.0 [INFO] [stderr] Downloaded nix v0.20.2 [INFO] [stderr] Downloaded structopt v0.3.26 [INFO] [stderr] Downloaded serde_derive v1.0.144 [INFO] [stderr] Downloaded serde v1.0.144 [INFO] [stderr] Downloaded toml v0.5.9 [INFO] [stderr] Downloaded iana-time-zone v0.1.47 [INFO] [stderr] Downloaded built v0.3.2 [INFO] [stderr] Downloaded rmpv v0.4.7 [INFO] [stderr] Downloaded serde v0.8.23 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Downloaded ucd-trie v0.1.4 [INFO] [stderr] Downloaded rmp v0.8.11 [INFO] [stderr] Downloaded serde_test v0.8.23 [INFO] [stderr] Downloaded serde-hjson v0.9.1 [INFO] [stderr] Downloaded js-sys v0.3.59 [INFO] [stderr] Downloaded bumpalo v3.11.0 [INFO] [stderr] Downloaded thiserror v1.0.32 [INFO] [stderr] Downloaded itoa v1.0.3 [INFO] [stderr] Downloaded vergen v3.2.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.82 [INFO] [stderr] Downloaded snap v0.2.5 [INFO] [stderr] Downloaded libgit2-sys v0.9.2 [INFO] [stderr] Downloaded libz-sys v1.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32b492e3ce85fe3f0c2ff48858a4317e792b84257e7f02c075c041c54c7d4f3b [INFO] running `Command { std: "docker" "start" "-a" "32b492e3ce85fe3f0c2ff48858a4317e792b84257e7f02c075c041c54c7d4f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32b492e3ce85fe3f0c2ff48858a4317e792b84257e7f02c075c041c54c7d4f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b492e3ce85fe3f0c2ff48858a4317e792b84257e7f02c075c041c54c7d4f3b", kill_on_drop: false }` [INFO] [stdout] 32b492e3ce85fe3f0c2ff48858a4317e792b84257e7f02c075c041c54c7d4f3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c50e1a0891c2d50f3cddd0123198f3b19c362a5792d94e5d93dbc3d29a947b9c [INFO] running `Command { std: "docker" "start" "-a" "c50e1a0891c2d50f3cddd0123198f3b19c362a5792d94e5d93dbc3d29a947b9c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling iana-time-zone v0.1.47 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling libgit2-sys v0.9.2 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling vergen v3.2.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling protobuf v2.27.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling paste v1.0.8 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling rmp v0.8.11 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling snap v0.2.5 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling ucd-trie v0.1.4 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling pest v2.3.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling nix v0.20.2 [INFO] [stderr] Compiling rmpv v0.4.7 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde-protobuf v0.8.2 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling serde_cbor v0.10.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling avro-rs v0.6.6 [INFO] [stderr] Compiling git2 v0.10.2 [INFO] [stderr] Compiling built v0.3.2 [INFO] [stderr] Compiling record-query v1.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `v8` [INFO] [stdout] --> src/error.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "v8")] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `v8` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[deny(unexpected_cfgs)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `js` [INFO] [stdout] --> src/error.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | #[cfg(feature = "js")] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `js` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 22 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 22 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Avro` [INFO] [stdout] 70 | pub enum Avro { [INFO] [stdout] | ---- `Avro` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Avro` [INFO] [stdout] 70 | pub enum Avro { [INFO] [stdout] | ---- `Avro` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value/avro.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn sink(schema: &avro_rs::Schema, w: W, codec: avro_rs::Codec) -> error::Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn sink(schema: &avro_rs::Schema, w: W, codec: avro_rs::Codec) -> error::Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `record-query` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "c50e1a0891c2d50f3cddd0123198f3b19c362a5792d94e5d93dbc3d29a947b9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c50e1a0891c2d50f3cddd0123198f3b19c362a5792d94e5d93dbc3d29a947b9c", kill_on_drop: false }` [INFO] [stdout] c50e1a0891c2d50f3cddd0123198f3b19c362a5792d94e5d93dbc3d29a947b9c