[INFO] fetching crate oasis-types 0.4.0... [INFO] testing oasis-types-0.4.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-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 b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 622a8cd11228728fed4a9c12db3d6b57588284bfa8740cce3940a7579169327b [INFO] running `Command { std: "docker" "start" "-a" "622a8cd11228728fed4a9c12db3d6b57588284bfa8740cce3940a7579169327b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "622a8cd11228728fed4a9c12db3d6b57588284bfa8740cce3940a7579169327b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "622a8cd11228728fed4a9c12db3d6b57588284bfa8740cce3940a7579169327b", kill_on_drop: false }` [INFO] [stdout] 622a8cd11228728fed4a9c12db3d6b57588284bfa8740cce3940a7579169327b [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0890ffc8ea1990ab2e7ce921c4cb2f6accea7ec65af225df0cbf70b8d03dd01 [INFO] running `Command { std: "docker" "start" "-a" "e0890ffc8ea1990ab2e7ce921c4cb2f6accea7ec65af225df0cbf70b8d03dd01", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling oasis-borsh-derive-internal v0.2.14 [INFO] [stderr] Compiling oasis-borsh-derive v0.2.10 [INFO] [stderr] Compiling oasis-borsh v0.2.12 [INFO] [stderr] Compiling regex v1.11.3 [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/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/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: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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.16s [INFO] running `Command { std: "docker" "inspect" "e0890ffc8ea1990ab2e7ce921c4cb2f6accea7ec65af225df0cbf70b8d03dd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0890ffc8ea1990ab2e7ce921c4cb2f6accea7ec65af225df0cbf70b8d03dd01", kill_on_drop: false }` [INFO] [stdout] e0890ffc8ea1990ab2e7ce921c4cb2f6accea7ec65af225df0cbf70b8d03dd01 [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2c6ed938e58cf3d3abbea6dfbfd9465cf881b04ef04ef6aa741c533ca438ff1 [INFO] running `Command { std: "docker" "start" "-a" "a2c6ed938e58cf3d3abbea6dfbfd9465cf881b04ef04ef6aa741c533ca438ff1", kill_on_drop: false }` [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/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: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] [stderr] Compiling oasis-types v0.4.0 (/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/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/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: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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "a2c6ed938e58cf3d3abbea6dfbfd9465cf881b04ef04ef6aa741c533ca438ff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c6ed938e58cf3d3abbea6dfbfd9465cf881b04ef04ef6aa741c533ca438ff1", kill_on_drop: false }` [INFO] [stdout] a2c6ed938e58cf3d3abbea6dfbfd9465cf881b04ef04ef6aa741c533ca438ff1 [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ae2d0d16d12a2802e40124335490cd8a0875590c54290418b490bb457bb10fa4 [INFO] running `Command { std: "docker" "start" "-a" "ae2d0d16d12a2802e40124335490cd8a0875590c54290418b490bb457bb10fa4", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `serde` [INFO] [stderr] --> src/address.rs:115:17 [INFO] [stderr] | [INFO] [stderr] 115 | #[cfg(all(test, feature = "serde"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `non_exhaustive` has been stable since 1.40.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(non_exhaustive)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 67 | const _IMPL_SERDE_FOR_RPC_ERROR: () = { [INFO] [stderr] | ----------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERDE_FOR_RPC_ERROR` [INFO] [stderr] 68 | impl oasis_borsh::ser::BorshSerialize for RpcError { [INFO] [stderr] | ^^^^^--------------------------------^^^^^-------- [INFO] [stderr] | | | [INFO] [stderr] | | `RpcError` is not local [INFO] [stderr] | `BorshSerialize` is not local [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 67 | const _IMPL_SERDE_FOR_RPC_ERROR: () = { [INFO] [stderr] | ----------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERDE_FOR_RPC_ERROR` [INFO] [stderr] ... [INFO] [stderr] 111 | impl oasis_borsh::de::BorshDeserialize for RpcError { [INFO] [stderr] | ^^^^^---------------------------------^^^^^-------- [INFO] [stderr] | | | [INFO] [stderr] | | `RpcError` is not local [INFO] [stderr] | `BorshDeserialize` is not local [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/address.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 67 | const _IMPL_SERDE_FOR_ADDRESS: () = { [INFO] [stderr] | --------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERDE_FOR_ADDRESS` [INFO] [stderr] 68 | impl oasis_borsh::BorshSerialize for Address { [INFO] [stderr] | ^^^^^---------------------------^^^^^------- [INFO] [stderr] | | | [INFO] [stderr] | | `Address` is not local [INFO] [stderr] | `BorshSerialize` is not local [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/address.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 67 | const _IMPL_SERDE_FOR_ADDRESS: () = { [INFO] [stderr] | --------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERDE_FOR_ADDRESS` [INFO] [stderr] ... [INFO] [stderr] 74 | impl oasis_borsh::BorshDeserialize for Address { [INFO] [stderr] | ^^^^^-----------------------------^^^^^------- [INFO] [stderr] | | | [INFO] [stderr] | | `Address` is not local [INFO] [stderr] | `BorshDeserialize` is not local [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: `oasis-types` (lib) generated 6 warnings (run `cargo fix --lib -p oasis-types` to apply 4 suggestions) [INFO] [stderr] warning: `oasis-types` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/oasis_types-daa6bfc3d42060e8) [INFO] [stdout] running 6 tests [INFO] [stderr] Doc-tests oasis_types [INFO] [stdout] test address::tests::convert_raw ... ok [INFO] [stdout] test balance::tests::test_cmp ... ok [INFO] [stdout] test balance::tests::test_add ... ok [INFO] [stdout] test address::tests::convert_str ... ok [INFO] [stdout] test balance::tests::test_from_str ... ok [INFO] [stdout] test balance::tests::test_mul ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ae2d0d16d12a2802e40124335490cd8a0875590c54290418b490bb457bb10fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae2d0d16d12a2802e40124335490cd8a0875590c54290418b490bb457bb10fa4", kill_on_drop: false }` [INFO] [stdout] ae2d0d16d12a2802e40124335490cd8a0875590c54290418b490bb457bb10fa4