[INFO] fetching crate i3nator 1.2.0... [INFO] checking i3nator-1.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate i3nator 1.2.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate i3nator 1.2.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 i3nator 1.2.0 [INFO] finished tweaking crates.io crate i3nator 1.2.0 [INFO] tweaked toml for crates.io crate i3nator 1.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate i3nator 1.2.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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 917b2ce64aa6d2f5cd6089b5c560e04d969528171a59019774f5e78df75eebfd [INFO] running `Command { std: "docker" "start" "-a" "917b2ce64aa6d2f5cd6089b5c560e04d969528171a59019774f5e78df75eebfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "917b2ce64aa6d2f5cd6089b5c560e04d969528171a59019774f5e78df75eebfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "917b2ce64aa6d2f5cd6089b5c560e04d969528171a59019774f5e78df75eebfd", kill_on_drop: false }` [INFO] [stdout] 917b2ce64aa6d2f5cd6089b5c560e04d969528171a59019774f5e78df75eebfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 698301136b2d4bdbfc794ca01be0957caa8306a6d9738ef04fd26d77b6da3a20 [INFO] running `Command { std: "docker" "start" "-a" "698301136b2d4bdbfc794ca01be0957caa8306a6d9738ef04fd26d77b6da3a20", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys-next v0.1.0 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking getch v0.2.1 [INFO] [stderr] Checking dirs-next v1.0.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking addr2line v0.12.1 [INFO] [stderr] Checking backtrace v0.3.48 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling i3nator v1.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking i3ipc v0.10.1 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 243 | / fn deserialize_application_command<'de, D>(deserializer: D) -> Result [INFO] [stdout] 244 | | where [INFO] [stdout] 245 | | D: Deserializer<'de>, [INFO] [stdout] | |_________________________- move the `impl` block outside of this function `deserialize_application_command` [INFO] [stdout] 246 | { [INFO] [stdout] 247 | impl<'de> de::Visitor<'de> for Phantom { [INFO] [stdout] | ^^^^^^^^^^-----------^^^^^^^^^^-------^------------------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ApplicationCommand` is not local [INFO] [stdout] | | `Phantom` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [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: 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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 300 | / fn deserialize_duration<'de, D>(deserializer: D) -> Result [INFO] [stdout] 301 | | where [INFO] [stdout] 302 | | D: Deserializer<'de>, [INFO] [stdout] | |_________________________- move the `impl` block outside of this function `deserialize_duration` [INFO] [stdout] 303 | { [INFO] [stdout] 304 | impl<'de> de::Visitor<'de> for Phantom { [INFO] [stdout] | ^^^^^^^^^^-----------^^^^^^^^^^-------^--------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Duration` is not local [INFO] [stdout] | | `Phantom` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/types.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 329 | / fn deserialize_exec<'de, D>(deserializer: D) -> Result [INFO] [stdout] 330 | | where [INFO] [stdout] 331 | | D: Deserializer<'de>, [INFO] [stdout] | |_________________________- move the `impl` block outside of this function `deserialize_exec` [INFO] [stdout] 332 | { [INFO] [stdout] 333 | impl<'de> de::Visitor<'de> for Phantom { [INFO] [stdout] | ^^^^^^^^^^-----------^^^^^^^^^^-------^----^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Exec` is not local [INFO] [stdout] | | `Phantom` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/types.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 387 | / fn deserialize_layout<'de, D>(deserializer: D) -> Result [INFO] [stdout] 388 | | where [INFO] [stdout] 389 | | D: Deserializer<'de>, [INFO] [stdout] | |_________________________- move the `impl` block outside of this function `deserialize_layout` [INFO] [stdout] 390 | { [INFO] [stdout] 391 | impl<'de> de::Visitor<'de> for Phantom { [INFO] [stdout] | ^^^^^^^^^^-----------^^^^^^^^^^-------^------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Layout` is not local [INFO] [stdout] | | `Phantom` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/types.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 243 | / fn deserialize_application_command<'de, D>(deserializer: D) -> Result [INFO] [stdout] 244 | | where [INFO] [stdout] 245 | | D: Deserializer<'de>, [INFO] [stdout] | |_________________________- move the `impl` block outside of this function `deserialize_application_command` [INFO] [stdout] 246 | { [INFO] [stdout] 247 | impl<'de> de::Visitor<'de> for Phantom { [INFO] [stdout] | ^^^^^^^^^^-----------^^^^^^^^^^-------^------------------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ApplicationCommand` is not local [INFO] [stdout] | | `Phantom` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [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: 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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 300 | / fn deserialize_duration<'de, D>(deserializer: D) -> Result [INFO] [stdout] 301 | | where [INFO] [stdout] 302 | | D: Deserializer<'de>, [INFO] [stdout] | |_________________________- move the `impl` block outside of this function `deserialize_duration` [INFO] [stdout] 303 | { [INFO] [stdout] 304 | impl<'de> de::Visitor<'de> for Phantom { [INFO] [stdout] | ^^^^^^^^^^-----------^^^^^^^^^^-------^--------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Duration` is not local [INFO] [stdout] | | `Phantom` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/types.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 329 | / fn deserialize_exec<'de, D>(deserializer: D) -> Result [INFO] [stdout] 330 | | where [INFO] [stdout] 331 | | D: Deserializer<'de>, [INFO] [stdout] | |_________________________- move the `impl` block outside of this function `deserialize_exec` [INFO] [stdout] 332 | { [INFO] [stdout] 333 | impl<'de> de::Visitor<'de> for Phantom { [INFO] [stdout] | ^^^^^^^^^^-----------^^^^^^^^^^-------^----^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Exec` is not local [INFO] [stdout] | | `Phantom` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/types.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 387 | / fn deserialize_layout<'de, D>(deserializer: D) -> Result [INFO] [stdout] 388 | | where [INFO] [stdout] 389 | | D: Deserializer<'de>, [INFO] [stdout] | |_________________________- move the `impl` block outside of this function `deserialize_layout` [INFO] [stdout] 390 | { [INFO] [stdout] 391 | impl<'de> de::Visitor<'de> for Phantom { [INFO] [stdout] | ^^^^^^^^^^-----------^^^^^^^^^^-------^------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Layout` is not local [INFO] [stdout] | | `Phantom` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.79s [INFO] running `Command { std: "docker" "inspect" "698301136b2d4bdbfc794ca01be0957caa8306a6d9738ef04fd26d77b6da3a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "698301136b2d4bdbfc794ca01be0957caa8306a6d9738ef04fd26d77b6da3a20", kill_on_drop: false }` [INFO] [stdout] 698301136b2d4bdbfc794ca01be0957caa8306a6d9738ef04fd26d77b6da3a20