[INFO] fetching crate ordcode 0.2.2... [INFO] building ordcode-0.2.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate ordcode 0.2.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ordcode 0.2.2 [INFO] finished tweaking crates.io crate ordcode 0.2.2 [INFO] tweaked toml for crates.io crate ordcode 0.2.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ordcode 0.2.2 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 8 packages to latest compatible versions [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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] fd85395d838f8d0b4bbb7ae31f800b8e49d7d1006ab9cde7c6f2f45d152dd89e [INFO] running `Command { std: "docker" "start" "-a" "fd85395d838f8d0b4bbb7ae31f800b8e49d7d1006ab9cde7c6f2f45d152dd89e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd85395d838f8d0b4bbb7ae31f800b8e49d7d1006ab9cde7c6f2f45d152dd89e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd85395d838f8d0b4bbb7ae31f800b8e49d7d1006ab9cde7c6f2f45d152dd89e", kill_on_drop: false }` [INFO] [stdout] fd85395d838f8d0b4bbb7ae31f800b8e49d7d1006ab9cde7c6f2f45d152dd89e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 60a31ce61eb61d854b291d803f39b7cedcb9c418afba6d68b9f85e2bf26c3485 [INFO] running `Command { std: "docker" "start" "-a" "60a31ce61eb61d854b291d803f39b7cedcb9c418afba6d68b9f85e2bf26c3485", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ordcode v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `no_i128` [INFO] [stdout] --> src/primitives.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(not(no_i128))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] --> src/size_calc.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] --> src/ord_ser.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] --> src/ord_de.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | serde_if_integer128! { [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/ord_de.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 191 | / fn deserialize_enum( [INFO] [stdout] 192 | | self, [INFO] [stdout] 193 | | _enum: &'static str, [INFO] [stdout] 194 | | _variants: &'static [&'static str], [INFO] [stdout] ... | [INFO] [stdout] 197 | | where [INFO] [stdout] 198 | | V: serde::de::Visitor<'de>, [INFO] [stdout] | |_______________________________________- move the `impl` block outside of this method `deserialize_enum` [INFO] [stdout] 199 | { [INFO] [stdout] 200 | impl<'a, 'de: 'a, R, P> serde::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 2.25s [INFO] running `Command { std: "docker" "inspect" "60a31ce61eb61d854b291d803f39b7cedcb9c418afba6d68b9f85e2bf26c3485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60a31ce61eb61d854b291d803f39b7cedcb9c418afba6d68b9f85e2bf26c3485", kill_on_drop: false }` [INFO] [stdout] 60a31ce61eb61d854b291d803f39b7cedcb9c418afba6d68b9f85e2bf26c3485 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 97ee550acb2f8c84cd8233e2c8f80ef8241d5a4b69cd3a76484c7beeed973c7e [INFO] running `Command { std: "docker" "start" "-a" "97ee550acb2f8c84cd8233e2c8f80ef8241d5a4b69cd3a76484c7beeed973c7e", kill_on_drop: false }` [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stdout] warning: unexpected `cfg` condition name: `no_i128` [INFO] [stdout] --> src/primitives.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(not(no_i128))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] --> src/size_calc.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] --> src/ord_ser.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] --> src/ord_de.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | serde_if_integer128! { [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/ord_de.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 191 | / fn deserialize_enum( [INFO] [stdout] 192 | | self, [INFO] [stdout] 193 | | _enum: &'static str, [INFO] [stdout] 194 | | _variants: &'static [&'static str], [INFO] [stdout] ... | [INFO] [stdout] 197 | | where [INFO] [stdout] 198 | | V: serde::de::Visitor<'de>, [INFO] [stdout] | |_______________________________________- move the `impl` block outside of this method `deserialize_enum` [INFO] [stdout] 199 | { [INFO] [stdout] 200 | impl<'a, 'de: 'a, R, P> serde::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 ordcode v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] --> tests/test_ord.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_i128` [INFO] [stdout] --> src/primitives.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(not(no_i128))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] --> src/size_calc.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] --> src/ord_ser.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] --> src/ord_de.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_i128` [INFO] [stdout] --> tests/test_primitives.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(not(no_i128))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_i128` [INFO] [stdout] --> tests/test_primitives.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(no_i128))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_i128` [INFO] [stdout] --> tests/test_primitives.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(not(no_i128))] test_ser!(u128, serialize_u128, deserialize_u128, V_U128); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_i128` [INFO] [stdout] --> tests/test_primitives.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(not(no_i128))] test_ser!(i128, serialize_i128, deserialize_i128, V_I128); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_i128` [INFO] [stdout] --> tests/test_primitives.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg(not(no_i128))] test_cmpi!(cmp_u128, u128, serialize_u128, V_U128); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_i128` [INFO] [stdout] --> tests/test_primitives.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(not(no_i128))] test_cmpi!(cmp_i128, i128, serialize_i128, V_I128); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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/ord_de.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 191 | / fn deserialize_enum( [INFO] [stdout] 192 | | self, [INFO] [stdout] 193 | | _enum: &'static str, [INFO] [stdout] 194 | | _variants: &'static [&'static str], [INFO] [stdout] ... | [INFO] [stdout] 197 | | where [INFO] [stdout] 198 | | V: serde::de::Visitor<'de>, [INFO] [stdout] | |_______________________________________- move the `impl` block outside of this method `deserialize_enum` [INFO] [stdout] 199 | { [INFO] [stdout] 200 | impl<'a, 'de: 'a, R, P> serde::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 `test` profile [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `Command { std: "docker" "inspect" "97ee550acb2f8c84cd8233e2c8f80ef8241d5a4b69cd3a76484c7beeed973c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97ee550acb2f8c84cd8233e2c8f80ef8241d5a4b69cd3a76484c7beeed973c7e", kill_on_drop: false }` [INFO] [stdout] 97ee550acb2f8c84cd8233e2c8f80ef8241d5a4b69cd3a76484c7beeed973c7e