[INFO] fetching crate ssh_format 0.14.1... [INFO] building ssh_format-0.14.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate ssh_format 0.14.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ssh_format 0.14.1 [INFO] finished tweaking crates.io crate ssh_format 0.14.1 [INFO] tweaked toml for crates.io crate ssh_format 0.14.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ssh_format 0.14.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding generator v0.7.5 (available: v0.8.7) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [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] Downloading crates ... [INFO] [stderr] Downloaded ssh_format_error v0.1.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7d8772681409f1ced012f305561a3c45bf1f5a1d129c46c87914c5cfdd7598f [INFO] running `Command { std: "docker" "start" "-a" "f7d8772681409f1ced012f305561a3c45bf1f5a1d129c46c87914c5cfdd7598f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7d8772681409f1ced012f305561a3c45bf1f5a1d129c46c87914c5cfdd7598f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7d8772681409f1ced012f305561a3c45bf1f5a1d129c46c87914c5cfdd7598f", kill_on_drop: false }` [INFO] [stdout] f7d8772681409f1ced012f305561a3c45bf1f5a1d129c46c87914c5cfdd7598f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2e01b4b8b47a45966bf7d564570fa51a22793b58d79dcd717e063790da24b8a [INFO] running `Command { std: "docker" "start" "-a" "d2e01b4b8b47a45966bf7d564570fa51a22793b58d79dcd717e063790da24b8a", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling ssh_format_error v0.1.0 [INFO] [stderr] Compiling ssh_format v0.14.1 (/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/de.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 310 | / fn deserialize_enum( [INFO] [stdout] 311 | | self, [INFO] [stdout] 312 | | _name: &'static str, [INFO] [stdout] 313 | | _variants: &'static [&'static str], [INFO] [stdout] ... | [INFO] [stdout] 316 | | where [INFO] [stdout] 317 | | V: Visitor<'de>, [INFO] [stdout] | |________________________- move the `impl` block outside of this method `deserialize_enum` [INFO] [stdout] 318 | { [INFO] [stdout] 319 | impl<'a, 'de, It> serde::de::EnumAccess<'de> for &'a mut Deserializer<'de, It> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^------------^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Deserializer` is not local [INFO] [stdout] | `EnumAccess` 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.02s [INFO] running `Command { std: "docker" "inspect" "d2e01b4b8b47a45966bf7d564570fa51a22793b58d79dcd717e063790da24b8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2e01b4b8b47a45966bf7d564570fa51a22793b58d79dcd717e063790da24b8a", kill_on_drop: false }` [INFO] [stdout] d2e01b4b8b47a45966bf7d564570fa51a22793b58d79dcd717e063790da24b8a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f1e4a366ac1d7ea98a5d23dea884bec7de1060bc3c4ce8167c575dda1a58030 [INFO] running `Command { std: "docker" "start" "-a" "1f1e4a366ac1d7ea98a5d23dea884bec7de1060bc3c4ce8167c575dda1a58030", kill_on_drop: false }` [INFO] [stderr] Compiling generator v0.7.5 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 310 | / fn deserialize_enum( [INFO] [stdout] 311 | | self, [INFO] [stdout] 312 | | _name: &'static str, [INFO] [stdout] 313 | | _variants: &'static [&'static str], [INFO] [stdout] ... | [INFO] [stdout] 316 | | where [INFO] [stdout] 317 | | V: Visitor<'de>, [INFO] [stdout] | |________________________- move the `impl` block outside of this method `deserialize_enum` [INFO] [stdout] 318 | { [INFO] [stdout] 319 | impl<'a, 'de, It> serde::de::EnumAccess<'de> for &'a mut Deserializer<'de, It> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^------------^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Deserializer` is not local [INFO] [stdout] | `EnumAccess` 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ssh_format v0.14.1 (/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/de.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 310 | / fn deserialize_enum( [INFO] [stdout] 311 | | self, [INFO] [stdout] 312 | | _name: &'static str, [INFO] [stdout] 313 | | _variants: &'static [&'static str], [INFO] [stdout] ... | [INFO] [stdout] 316 | | where [INFO] [stdout] 317 | | V: Visitor<'de>, [INFO] [stdout] | |________________________- move the `impl` block outside of this method `deserialize_enum` [INFO] [stdout] 318 | { [INFO] [stdout] 319 | impl<'a, 'de, It> serde::de::EnumAccess<'de> for &'a mut Deserializer<'de, It> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^------------^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Deserializer` is not local [INFO] [stdout] | `EnumAccess` 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.29s [INFO] running `Command { std: "docker" "inspect" "1f1e4a366ac1d7ea98a5d23dea884bec7de1060bc3c4ce8167c575dda1a58030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f1e4a366ac1d7ea98a5d23dea884bec7de1060bc3c4ce8167c575dda1a58030", kill_on_drop: false }` [INFO] [stdout] 1f1e4a366ac1d7ea98a5d23dea884bec7de1060bc3c4ce8167c575dda1a58030