[INFO] cloning repository https://github.com/mgild/saber2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mgild/saber2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgild%2Fsaber2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgild%2Fsaber2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e90bb70a0252d91601f6046fd02a88bfb713ab03 [INFO] checking mgild/saber2/e90bb70a0252d91601f6046fd02a88bfb713ab03 against master#561b5dea1e7e5c21f0fb550ca579229ceb878297 for pr-124661 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgild%2Fsaber2" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mgild/saber2 on toolchain 561b5dea1e7e5c21f0fb550ca579229ceb878297 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+561b5dea1e7e5c21f0fb550ca579229ceb878297" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mgild/saber2 [INFO] finished tweaking git repo https://github.com/mgild/saber2 [INFO] tweaked toml for git repo https://github.com/mgild/saber2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mgild/saber2 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" "+561b5dea1e7e5c21f0fb550ca579229ceb878297" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-sdk-macro v1.5.1 [INFO] [stderr] Downloaded solana-logger v1.5.1 [INFO] [stderr] Downloaded spl-token v3.0.1 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.5.1 [INFO] [stderr] Downloaded solana-frozen-abi v1.5.1 [INFO] [stderr] Downloaded humantime v2.0.1 [INFO] [stderr] Downloaded derivative v2.1.3 [INFO] [stderr] Downloaded webpki v0.21.2 [INFO] [stderr] Downloaded solana-crate-features v1.5.1 [INFO] [stderr] Downloaded pin-project-lite v0.2.1 [INFO] [stderr] Downloaded pin-project-internal v1.0.3 [INFO] [stderr] Downloaded assert_matches v1.4.0 [INFO] [stderr] Downloaded solana-sdk v1.5.1 [INFO] [stderr] Downloaded solana-program v1.5.1 [INFO] [stderr] Downloaded smallvec v1.6.0 [INFO] [stderr] Downloaded ctor v0.1.17 [INFO] [stderr] Downloaded http v0.2.2 [INFO] [stderr] Downloaded pin-project v1.0.3 [INFO] [stderr] Downloaded ring v0.16.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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+561b5dea1e7e5c21f0fb550ca579229ceb878297" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c22e1a2225a42dc3ee286f7d237dfd8adca60036dcb81a90cd7ad6d7463122e [INFO] running `Command { std: "docker" "start" "-a" "0c22e1a2225a42dc3ee286f7d237dfd8adca60036dcb81a90cd7ad6d7463122e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c22e1a2225a42dc3ee286f7d237dfd8adca60036dcb81a90cd7ad6d7463122e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c22e1a2225a42dc3ee286f7d237dfd8adca60036dcb81a90cd7ad6d7463122e", kill_on_drop: false }` [INFO] [stdout] 0c22e1a2225a42dc3ee286f7d237dfd8adca60036dcb81a90cd7ad6d7463122e [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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+561b5dea1e7e5c21f0fb550ca579229ceb878297" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a01d613a8f0c46d2c07b5a988167949a05964477edb1349e281c5a75cba72c2 [INFO] running `Command { std: "docker" "start" "-a" "5a01d613a8f0c46d2c07b5a988167949a05964477edb1349e281c5a75cba72c2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.58 [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 proc-macro2 v1.0.24 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking block-padding v0.1.5 [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 semver v0.9.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking fake-simd v0.1.2 [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] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Checking pin-project-lite v0.2.1 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.5.1 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling solana-frozen-abi v1.5.1 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling solana-program v1.5.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] Checking getrandom v0.1.16 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling cc v1.0.49 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking unicode-normalization v0.1.16 [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] Checking tokio-io v0.1.13 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking signature v1.3.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking remove_dir_all v0.5.0 [INFO] [stderr] Compiling pyo3 v0.12.4 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking solana-logger v1.5.1 [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 time v0.1.44 [INFO] [stderr] Compiling solana-sdk v1.5.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking chrono v0.4.19 [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 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 inventory-impl v0.1.10 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling ctor v0.1.17 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling derivative v2.1.3 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [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 bincode v1.3.1 [INFO] [stderr] Checking serde_bytes v0.11.5 [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 block-buffer v0.9.0 [INFO] [stderr] Checking digest 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.80s [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" "5a01d613a8f0c46d2c07b5a988167949a05964477edb1349e281c5a75cba72c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a01d613a8f0c46d2c07b5a988167949a05964477edb1349e281c5a75cba72c2", kill_on_drop: false }` [INFO] [stdout] 5a01d613a8f0c46d2c07b5a988167949a05964477edb1349e281c5a75cba72c2