[INFO] cloning repository https://github.com/BT-Corp-BTC/stable-swap-program [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BT-Corp-BTC/stable-swap-program" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBT-Corp-BTC%2Fstable-swap-program", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBT-Corp-BTC%2Fstable-swap-program'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 243458c441edad52b0bbe9ee8294d9a46e711b54 [INFO] checking BT-Corp-BTC/stable-swap-program against master#7c4ac0603e9ee5295bc802c90575391288a69a8a for pr-124728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBT-Corp-BTC%2Fstable-swap-program" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BT-Corp-BTC/stable-swap-program on toolchain 7c4ac0603e9ee5295bc802c90575391288a69a8a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7c4ac0603e9ee5295bc802c90575391288a69a8a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BT-Corp-BTC/stable-swap-program [INFO] finished tweaking git repo https://github.com/BT-Corp-BTC/stable-swap-program [INFO] tweaked toml for git repo https://github.com/BT-Corp-BTC/stable-swap-program written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BT-Corp-BTC/stable-swap-program 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" "+7c4ac0603e9ee5295bc802c90575391288a69a8a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded webpki v0.21.2 [INFO] [stderr] Downloaded pin-project-lite v0.2.1 [INFO] [stderr] Downloaded cc v1.0.49 [INFO] [stderr] Downloaded assert_matches v1.4.0 [INFO] [stderr] Downloaded inventory-impl v0.1.10 [INFO] [stderr] Downloaded inventory v0.1.10 [INFO] [stderr] Downloaded pyo3-derive-backend v0.12.4 [INFO] [stderr] Downloaded pyo3cls v0.12.4 [INFO] [stderr] Downloaded pin-project v1.0.3 [INFO] [stderr] Downloaded futures v0.1.30 [INFO] [stderr] Downloaded remove_dir_all v0.5.0 [INFO] [stderr] Downloaded pyo3 v0.12.4 [INFO] [stderr] Downloaded curve25519-dalek v2.1.0 [INFO] [stderr] Downloaded signature v1.3.0 [INFO] [stderr] Downloaded ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Downloaded pin-project-internal v1.0.3 [INFO] [stderr] Downloaded ring v0.16.12 [INFO] [stderr] Downloaded solana-frozen-abi v1.5.1 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.5.1 [INFO] [stderr] Downloaded solana-logger v1.5.1 [INFO] [stderr] Downloaded solana-sdk-macro v1.5.1 [INFO] [stderr] Downloaded solana-crate-features v1.5.1 [INFO] [stderr] Downloaded ctor v0.1.17 [INFO] [stderr] Downloaded spl-token v3.0.1 [INFO] [stderr] Downloaded solana-program v1.5.1 [INFO] [stderr] Downloaded solana-sdk v1.5.1 [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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+7c4ac0603e9ee5295bc802c90575391288a69a8a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9cf8e23e3a6401fd957745a58950b25a6fff5c42ab5c26cee1e28660ecbaf2f1 [INFO] running `Command { std: "docker" "start" "-a" "9cf8e23e3a6401fd957745a58950b25a6fff5c42ab5c26cee1e28660ecbaf2f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cf8e23e3a6401fd957745a58950b25a6fff5c42ab5c26cee1e28660ecbaf2f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cf8e23e3a6401fd957745a58950b25a6fff5c42ab5c26cee1e28660ecbaf2f1", kill_on_drop: false }` [INFO] [stdout] 9cf8e23e3a6401fd957745a58950b25a6fff5c42ab5c26cee1e28660ecbaf2f1 [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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+7c4ac0603e9ee5295bc802c90575391288a69a8a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa6071ddfdac67d60743adf007d6c2485c75f465ccfd084a41ec72fbd973f1bc [INFO] running `Command { std: "docker" "start" "-a" "fa6071ddfdac67d60743adf007d6c2485c75f465ccfd084a41ec72fbd973f1bc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.5.1 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling cc v1.0.49 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling solana-frozen-abi v1.5.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling solana-program v1.5.1 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking signature v1.3.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking solana-logger v1.5.1 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking remove_dir_all v0.5.0 [INFO] [stderr] Compiling pyo3 v0.12.4 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling solana-sdk v1.5.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking assert_matches v1.4.0 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pyo3-derive-backend v0.12.4 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.5.1 [INFO] [stderr] Compiling ctor v0.1.17 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling derivative v2.1.3 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Compiling pyo3cls v0.12.4 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking pin-project v1.0.3 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking sim v0.1.0 (/opt/rustwide/workdir/lib/sim) [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking ed25519 v1.0.3 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Checking spl-token v3.0.1 [INFO] [stderr] Checking spl-token-swap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/error.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Eq, Error, FromPrimitive, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SwapError` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking solana-crate-features v1.5.1 [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/error.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Eq, Error, FromPrimitive, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SwapError` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: pyo3 v0.12.4, pyo3-derive-backend v0.12.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "fa6071ddfdac67d60743adf007d6c2485c75f465ccfd084a41ec72fbd973f1bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa6071ddfdac67d60743adf007d6c2485c75f465ccfd084a41ec72fbd973f1bc", kill_on_drop: false }` [INFO] [stdout] fa6071ddfdac67d60743adf007d6c2485c75f465ccfd084a41ec72fbd973f1bc [INFO] checking BT-Corp-BTC/stable-swap-program against try#98ebbae35138252af77610c20ea5a5e8bf68d639 for pr-124728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBT-Corp-BTC%2Fstable-swap-program" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BT-Corp-BTC/stable-swap-program on toolchain 98ebbae35138252af77610c20ea5a5e8bf68d639 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BT-Corp-BTC/stable-swap-program [INFO] finished tweaking git repo https://github.com/BT-Corp-BTC/stable-swap-program [INFO] tweaked toml for git repo https://github.com/BT-Corp-BTC/stable-swap-program written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/BT-Corp-BTC/stable-swap-program 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" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb2c9221781effa9880c87d2c7d88a9d2125ea040a75fdd40244c72acb3206c9 [INFO] running `Command { std: "docker" "start" "-a" "bb2c9221781effa9880c87d2c7d88a9d2125ea040a75fdd40244c72acb3206c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb2c9221781effa9880c87d2c7d88a9d2125ea040a75fdd40244c72acb3206c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb2c9221781effa9880c87d2c7d88a9d2125ea040a75fdd40244c72acb3206c9", kill_on_drop: false }` [INFO] [stdout] bb2c9221781effa9880c87d2c7d88a9d2125ea040a75fdd40244c72acb3206c9 [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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23b7580c4ed7fef62aacfbe86924d279c3fd056745e6c1cf4e69d4037f8bee75 [INFO] running `Command { std: "docker" "start" "-a" "23b7580c4ed7fef62aacfbe86924d279c3fd056745e6c1cf4e69d4037f8bee75", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking pin-project-lite v0.2.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.5.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Compiling cc v1.0.49 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling solana-frozen-abi v1.5.1 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling solana-program v1.5.1 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking signature v1.3.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking solana-logger v1.5.1 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling pyo3 v0.12.4 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling solana-sdk v1.5.1 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking assert_matches v1.4.0 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pyo3-derive-backend v0.12.4 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling solana-sdk-macro v1.5.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling ctor v0.1.17 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] error: could not compile `libsecp256k1` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/98ebbae35138252af77610c20ea5a5e8bf68d639/bin/rustc --crate-name secp256k1 --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.3.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="hmac"' --cfg 'feature="hmac-drbg"' --cfg 'feature="sha2"' --cfg 'feature="std"' --cfg 'feature="typenum"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "hmac", "hmac-drbg", "sha2", "std", "typenum"))' -C metadata=1271d4c277259477 -C extra-filename=-1271d4c277259477 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern arrayref=/opt/rustwide/target/debug/deps/libarrayref-5605724e9b2a62ce.rmeta --extern crunchy=/opt/rustwide/target/debug/deps/libcrunchy-3f8116926b555cf6.rmeta --extern digest=/opt/rustwide/target/debug/deps/libdigest-d74798f59d406257.rmeta --extern hmac_drbg=/opt/rustwide/target/debug/deps/libhmac_drbg-6225391d34f0b63b.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-b91aaa4daa0a8647.rmeta --extern sha2=/opt/rustwide/target/debug/deps/libsha2-e8c4585cc63edce2.rmeta --extern subtle=/opt/rustwide/target/debug/deps/libsubtle-d682dfdf2c5a3712.rmeta --extern typenum=/opt/rustwide/target/debug/deps/libtypenum-cc9ba260e9bedad3.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "23b7580c4ed7fef62aacfbe86924d279c3fd056745e6c1cf4e69d4037f8bee75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23b7580c4ed7fef62aacfbe86924d279c3fd056745e6c1cf4e69d4037f8bee75", kill_on_drop: false }` [INFO] [stdout] 23b7580c4ed7fef62aacfbe86924d279c3fd056745e6c1cf4e69d4037f8bee75