[INFO] fetching crate json-surf 0.9.0... [INFO] checking json-surf-0.9.0 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] extracting crate json-surf 0.9.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate json-surf 0.9.0 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded filetime v0.2.12 [INFO] [stderr] Downloaded owned-read v0.4.1 [INFO] [stderr] Downloaded tantivy-query-grammar v0.13.0 [INFO] [stderr] Downloaded murmurhash32 v0.2.0 [INFO] [stderr] Downloaded crossbeam v0.7.3 [INFO] [stderr] Downloaded atomicwrites v0.2.5 [INFO] [stderr] Downloaded serde-value v0.6.0 [INFO] [stderr] Downloaded symspell v0.4.1 [INFO] [stderr] Downloaded pin-project-internal v0.4.23 [INFO] [stderr] Downloaded fail v0.4.0 [INFO] [stderr] Downloaded bitpacking v0.8.2 [INFO] [stderr] Downloaded pin-project v0.4.23 [INFO] [stderr] Downloaded unidecode v0.3.0 [INFO] [stderr] Downloaded combine v4.3.1 [INFO] [stderr] Downloaded htmlescape v0.3.1 [INFO] [stderr] Downloaded census v0.4.0 [INFO] [stderr] Downloaded levenshtein_automata v0.2.0 [INFO] [stderr] Downloaded tantivy v0.13.0 [INFO] [stderr] Downloaded snap v1.0.1 [INFO] [stderr] Downloaded tantivy-fst v0.3.0 [INFO] [stderr] Downloaded rust-stemmers v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e598630f628976bf9cf511106f9000794831710a5b96daacdda33e60ee004744 [INFO] running `Command { std: "docker" "start" "-a" "e598630f628976bf9cf511106f9000794831710a5b96daacdda33e60ee004744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e598630f628976bf9cf511106f9000794831710a5b96daacdda33e60ee004744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e598630f628976bf9cf511106f9000794831710a5b96daacdda33e60ee004744", kill_on_drop: false }` [INFO] [stdout] e598630f628976bf9cf511106f9000794831710a5b96daacdda33e60ee004744 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dfd9730e373127817b353f71aca5f19a2209f341f6fc61cdc962297595a212c [INFO] running `Command { std: "docker" "start" "-a" "4dfd9730e373127817b353f71aca5f19a2209f341f6fc61cdc962297595a212c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking miniz_oxide v0.4.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling snap v1.0.1 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking combine v4.3.1 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking bitpacking v0.8.2 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking num-integer v0.1.43 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking owned-read v0.4.1 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking murmurhash32 v0.2.0 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking census v0.4.0 [INFO] [stderr] Checking levenshtein_automata v0.2.0 [INFO] [stderr] Checking unidecode v0.3.0 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking tantivy-fst v0.3.0 [INFO] [stderr] Checking fail v0.4.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking atomicwrites v0.2.5 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tantivy-query-grammar v0.13.0 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Checking symspell v0.4.1 [INFO] [stderr] Checking serde v1.0.115 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking rust-stemmers v1.2.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking tantivy v0.13.0 [INFO] [stderr] Checking 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/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: 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: 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 `dev` profile [unoptimized + debuginfo] target(s) in 22.74s [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 7` [INFO] running `Command { std: "docker" "inspect" "4dfd9730e373127817b353f71aca5f19a2209f341f6fc61cdc962297595a212c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dfd9730e373127817b353f71aca5f19a2209f341f6fc61cdc962297595a212c", kill_on_drop: false }` [INFO] [stdout] 4dfd9730e373127817b353f71aca5f19a2209f341f6fc61cdc962297595a212c