[INFO] fetching crate json-surf 0.9.0... [INFO] checking json-surf-0.9.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate json-surf 0.9.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate json-surf 0.9.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45f3cf1440c75364589b0e00267b2e888bbfbcc6f8939f4a2513c8addab15780 [INFO] running `Command { std: "docker" "start" "-a" "45f3cf1440c75364589b0e00267b2e888bbfbcc6f8939f4a2513c8addab15780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45f3cf1440c75364589b0e00267b2e888bbfbcc6f8939f4a2513c8addab15780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45f3cf1440c75364589b0e00267b2e888bbfbcc6f8939f4a2513c8addab15780", kill_on_drop: false }` [INFO] [stdout] 45f3cf1440c75364589b0e00267b2e888bbfbcc6f8939f4a2513c8addab15780 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42dc0f8b5fe2644c6b564088646047e28b2d3308b0f3ab4cb811d80b6a4d2ff5 [INFO] running `Command { std: "docker" "start" "-a" "42dc0f8b5fe2644c6b564088646047e28b2d3308b0f3ab4cb811d80b6a4d2ff5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking 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] Checking slab v0.4.2 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking miniz_oxide v0.4.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] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling snap v1.0.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking combine v4.3.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking tantivy-fst v0.3.0 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking bitpacking v0.8.2 [INFO] [stderr] Checking owned-read v0.4.1 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking fail v0.4.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking murmurhash32 v0.2.0 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking levenshtein_automata v0.2.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 base64 v0.12.3 [INFO] [stderr] Checking unidecode v0.3.0 [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 futures-macro v0.3.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking symspell v0.4.1 [INFO] [stderr] Checking tantivy-query-grammar v0.13.0 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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)]` 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] [stdout] warning: 4 warnings emitted [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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)]` 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: 3 warnings emitted [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)]` 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: 1 warning emitted [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)]` 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.96s [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 1` [INFO] running `Command { std: "docker" "inspect" "42dc0f8b5fe2644c6b564088646047e28b2d3308b0f3ab4cb811d80b6a4d2ff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42dc0f8b5fe2644c6b564088646047e28b2d3308b0f3ab4cb811d80b6a4d2ff5", kill_on_drop: false }` [INFO] [stdout] 42dc0f8b5fe2644c6b564088646047e28b2d3308b0f3ab4cb811d80b6a4d2ff5