[INFO] fetching crate oasis-types 0.4.0... [INFO] testing oasis-types-0.4.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate oasis-types 0.4.0 into /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate oasis-types 0.4.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oasis-borsh-derive v0.2.10 [INFO] [stderr] Downloaded oasis-borsh-derive-internal v0.2.14 [INFO] [stderr] Downloaded oasis-borsh v0.2.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 459e3deee3af8308434c231c1ae0f702ffcd236d7bd30f31a8c7b66bdb81034d [INFO] running `Command { std: "docker" "start" "-a" "459e3deee3af8308434c231c1ae0f702ffcd236d7bd30f31a8c7b66bdb81034d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "459e3deee3af8308434c231c1ae0f702ffcd236d7bd30f31a8c7b66bdb81034d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "459e3deee3af8308434c231c1ae0f702ffcd236d7bd30f31a8c7b66bdb81034d", kill_on_drop: false }` [INFO] [stdout] 459e3deee3af8308434c231c1ae0f702ffcd236d7bd30f31a8c7b66bdb81034d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7d8d21d00eff28a90839f3d938904bc43c74f29e301ead07ac3673dfcd4a6a1 [INFO] running `Command { std: "docker" "start" "-a" "e7d8d21d00eff28a90839f3d938904bc43c74f29e301ead07ac3673dfcd4a6a1", 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 11.47s [INFO] running `Command { std: "docker" "inspect" "e7d8d21d00eff28a90839f3d938904bc43c74f29e301ead07ac3673dfcd4a6a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7d8d21d00eff28a90839f3d938904bc43c74f29e301ead07ac3673dfcd4a6a1", kill_on_drop: false }` [INFO] [stdout] e7d8d21d00eff28a90839f3d938904bc43c74f29e301ead07ac3673dfcd4a6a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02c45df81b6496992712ffd0394cc07fcc5a86371296190ec88ff80ae77a41db [INFO] running `Command { std: "docker" "start" "-a" "02c45df81b6496992712ffd0394cc07fcc5a86371296190ec88ff80ae77a41db", 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/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] [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.63s [INFO] running `Command { std: "docker" "inspect" "02c45df81b6496992712ffd0394cc07fcc5a86371296190ec88ff80ae77a41db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02c45df81b6496992712ffd0394cc07fcc5a86371296190ec88ff80ae77a41db", kill_on_drop: false }` [INFO] [stdout] 02c45df81b6496992712ffd0394cc07fcc5a86371296190ec88ff80ae77a41db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7953ab0a251f6aeba6260f4583240e792711669cc5432f1656b08a88d9bc51ee [INFO] running `Command { std: "docker" "start" "-a" "7953ab0a251f6aeba6260f4583240e792711669cc5432f1656b08a88d9bc51ee", 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] [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 balance::tests::test_add ... ok [INFO] [stdout] test balance::tests::test_from_str ... ok [INFO] [stdout] test balance::tests::test_mul ... ok [INFO] [stdout] test address::tests::convert_str ... 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.01s [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" "7953ab0a251f6aeba6260f4583240e792711669cc5432f1656b08a88d9bc51ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7953ab0a251f6aeba6260f4583240e792711669cc5432f1656b08a88d9bc51ee", kill_on_drop: false }` [INFO] [stdout] 7953ab0a251f6aeba6260f4583240e792711669cc5432f1656b08a88d9bc51ee