[INFO] fetching crate ssh_format 0.14.1... [INFO] building ssh_format-0.14.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate ssh_format 0.14.1 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ssh_format 0.14.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3e4ac54b51d93551b62e6ace607dbed15493ff6a5bd40df8d71a8019d627db3c [INFO] running `Command { std: "docker" "start" "-a" "3e4ac54b51d93551b62e6ace607dbed15493ff6a5bd40df8d71a8019d627db3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e4ac54b51d93551b62e6ace607dbed15493ff6a5bd40df8d71a8019d627db3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e4ac54b51d93551b62e6ace607dbed15493ff6a5bd40df8d71a8019d627db3c", kill_on_drop: false }` [INFO] [stdout] 3e4ac54b51d93551b62e6ace607dbed15493ff6a5bd40df8d71a8019d627db3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b0679986da5e71a63c8bbb3fccd76d79dc8e341d1705d15640cffbf720399cc7 [INFO] running `Command { std: "docker" "start" "-a" "b0679986da5e71a63c8bbb3fccd76d79dc8e341d1705d15640cffbf720399cc7", kill_on_drop: false }` [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 0.45s [INFO] running `Command { std: "docker" "inspect" "b0679986da5e71a63c8bbb3fccd76d79dc8e341d1705d15640cffbf720399cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0679986da5e71a63c8bbb3fccd76d79dc8e341d1705d15640cffbf720399cc7", kill_on_drop: false }` [INFO] [stdout] b0679986da5e71a63c8bbb3fccd76d79dc8e341d1705d15640cffbf720399cc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] cf0e8399f2b60f1eac48267115b1ecc95e7d09bc20dc4e47c5b34dd3af099c13 [INFO] running `Command { std: "docker" "start" "-a" "cf0e8399f2b60f1eac48267115b1ecc95e7d09bc20dc4e47c5b34dd3af099c13", 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 1.68s [INFO] running `Command { std: "docker" "inspect" "cf0e8399f2b60f1eac48267115b1ecc95e7d09bc20dc4e47c5b34dd3af099c13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf0e8399f2b60f1eac48267115b1ecc95e7d09bc20dc4e47c5b34dd3af099c13", kill_on_drop: false }` [INFO] [stdout] cf0e8399f2b60f1eac48267115b1ecc95e7d09bc20dc4e47c5b34dd3af099c13