[INFO] fetching crate json-surf 0.9.0... [INFO] building json-surf-0.9.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate json-surf 0.9.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate json-surf 0.9.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate json-surf 0.9.0 [INFO] tweaked toml for crates.io crate json-surf 0.9.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate json-surf 0.9.0 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 json-surf 0.9.0 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 unicode-xid v0.2.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.19 [INFO] [stderr] Downloaded uuid v0.8.1 [INFO] [stderr] Downloaded symspell v0.4.1 [INFO] [stderr] Downloaded futures-macro v0.3.5 [INFO] [stderr] Downloaded pin-project-internal v0.4.23 [INFO] [stderr] Downloaded notify v4.0.15 [INFO] [stderr] Downloaded object v0.20.0 [INFO] [stderr] Downloaded ordered-float v1.1.0 [INFO] [stderr] Downloaded serde-value v0.6.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.67 [INFO] [stderr] Downloaded futures-io v0.3.5 [INFO] [stderr] Downloaded unidecode v0.3.0 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded chrono v0.4.15 [INFO] [stderr] Downloaded wasm-bindgen v0.2.67 [INFO] [stderr] Downloaded rayon v1.4.0 [INFO] [stderr] Downloaded regex-syntax v0.4.2 [INFO] [stderr] Downloaded inotify v0.7.1 [INFO] [stderr] Downloaded backtrace v0.3.50 [INFO] [stderr] Downloaded crossbeam-channel v0.4.3 [INFO] [stderr] Downloaded mio v0.6.22 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.67 [INFO] [stderr] Downloaded cc v1.0.59 [INFO] [stderr] Downloaded atomicwrites v0.2.5 [INFO] [stderr] Downloaded bitpacking v0.8.2 [INFO] [stderr] Downloaded census v0.4.0 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded bumpalo v3.4.0 [INFO] [stderr] Downloaded crc32fast v1.2.0 [INFO] [stderr] Downloaded crossbeam v0.7.3 [INFO] [stderr] Downloaded downcast-rs v1.2.0 [INFO] [stderr] Downloaded fail v0.4.0 [INFO] [stderr] Downloaded miniz_oxide v0.4.1 [INFO] [stderr] Downloaded futures-executor v0.3.5 [INFO] [stderr] Downloaded filetime v0.2.12 [INFO] [stderr] Downloaded log v0.4.11 [INFO] [stderr] Downloaded net2 v0.2.34 [INFO] [stderr] Downloaded gimli v0.22.0 [INFO] [stderr] Downloaded rust-stemmers v1.2.0 [INFO] [stderr] Downloaded once_cell v1.4.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.67 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.67 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded adler v0.2.3 [INFO] [stderr] Downloaded tantivy-fst v0.3.0 [INFO] [stderr] Downloaded murmurhash32 v0.2.0 [INFO] [stderr] Downloaded futures-channel v0.3.5 [INFO] [stderr] Downloaded futures-sink v0.3.5 [INFO] [stderr] Downloaded futures-task v0.3.5 [INFO] [stderr] Downloaded proc-macro-nested v0.1.6 [INFO] [stderr] Downloaded futures v0.3.5 [INFO] [stderr] Downloaded htmlescape v0.3.1 [INFO] [stderr] Downloaded levenshtein_automata v0.2.0 [INFO] [stderr] Downloaded memmap v0.7.0 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded owned-read v0.4.1 [INFO] [stderr] Downloaded owning_ref v0.4.1 [INFO] [stderr] Downloaded memoffset v0.5.5 [INFO] [stderr] Downloaded crossbeam-deque v0.7.3 [INFO] [stderr] Downloaded hermit-abi v0.1.15 [INFO] [stderr] Downloaded rayon-core v1.8.0 [INFO] [stderr] Downloaded serde_json v1.0.57 [INFO] [stderr] Downloaded smallvec v1.4.2 [INFO] [stderr] Downloaded byteorder v1.3.4 [INFO] [stderr] Downloaded tantivy-query-grammar v0.13.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.9 [INFO] [stderr] Downloaded libc v0.2.76 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded addr2line v0.13.0 [INFO] [stderr] Downloaded futures-core v0.3.5 [INFO] [stderr] Downloaded pin-project v0.4.23 [INFO] [stderr] Downloaded proc-macro-hack v0.5.18 [INFO] [stderr] Downloaded fsevent v0.4.0 [INFO] [stderr] Downloaded fsevent-sys v2.0.1 [INFO] [stderr] Downloaded inotify-sys v0.1.3 [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] [stderr] Downloaded syn v1.0.39 [INFO] [stderr] Downloaded futures-util v0.3.5 [INFO] [stderr] Downloaded either v1.6.0 [INFO] [stderr] Downloaded itoa v0.4.6 [INFO] [stderr] Downloaded serde_derive v1.0.115 [INFO] [stderr] Downloaded serde v1.0.115 [INFO] [stderr] Downloaded tempfile v3.1.0 [INFO] [stderr] Downloaded combine v4.3.1 [INFO] [stderr] Downloaded quote v1.0.7 [INFO] [stderr] Downloaded tantivy v0.13.0 [INFO] [stderr] Downloaded snap v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 83087b42e004e3d64344b5ca0f1f403502aaeaba522aad579f43505fabd04b4f [INFO] running `Command { std: "docker" "start" "-a" "83087b42e004e3d64344b5ca0f1f403502aaeaba522aad579f43505fabd04b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83087b42e004e3d64344b5ca0f1f403502aaeaba522aad579f43505fabd04b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83087b42e004e3d64344b5ca0f1f403502aaeaba522aad579f43505fabd04b4f", kill_on_drop: false }` [INFO] [stdout] 83087b42e004e3d64344b5ca0f1f403502aaeaba522aad579f43505fabd04b4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c257000829c02adb97f31fa6ed92048b8a6464a9b302a846ef02ed6ae275fc67 [INFO] running `Command { std: "docker" "start" "-a" "c257000829c02adb97f31fa6ed92048b8a6464a9b302a846ef02ed6ae275fc67", 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.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling snap v1.0.1 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling combine v4.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling chrono v0.4.15 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling bitpacking v0.8.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling murmurhash32 v0.2.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling owned-read v0.4.1 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling levenshtein_automata v0.2.0 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling tantivy-fst v0.3.0 [INFO] [stderr] Compiling fail v0.4.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling census v0.4.0 [INFO] [stderr] Compiling unidecode v0.3.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling atomicwrites v0.2.5 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tantivy-query-grammar v0.13.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling symspell v0.4.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling tantivy v0.13.0 [INFO] [stderr] Compiling json-surf v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Fail, Clone, Serialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_IndexError` [INFO] [stdout] 17 | #[fail(display = "Message: {}", message)] [INFO] [stdout] 18 | pub struct IndexError { [INFO] [stdout] | ---------- `IndexError` 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/errors.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Fail, Clone, Serialize)] [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_IndexError` [INFO] [stdout] 17 | #[fail(display = "Message: {}", message)] [INFO] [stdout] 18 | pub struct IndexError { [INFO] [stdout] | ---------- `IndexError` 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] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/registry.rs:882:9 [INFO] [stdout] | [INFO] [stdout] 882 | state.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 882 | let _ = state.finish(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v1.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "c257000829c02adb97f31fa6ed92048b8a6464a9b302a846ef02ed6ae275fc67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c257000829c02adb97f31fa6ed92048b8a6464a9b302a846ef02ed6ae275fc67", kill_on_drop: false }` [INFO] [stdout] c257000829c02adb97f31fa6ed92048b8a6464a9b302a846ef02ed6ae275fc67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7686327edb893f406612f9b24dda5ba64eb4d13da955a38c317d7130aeb43282 [INFO] running `Command { std: "docker" "start" "-a" "7686327edb893f406612f9b24dda5ba64eb4d13da955a38c317d7130aeb43282", kill_on_drop: false }` [INFO] [stderr] Compiling json-surf v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Fail, Clone, Serialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_IndexError` [INFO] [stdout] 17 | #[fail(display = "Message: {}", message)] [INFO] [stdout] 18 | pub struct IndexError { [INFO] [stdout] | ---------- `IndexError` 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/errors.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Fail, Clone, Serialize)] [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_IndexError` [INFO] [stdout] 17 | #[fail(display = "Message: {}", message)] [INFO] [stdout] 18 | pub struct IndexError { [INFO] [stdout] | ---------- `IndexError` 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] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/registry.rs:882:9 [INFO] [stdout] | [INFO] [stdout] 882 | state.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 882 | let _ = state.finish(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> examples/01_helloworld.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | state.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 196 | let _ = state.finish(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> examples/00_usage.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | state.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 158 | let _ = state.finish(); [INFO] [stdout] | +++++++ [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/errors.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Fail, Clone, Serialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_IndexError` [INFO] [stdout] 17 | #[fail(display = "Message: {}", message)] [INFO] [stdout] 18 | pub struct IndexError { [INFO] [stdout] | ---------- `IndexError` 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/errors.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Fail, Clone, Serialize)] [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_IndexError` [INFO] [stdout] 17 | #[fail(display = "Message: {}", message)] [INFO] [stdout] 18 | pub struct IndexError { [INFO] [stdout] | ---------- `IndexError` 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] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/registry.rs:882:9 [INFO] [stdout] | [INFO] [stdout] 882 | state.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 882 | let _ = state.finish(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/registry.rs:1671:13 [INFO] [stdout] | [INFO] [stdout] 1671 | state.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1671 | let _ = state.finish(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v1.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "7686327edb893f406612f9b24dda5ba64eb4d13da955a38c317d7130aeb43282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7686327edb893f406612f9b24dda5ba64eb4d13da955a38c317d7130aeb43282", kill_on_drop: false }` [INFO] [stdout] 7686327edb893f406612f9b24dda5ba64eb4d13da955a38c317d7130aeb43282