[INFO] fetching crate oasis-types 0.4.0... [INFO] building oasis-types-0.4.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate oasis-types 0.4.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate oasis-types 0.4.0 [INFO] finished tweaking crates.io crate oasis-types 0.4.0 [INFO] tweaked toml for crates.io crate oasis-types 0.4.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate oasis-types 0.4.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.15.0 (available: v2.0.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cda01bdde41b9afc97ce8ed6081db31b5e4c97ecb5c687915bfc6b384f2fb7d [INFO] running `Command { std: "docker" "start" "-a" "0cda01bdde41b9afc97ce8ed6081db31b5e4c97ecb5c687915bfc6b384f2fb7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cda01bdde41b9afc97ce8ed6081db31b5e4c97ecb5c687915bfc6b384f2fb7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cda01bdde41b9afc97ce8ed6081db31b5e4c97ecb5c687915bfc6b384f2fb7d", kill_on_drop: false }` [INFO] [stdout] 0cda01bdde41b9afc97ce8ed6081db31b5e4c97ecb5c687915bfc6b384f2fb7d [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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfa6d578df3b03f039db625a7ce75b232a1ae65aaa9ff199e99aa6bc8a66f3e9 [INFO] running `Command { std: "docker" "start" "-a" "cfa6d578df3b03f039db625a7ce75b232a1ae65aaa9ff199e99aa6bc8a66f3e9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling oasis-borsh-derive-internal v0.2.14 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling oasis-borsh-derive v0.2.10 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling oasis-borsh v0.2.12 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling oasis-types v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/address.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(all(test, feature = "serde"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [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: the feature `non_exhaustive` has been stable since 1.40.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(non_exhaustive)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` 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/address.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | const _IMPL_SERDE_FOR_ADDRESS: () = { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERDE_FOR_ADDRESS` [INFO] [stdout] 68 | impl oasis_borsh::BorshSerialize for Address { [INFO] [stdout] | ^^^^^---------------------------^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `Address` is not local [INFO] [stdout] | `BorshSerialize` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | const _IMPL_SERDE_FOR_RPC_ERROR: () = { [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERDE_FOR_RPC_ERROR` [INFO] [stdout] 68 | impl oasis_borsh::ser::BorshSerialize for RpcError { [INFO] [stdout] | ^^^^^--------------------------------^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | `RpcError` is not local [INFO] [stdout] | `BorshSerialize` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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/lib.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 67 | const _IMPL_SERDE_FOR_RPC_ERROR: () = { [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERDE_FOR_RPC_ERROR` [INFO] [stdout] ... [INFO] [stdout] 111 | impl oasis_borsh::de::BorshDeserialize for RpcError { [INFO] [stdout] | ^^^^^---------------------------------^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | `RpcError` is not local [INFO] [stdout] | `BorshDeserialize` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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/address.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 67 | const _IMPL_SERDE_FOR_ADDRESS: () = { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERDE_FOR_ADDRESS` [INFO] [stdout] ... [INFO] [stdout] 74 | impl oasis_borsh::BorshDeserialize for Address { [INFO] [stdout] | ^^^^^-----------------------------^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `Address` is not local [INFO] [stdout] | `BorshDeserialize` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.69s [INFO] running `Command { std: "docker" "inspect" "cfa6d578df3b03f039db625a7ce75b232a1ae65aaa9ff199e99aa6bc8a66f3e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfa6d578df3b03f039db625a7ce75b232a1ae65aaa9ff199e99aa6bc8a66f3e9", kill_on_drop: false }` [INFO] [stdout] cfa6d578df3b03f039db625a7ce75b232a1ae65aaa9ff199e99aa6bc8a66f3e9 [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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ca57bc18072cb6158e2f872b8c296a2335643bf8a9228cbd9e7af0ae7976b8c [INFO] running `Command { std: "docker" "start" "-a" "1ca57bc18072cb6158e2f872b8c296a2335643bf8a9228cbd9e7af0ae7976b8c", kill_on_drop: false }` [INFO] [stderr] Compiling oasis-types v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/address.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(all(test, feature = "serde"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [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: the feature `non_exhaustive` has been stable since 1.40.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(non_exhaustive)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` 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/address.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | const _IMPL_SERDE_FOR_ADDRESS: () = { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERDE_FOR_ADDRESS` [INFO] [stdout] 68 | impl oasis_borsh::BorshSerialize for Address { [INFO] [stdout] | ^^^^^---------------------------^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `Address` is not local [INFO] [stdout] | `BorshSerialize` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | const _IMPL_SERDE_FOR_RPC_ERROR: () = { [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERDE_FOR_RPC_ERROR` [INFO] [stdout] 68 | impl oasis_borsh::ser::BorshSerialize for RpcError { [INFO] [stdout] | ^^^^^--------------------------------^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | `RpcError` is not local [INFO] [stdout] | `BorshSerialize` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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/lib.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 67 | const _IMPL_SERDE_FOR_RPC_ERROR: () = { [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERDE_FOR_RPC_ERROR` [INFO] [stdout] ... [INFO] [stdout] 111 | impl oasis_borsh::de::BorshDeserialize for RpcError { [INFO] [stdout] | ^^^^^---------------------------------^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | `RpcError` is not local [INFO] [stdout] | `BorshDeserialize` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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/address.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 67 | const _IMPL_SERDE_FOR_ADDRESS: () = { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERDE_FOR_ADDRESS` [INFO] [stdout] ... [INFO] [stdout] 74 | impl oasis_borsh::BorshDeserialize for Address { [INFO] [stdout] | ^^^^^-----------------------------^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `Address` is not local [INFO] [stdout] | `BorshDeserialize` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/address.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(all(test, feature = "serde"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [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: the feature `non_exhaustive` has been stable since 1.40.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(non_exhaustive)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` 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/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | const _IMPL_SERDE_FOR_RPC_ERROR: () = { [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERDE_FOR_RPC_ERROR` [INFO] [stdout] 68 | impl oasis_borsh::ser::BorshSerialize for RpcError { [INFO] [stdout] | ^^^^^--------------------------------^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | `RpcError` is not local [INFO] [stdout] | `BorshSerialize` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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/address.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | const _IMPL_SERDE_FOR_ADDRESS: () = { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERDE_FOR_ADDRESS` [INFO] [stdout] 68 | impl oasis_borsh::BorshSerialize for Address { [INFO] [stdout] | ^^^^^---------------------------^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `Address` is not local [INFO] [stdout] | `BorshSerialize` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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/address.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 67 | const _IMPL_SERDE_FOR_ADDRESS: () = { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERDE_FOR_ADDRESS` [INFO] [stdout] ... [INFO] [stdout] 74 | impl oasis_borsh::BorshDeserialize for Address { [INFO] [stdout] | ^^^^^-----------------------------^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `Address` is not local [INFO] [stdout] | `BorshDeserialize` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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/lib.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 67 | const _IMPL_SERDE_FOR_RPC_ERROR: () = { [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERDE_FOR_RPC_ERROR` [INFO] [stdout] ... [INFO] [stdout] 111 | impl oasis_borsh::de::BorshDeserialize for RpcError { [INFO] [stdout] | ^^^^^---------------------------------^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | `RpcError` is not local [INFO] [stdout] | `BorshDeserialize` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "1ca57bc18072cb6158e2f872b8c296a2335643bf8a9228cbd9e7af0ae7976b8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ca57bc18072cb6158e2f872b8c296a2335643bf8a9228cbd9e7af0ae7976b8c", kill_on_drop: false }` [INFO] [stdout] 1ca57bc18072cb6158e2f872b8c296a2335643bf8a9228cbd9e7af0ae7976b8c