[INFO] cloning repository https://github.com/tokahuke/sled_to_postgres [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tokahuke/sled_to_postgres" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftokahuke%2Fsled_to_postgres", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftokahuke%2Fsled_to_postgres'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd13d5400d1d29b6d4ae4531b473a2f63454af71 [INFO] building tokahuke/sled_to_postgres against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftokahuke%2Fsled_to_postgres" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tokahuke/sled_to_postgres [INFO] finished tweaking git repo https://github.com/tokahuke/sled_to_postgres [INFO] tweaked toml for git repo https://github.com/tokahuke/sled_to_postgres written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tokahuke/sled_to_postgres on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tokahuke/sled_to_postgres 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded rayon-core v1.7.1 [INFO] [stderr] Downloaded block-padding v0.1.5 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded futures-channel v0.3.5 [INFO] [stderr] Downloaded adler32 v1.1.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.13 [INFO] [stderr] Downloaded hex v0.4.2 [INFO] [stderr] Downloaded rustc-demangle v0.1.16 [INFO] [stderr] Downloaded bincode v1.3.1 [INFO] [stderr] Downloaded backtrace v0.3.49 [INFO] [stderr] Downloaded serde_derive v1.0.115 [INFO] [stderr] Downloaded simple_logger v1.9.0 [INFO] [stderr] Downloaded addr2line v0.12.1 [INFO] [stderr] Downloaded crossbeam-channel v0.4.2 [INFO] [stderr] Downloaded async-trait v0.1.35 [INFO] [stderr] Downloaded object v0.20.0 [INFO] [stderr] Downloaded serde v1.0.115 [INFO] [stderr] Downloaded rustls v0.18.1 [INFO] [stderr] Downloaded libc v0.2.76 [INFO] [stderr] Downloaded chrono v0.4.11 [INFO] [stderr] Downloaded tokio-postgres v0.5.5 [INFO] [stderr] Downloaded js-sys v0.3.44 [INFO] [stderr] Downloaded crc32fast v1.2.0 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] [stderr] Downloaded tokio v0.2.22 [INFO] [stderr] Downloaded futures-executor v0.3.5 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded wasm-bindgen v0.2.67 [INFO] [stderr] Downloaded rayon v1.3.1 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded web-sys v0.3.44 [INFO] [stderr] Downloaded time v0.1.43 [INFO] [stderr] Downloaded futures-util v0.3.5 [INFO] [stderr] Downloaded synstructure v0.12.4 [INFO] [stderr] Downloaded colored v1.9.3 [INFO] [stderr] Downloaded syn v1.0.39 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded mio v0.6.22 [INFO] [stderr] Downloaded ntapi v0.3.4 [INFO] [stderr] Downloaded bumpalo v3.4.0 [INFO] [stderr] Downloaded futures-io v0.3.5 [INFO] [stderr] Downloaded gimli v0.21.0 [INFO] [stderr] Downloaded pin-project v0.4.22 [INFO] [stderr] Downloaded futures v0.3.5 [INFO] [stderr] Downloaded smallvec v1.4.0 [INFO] [stderr] Downloaded typenum v1.12.0 [INFO] [stderr] Downloaded sha2 v0.8.2 [INFO] [stderr] Downloaded bytes v0.5.4 [INFO] [stderr] Downloaded cc v1.0.54 [INFO] [stderr] Downloaded webpki v0.21.3 [INFO] [stderr] Downloaded parking_lot v0.4.8 [INFO] [stderr] Downloaded inotify v0.8.3 [INFO] [stderr] Downloaded log v0.4.11 [INFO] [stderr] Downloaded notify v5.0.0-pre.2 [INFO] [stderr] Downloaded once_cell v1.4.0 [INFO] [stderr] Downloaded sysinfo v0.14.5 [INFO] [stderr] Downloaded pin-project-internal v0.4.22 [INFO] [stderr] Downloaded lock_api v0.4.1 [INFO] [stderr] Downloaded cloudabi v0.1.0 [INFO] [stderr] Downloaded parking_lot v0.11.0 [INFO] [stderr] Downloaded subtle v1.0.0 [INFO] [stderr] Downloaded crypto-mac v0.7.0 [INFO] [stderr] Downloaded hmac v0.7.1 [INFO] [stderr] Downloaded getrandom v0.1.14 [INFO] [stderr] Downloaded generic-array v0.12.3 [INFO] [stderr] Downloaded unicode-bidi v0.3.4 [INFO] [stderr] Downloaded tinyvec v0.3.3 [INFO] [stderr] Downloaded stringprep v0.1.2 [INFO] [stderr] Downloaded sct v0.6.0 [INFO] [stderr] Downloaded pin-project-lite v0.1.7 [INFO] [stderr] Downloaded tokio-rustls v0.14.1 [INFO] [stderr] Downloaded quote v1.0.7 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.67 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.67 [INFO] [stderr] Downloaded tokio-postgres-rustls v0.5.0 [INFO] [stderr] Downloaded anymap v0.12.1 [INFO] [stderr] Downloaded owning_ref v0.3.3 [INFO] [stderr] Downloaded parking_lot_core v0.2.14 [INFO] [stderr] Downloaded inotify-sys v0.1.3 [INFO] [stderr] Downloaded net2 v0.2.34 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded memoffset v0.5.4 [INFO] [stderr] Downloaded yaque v0.4.2 [INFO] [stderr] Downloaded futures-macro v0.3.5 [INFO] [stderr] Downloaded futures-task v0.3.5 [INFO] [stderr] Downloaded proc-macro-hack v0.5.16 [INFO] [stderr] Downloaded proc-macro-nested v0.1.6 [INFO] [stderr] Downloaded instant v0.1.6 [INFO] [stderr] Downloaded parking_lot_core v0.8.0 [INFO] [stderr] Downloaded siphasher v0.3.3 [INFO] [stderr] Downloaded phf_shared v0.8.0 [INFO] [stderr] Downloaded phf v0.8.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.8 [INFO] [stderr] Downloaded byte-tools v0.3.1 [INFO] [stderr] Downloaded byteorder v1.3.4 [INFO] [stderr] Downloaded block-buffer v0.7.3 [INFO] [stderr] Downloaded digest v0.8.1 [INFO] [stderr] Downloaded fake-simd v0.1.2 [INFO] [stderr] Downloaded opaque-debug v0.2.3 [INFO] [stderr] Downloaded postgres-protocol v0.5.1 [INFO] [stderr] Downloaded futures-sink v0.3.5 [INFO] [stderr] Downloaded futures-core v0.3.5 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded tokio-macros v0.2.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.18 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.67 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.67 [INFO] [stderr] Downloaded ring v0.16.15 [INFO] [stderr] Downloaded smallvec v0.6.13 [INFO] [stderr] Downloaded chashmap v2.2.2 [INFO] [stderr] Downloaded redox_syscall v0.1.56 [INFO] [stderr] Downloaded filetime v0.2.10 [INFO] [stderr] Downloaded fsevent v2.0.2 [INFO] [stderr] Downloaded fsevent-sys v3.0.2 [INFO] [stderr] Downloaded lazycell v1.2.1 [INFO] [stderr] Downloaded miow v0.2.1 [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded sled v0.34.3 [INFO] [stderr] Downloaded crossbeam-deque v0.7.3 [INFO] [stderr] Downloaded postgres-types v0.1.2 [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] [stderr] Downloaded stable_deref_trait v1.1.1 [INFO] [stderr] Downloaded crossbeam-queue v0.2.3 [INFO] [stderr] Downloaded hermit-abi v0.1.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be6622791cf67fa1642411c69c4e1a1d08be6a71670bcc187e2ae63c9395dea8 [INFO] running `Command { std: "docker" "start" "-a" "be6622791cf67fa1642411c69c4e1a1d08be6a71670bcc187e2ae63c9395dea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be6622791cf67fa1642411c69c4e1a1d08be6a71670bcc187e2ae63c9395dea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be6622791cf67fa1642411c69c4e1a1d08be6a71670bcc187e2ae63c9395dea8", kill_on_drop: false }` [INFO] [stdout] be6622791cf67fa1642411c69c4e1a1d08be6a71670bcc187e2ae63c9395dea8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2471816b971595cc2bb2a77af665315c5b573685595e8c4228e26c69866ccb3 [INFO] running `Command { std: "docker" "start" "-a" "b2471816b971595cc2bb2a77af665315c5b573685595e8c4228e26c69866ccb3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling sysinfo v0.14.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling inotify v0.8.3 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling sled v0.34.3 [INFO] [stderr] Compiling chashmap v2.2.2 [INFO] [stderr] Compiling notify v5.0.0-pre.2 [INFO] [stderr] Compiling postgres-protocol v0.5.1 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling postgres-types v0.1.2 [INFO] [stderr] Compiling backtrace v0.3.49 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling yaque v0.4.2 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.35 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-postgres v0.5.5 [INFO] [stderr] Compiling tokio-postgres-rustls v0.5.0 [INFO] [stderr] Compiling sled_to_postgres v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio_postgres_rustls::MakeRustlsConnect` [INFO] [stdout] --> src/sender.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio_postgres_rustls::MakeRustlsConnect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[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] 6 | 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[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] 6 | 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 warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.74s [INFO] running `Command { std: "docker" "inspect" "b2471816b971595cc2bb2a77af665315c5b573685595e8c4228e26c69866ccb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2471816b971595cc2bb2a77af665315c5b573685595e8c4228e26c69866ccb3", kill_on_drop: false }` [INFO] [stdout] b2471816b971595cc2bb2a77af665315c5b573685595e8c4228e26c69866ccb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdf86c519079628b29b2ed6fc8a2143a47d89700cb1a15a73f1ff50877d8f8e2 [INFO] running `Command { std: "docker" "start" "-a" "bdf86c519079628b29b2ed6fc8a2143a47d89700cb1a15a73f1ff50877d8f8e2", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stdout] warning: unused import: `tokio_postgres_rustls::MakeRustlsConnect` [INFO] [stdout] --> src/sender.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio_postgres_rustls::MakeRustlsConnect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[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] 6 | 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[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] 6 | 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 warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling simple_logger v1.9.0 [INFO] [stderr] Compiling sled_to_postgres v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `simple_logger::init_with_level`: Please use the Builder pattern instead. [INFO] [stdout] --> src/lib.rs:517:32 [INFO] [stdout] | [INFO] [stdout] 517 | let _ = simple_logger::init_with_level(log::Level::Debug); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[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] 6 | 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[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] 6 | 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 warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.26s [INFO] running `Command { std: "docker" "inspect" "bdf86c519079628b29b2ed6fc8a2143a47d89700cb1a15a73f1ff50877d8f8e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdf86c519079628b29b2ed6fc8a2143a47d89700cb1a15a73f1ff50877d8f8e2", kill_on_drop: false }` [INFO] [stdout] bdf86c519079628b29b2ed6fc8a2143a47d89700cb1a15a73f1ff50877d8f8e2