[INFO] fetching crate record-query 1.0.4... [INFO] testing record-query-1.0.4 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate record-query 1.0.4 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate record-query 1.0.4 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83be6f0f1dfa7dab244365941bc9b648992ec6433f8d64e94b5f6fd32f5bbf05 [INFO] running `Command { std: "docker" "start" "-a" "83be6f0f1dfa7dab244365941bc9b648992ec6433f8d64e94b5f6fd32f5bbf05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83be6f0f1dfa7dab244365941bc9b648992ec6433f8d64e94b5f6fd32f5bbf05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83be6f0f1dfa7dab244365941bc9b648992ec6433f8d64e94b5f6fd32f5bbf05", kill_on_drop: false }` [INFO] [stdout] 83be6f0f1dfa7dab244365941bc9b648992ec6433f8d64e94b5f6fd32f5bbf05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4752f3a78df37aaff6ac48a9c33b10f82ad513f6419955c207f5cbe85c93525c [INFO] running `Command { std: "docker" "start" "-a" "4752f3a78df37aaff6ac48a9c33b10f82ad513f6419955c207f5cbe85c93525c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.47 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling protobuf v2.27.1 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling paste v1.0.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling snap v0.2.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rmp v0.8.11 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling ucd-trie v0.1.4 [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 dtoa v0.4.8 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling nix v0.20.2 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling addr2line v0.17.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 vergen v3.2.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling pest v2.3.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling git2 v0.10.2 [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_cbor v0.10.2 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling avro-rs v0.6.6 [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" "4752f3a78df37aaff6ac48a9c33b10f82ad513f6419955c207f5cbe85c93525c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4752f3a78df37aaff6ac48a9c33b10f82ad513f6419955c207f5cbe85c93525c", kill_on_drop: false }` [INFO] [stdout] 4752f3a78df37aaff6ac48a9c33b10f82ad513f6419955c207f5cbe85c93525c