[INFO] fetching crate oasis-types 0.4.0... [INFO] checking oasis-types-0.4.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate oasis-types 0.4.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate oasis-types 0.4.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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 derive_more v0.15.0 [INFO] [stderr] Downloaded oasis-borsh v0.2.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d6aa5d8acf9af95c6397ecabe81a5f3e489c70e214ab1d841e3ece129f3ada9 [INFO] running `Command { std: "docker" "start" "-a" "5d6aa5d8acf9af95c6397ecabe81a5f3e489c70e214ab1d841e3ece129f3ada9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d6aa5d8acf9af95c6397ecabe81a5f3e489c70e214ab1d841e3ece129f3ada9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d6aa5d8acf9af95c6397ecabe81a5f3e489c70e214ab1d841e3ece129f3ada9", kill_on_drop: false }` [INFO] [stdout] 5d6aa5d8acf9af95c6397ecabe81a5f3e489c70e214ab1d841e3ece129f3ada9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 124ee5e5d1c022ab6f0f20eb90dec2bd1d894e134986526ae975853d1c97d200 [INFO] running `Command { std: "docker" "start" "-a" "124ee5e5d1c022ab6f0f20eb90dec2bd1d894e134986526ae975853d1c97d200", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling oasis-borsh-derive-internal v0.2.14 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling oasis-borsh-derive v0.2.10 [INFO] [stderr] Checking oasis-borsh v0.2.12 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Checking 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: 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: 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: 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 29.42s [INFO] running `Command { std: "docker" "inspect" "124ee5e5d1c022ab6f0f20eb90dec2bd1d894e134986526ae975853d1c97d200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "124ee5e5d1c022ab6f0f20eb90dec2bd1d894e134986526ae975853d1c97d200", kill_on_drop: false }` [INFO] [stdout] 124ee5e5d1c022ab6f0f20eb90dec2bd1d894e134986526ae975853d1c97d200