[INFO] fetching crate cdr 0.2.4... [INFO] checking cdr-0.2.4 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate cdr 0.2.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate cdr 0.2.4 [INFO] finished tweaking crates.io crate cdr 0.2.4 [INFO] tweaked toml for crates.io crate cdr 0.2.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cdr 0.2.4 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95827edabbcfe5e1dd294c4a8f36cea2692baf0081a430bc83541e51db49a572 [INFO] running `Command { std: "docker" "start" "-a" "95827edabbcfe5e1dd294c4a8f36cea2692baf0081a430bc83541e51db49a572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95827edabbcfe5e1dd294c4a8f36cea2692baf0081a430bc83541e51db49a572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95827edabbcfe5e1dd294c4a8f36cea2692baf0081a430bc83541e51db49a572", kill_on_drop: false }` [INFO] [stdout] 95827edabbcfe5e1dd294c4a8f36cea2692baf0081a430bc83541e51db49a572 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80fffe6c4d7a6bf0ac424f3e560f071ea6cffdbfc803f240e1a328f269a373d1 [INFO] running `Command { std: "docker" "start" "-a" "80fffe6c4d7a6bf0ac424f3e560f071ea6cffdbfc803f240e1a328f269a373d1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking cdr v0.2.4 (/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:365:9 [INFO] [stdout] | [INFO] [stdout] 356 | / fn deserialize_enum( [INFO] [stdout] 357 | | self, [INFO] [stdout] 358 | | _name: &'static str, [INFO] [stdout] 359 | | _variants: &'static [&'static str], [INFO] [stdout] ... | [INFO] [stdout] 362 | | where [INFO] [stdout] 363 | | V: de::Visitor<'de>, [INFO] [stdout] | |____________________________- move the `impl` block outside of this method `deserialize_enum` [INFO] [stdout] 364 | { [INFO] [stdout] 365 | impl<'de, 'a, R: 'a, S, E> de::EnumAccess<'de> for &'a mut Deserializer [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 serde_derive v1.0.219 [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> tests/test.rs:573:9 [INFO] [stdout] | [INFO] [stdout] 573 | #[allow(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> tests/test.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | #[allow(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> tests/test.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | #[allow(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> tests/test.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | #[allow(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> tests/test.rs:601:9 [INFO] [stdout] | [INFO] [stdout] 601 | #[allow(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> tests/test.rs:608:9 [INFO] [stdout] | [INFO] [stdout] 608 | #[allow(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> tests/test.rs:615:9 [INFO] [stdout] | [INFO] [stdout] 615 | #[allow(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> tests/test.rs:622:9 [INFO] [stdout] | [INFO] [stdout] 622 | #[allow(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> tests/test.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | #[allow(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> tests/test.rs:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | #[allow(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> tests/test.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | #[allow(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> tests/test.rs:650:9 [INFO] [stdout] | [INFO] [stdout] 650 | #[allow(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> tests/test.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | #[allow(const_err)] [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/de.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 356 | / fn deserialize_enum( [INFO] [stdout] 357 | | self, [INFO] [stdout] 358 | | _name: &'static str, [INFO] [stdout] 359 | | _variants: &'static [&'static str], [INFO] [stdout] ... | [INFO] [stdout] 362 | | where [INFO] [stdout] 363 | | V: de::Visitor<'de>, [INFO] [stdout] | |____________________________- move the `impl` block outside of this method `deserialize_enum` [INFO] [stdout] 364 | { [INFO] [stdout] 365 | impl<'de, 'a, R: 'a, S, E> de::EnumAccess<'de> for &'a mut Deserializer [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 13.14s [INFO] running `Command { std: "docker" "inspect" "80fffe6c4d7a6bf0ac424f3e560f071ea6cffdbfc803f240e1a328f269a373d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80fffe6c4d7a6bf0ac424f3e560f071ea6cffdbfc803f240e1a328f269a373d1", kill_on_drop: false }` [INFO] [stdout] 80fffe6c4d7a6bf0ac424f3e560f071ea6cffdbfc803f240e1a328f269a373d1