[INFO] cloning repository https://github.com/JeanPaul0502/solana-contract-wallet
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JeanPaul0502/solana-contract-wallet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeanPaul0502%2Fsolana-contract-wallet", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeanPaul0502%2Fsolana-contract-wallet'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7bd5a77254920bd1cfd3cc06183626b94f420e56
[INFO] checking JeanPaul0502/solana-contract-wallet against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeanPaul0502%2Fsolana-contract-wallet" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JeanPaul0502/solana-contract-wallet
[INFO] finished tweaking git repo https://github.com/JeanPaul0502/solana-contract-wallet
[INFO] tweaked toml for git repo https://github.com/JeanPaul0502/solana-contract-wallet written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JeanPaul0502/solana-contract-wallet on toolchain a5689b034ad287112f709693384a37f1377eb9cc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JeanPaul0502/solana-contract-wallet already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7a585c031c6e71cee471012918756e1dc1beabe671a851373045bcc9ff218969
[INFO] running `Command { std: "docker" "start" "7a585c031c6e71cee471012918756e1dc1beabe671a851373045bcc9ff218969", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7a585c031c6e71cee471012918756e1dc1beabe671a851373045bcc9ff218969", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7a585c031c6e71cee471012918756e1dc1beabe671a851373045bcc9ff218969" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7a585c031c6e71cee471012918756e1dc1beabe671a851373045bcc9ff218969", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7a585c031c6e71cee471012918756e1dc1beabe671a851373045bcc9ff218969" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.67
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling libc v0.2.101
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]     Checking subtle v2.3.0
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking block-padding v0.2.1
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]    Compiling feature-probe v0.1.1
[INFO] [stderr]     Checking regex-syntax v0.6.21
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.8.3
[INFO] [stderr]    Compiling rustversion v1.0.4
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]    Compiling cc v1.0.70
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking cpufeatures v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling solana-frozen-abi v1.8.3
[INFO] [stderr]     Checking ahash v0.4.7
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]    Compiling solana-program v1.8.3
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking zeroize v1.1.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking memmap2 v0.1.0
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking bs58 v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]     Checking keccak v0.1.0
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking hex v0.4.2
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking maplit v1.0.2
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling blake3 v0.3.8
[INFO] [stderr]     Checking regex v1.4.2
[INFO] [stderr]     Checking env_logger v0.8.4
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking solana-logger v1.8.3
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking curve25519-dalek v2.1.0
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.1
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.22
[INFO] [stderr]    Compiling bytemuck_derive v1.0.1
[INFO] [stderr]    Compiling derivative v2.1.1
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling solana-sdk-macro v1.8.3
[INFO] [stderr]     Checking bytemuck v1.7.2
[INFO] [stderr]     Checking thiserror v1.0.22
[INFO] [stderr]     Checking serde_bytes v0.11.5
[INFO] [stderr]     Checking bincode v1.3.1
[INFO] [stderr]    Compiling toml v0.5.7
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking sha2 v0.9.8
[INFO] [stderr]     Checking libsecp256k1-core v0.2.2
[INFO] [stderr]     Checking sha3 v0.9.1
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling borsh-derive v0.9.1
[INFO] [stderr]    Compiling num_enum_derive v0.5.1
[INFO] [stderr]    Compiling libsecp256k1 v0.5.0
[INFO] [stderr]     Checking borsh v0.9.1
[INFO] [stderr]     Checking num_enum v0.5.1
[INFO] [stderr]     Checking solana-contract-wallet v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap`
[INFO] [stdout]   --> src/entrypoint.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | entrypoint!(process_instruction);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `no-entrypoint`
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic`
[INFO] [stdout]   --> src/entrypoint.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | entrypoint!(process_instruction);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `no-entrypoint`
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap`
[INFO] [stdout]   --> src/entrypoint.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | entrypoint!(process_instruction);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `no-entrypoint`
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic`
[INFO] [stdout]   --> src/entrypoint.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | entrypoint!(process_instruction);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `no-entrypoint`
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `u8`
[INFO] [stdout]   --> src/state.rs:69:24
[INFO] [stdout]    |
[INFO] [stdout] 69 |         dst[current] = (self.state as u8).into();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 69 -         dst[current] = (self.state as u8).into();
[INFO] [stdout] 69 +         dst[current] = (self.state as u8);
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 69 -         dst[current] = (self.state as u8).into();
[INFO] [stdout] 69 +         dst[current] = <u8 as Into<_>>::into((self.state as u8));
[INFO] [stdout]    |
[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/error.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Clone, Debug, Eq, Error, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                                   ^------------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WalletError`
[INFO] [stdout] 14 | pub enum WalletError {
[INFO] [stdout]    |          ----------- `WalletError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `solana-contract-wallet` (lib) due to 1 previous error; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: useless conversion to the same type: `u8`
[INFO] [stdout]   --> src/state.rs:69:24
[INFO] [stdout]    |
[INFO] [stdout] 69 |         dst[current] = (self.state as u8).into();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 69 -         dst[current] = (self.state as u8).into();
[INFO] [stdout] 69 +         dst[current] = (self.state as u8);
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 69 -         dst[current] = (self.state as u8).into();
[INFO] [stdout] 69 +         dst[current] = <u8 as Into<_>>::into((self.state as u8));
[INFO] [stdout]    |
[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/error.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Clone, Debug, Eq, Error, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                                   ^------------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WalletError`
[INFO] [stdout] 14 | pub enum WalletError {
[INFO] [stdout]    |          ----------- `WalletError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `solana-contract-wallet` (lib test) due to 1 previous error; 3 warnings emitted
[INFO] [stderr] warning: unused dependency `serde_json`
[INFO] [stderr]   --> Cargo.toml:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | serde_json = "1.0.56"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `serde_json`
[INFO] [stderr] warning: `solana-contract-wallet` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "inspect" "7a585c031c6e71cee471012918756e1dc1beabe671a851373045bcc9ff218969", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a585c031c6e71cee471012918756e1dc1beabe671a851373045bcc9ff218969", kill_on_drop: false }`
[INFO] [stdout] 7a585c031c6e71cee471012918756e1dc1beabe671a851373045bcc9ff218969
