[INFO] fetching crate oasis-types 0.4.0... [INFO] testing oasis-types-0.4.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate oasis-types 0.4.0 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate oasis-types 0.4.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8626a6bd2c5700f9a8259e2d51436314db3ed790f7f4b5cc00e75660c6d905de [INFO] running `Command { std: "docker" "start" "-a" "8626a6bd2c5700f9a8259e2d51436314db3ed790f7f4b5cc00e75660c6d905de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8626a6bd2c5700f9a8259e2d51436314db3ed790f7f4b5cc00e75660c6d905de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8626a6bd2c5700f9a8259e2d51436314db3ed790f7f4b5cc00e75660c6d905de", kill_on_drop: false }` [INFO] [stdout] 8626a6bd2c5700f9a8259e2d51436314db3ed790f7f4b5cc00e75660c6d905de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf23785617daed70bc3e0da9253ad064410f7264912ae557e316f05e3f85a22f [INFO] running `Command { std: "docker" "start" "-a" "cf23785617daed70bc3e0da9253ad064410f7264912ae557e316f05e3f85a22f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling derive_more v0.15.0 [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 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 9.10s [INFO] running `Command { std: "docker" "inspect" "cf23785617daed70bc3e0da9253ad064410f7264912ae557e316f05e3f85a22f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf23785617daed70bc3e0da9253ad064410f7264912ae557e316f05e3f85a22f", kill_on_drop: false }` [INFO] [stdout] cf23785617daed70bc3e0da9253ad064410f7264912ae557e316f05e3f85a22f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca3cd5ce2710bcd203d7304b634ed43a70daa7c000e92e312b678c8c30d983cb [INFO] running `Command { std: "docker" "start" "-a" "ca3cd5ce2710bcd203d7304b634ed43a70daa7c000e92e312b678c8c30d983cb", 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] [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/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] [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.67s [INFO] running `Command { std: "docker" "inspect" "ca3cd5ce2710bcd203d7304b634ed43a70daa7c000e92e312b678c8c30d983cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca3cd5ce2710bcd203d7304b634ed43a70daa7c000e92e312b678c8c30d983cb", kill_on_drop: false }` [INFO] [stdout] ca3cd5ce2710bcd203d7304b634ed43a70daa7c000e92e312b678c8c30d983cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b3c0846d5b9ec08cacdb8730632c5922ec1205195da09c84b63a8f9a8bf2cc02 [INFO] running `Command { std: "docker" "start" "-a" "b3c0846d5b9ec08cacdb8730632c5922ec1205195da09c84b63a8f9a8bf2cc02", 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.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/oasis_types-3c9b605b5078f221) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test address::tests::convert_raw ... 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] test balance::tests::test_add ... ok [INFO] [stdout] test balance::tests::test_cmp ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests oasis_types [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" "b3c0846d5b9ec08cacdb8730632c5922ec1205195da09c84b63a8f9a8bf2cc02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3c0846d5b9ec08cacdb8730632c5922ec1205195da09c84b63a8f9a8bf2cc02", kill_on_drop: false }` [INFO] [stdout] b3c0846d5b9ec08cacdb8730632c5922ec1205195da09c84b63a8f9a8bf2cc02