[INFO] fetching crate serum_dex 0.4.0... [INFO] checking serum_dex-0.4.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate serum_dex 0.4.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate serum_dex 0.4.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate serum_dex 0.4.0 [INFO] finished tweaking crates.io crate serum_dex 0.4.0 [INFO] tweaked toml for crates.io crate serum_dex 0.4.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37deb515a1397bc3b588eed67a092f8846ad5ab300c460bc822a7ecc6a593fe2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "37deb515a1397bc3b588eed67a092f8846ad5ab300c460bc822a7ecc6a593fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37deb515a1397bc3b588eed67a092f8846ad5ab300c460bc822a7ecc6a593fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37deb515a1397bc3b588eed67a092f8846ad5ab300c460bc822a7ecc6a593fe2", kill_on_drop: false }` [INFO] [stdout] 37deb515a1397bc3b588eed67a092f8846ad5ab300c460bc822a7ecc6a593fe2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e5d28b0364aaaa3caeb53de371922007657e0232402ff2c3b669b958c203938 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1e5d28b0364aaaa3caeb53de371922007657e0232402ff2c3b669b958c203938", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] arrayvec v0.5.2: default, std [INFO] [stderr] digest v0.9.0 (as host dependency): alloc, std [INFO] [stderr] generic-array v0.14.4 (as host dependency): more_lengths, serde [INFO] [stderr] libsecp256k1-core v0.2.2: default [INFO] [stderr] regex-syntax v0.6.25: default, unicode, unicode-age, unicode-bool, unicode-case, unicode-gencat, unicode-perl, unicode-script, unicode-segment [INFO] [stderr] serde v1.0.128 (as host dependency): derive, serde_derive [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking alloc-traits v0.1.1 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking safe-transmute v0.11.2 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bumpalo v3.7.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking without-alloc v0.2.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking crunchy v0.2.2 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking hexdump v0.1.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.10 [INFO] [stderr] Compiling solana-frozen-abi v1.7.10 [INFO] [stderr] Compiling solana-program v1.7.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Compiling field-offset v0.3.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking solana-logger v1.7.10 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling proptest-derive v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling solana-sdk-macro v1.7.10 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Checking enumflags2 v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Compiling toml v0.5.8 [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 libsecp256k1-core v0.2.2 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha2 v0.9.5 [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 proc-macro-crate v1.0.0 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Checking borsh v0.9.1 [INFO] [stderr] Checking num_enum v0.5.4 [INFO] [stderr] Checking spl-token v3.2.0 [INFO] [stderr] Checking serum_dex v0.4.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stderr] Fixed src/state.rs (3 fixes) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 44s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Checking borsh v0.9.1 [INFO] [stderr] Checking num_enum v0.5.4 [INFO] [stderr] Checking solana-program v1.7.10 [INFO] [stderr] Checking spl-token v3.2.0 [INFO] [stderr] Checking serum_dex v0.4.0 (/tmp/fixit) [INFO] [stdout] error[E0425]: cannot find value `unchecked_rent` in this scope [INFO] [stdout] --> src/state.rs:1579:53 [INFO] [stdout] | [INFO] [stdout] 1579 | let rent = Rent::from_account_info(&unchecked_rent[0])?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `_unchecked_rent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rent_sysvar_acc` in this scope [INFO] [stdout] --> src/state.rs:1804:48 [INFO] [stdout] | [INFO] [stdout] 1804 | let rent = Rent::from_account_info(rent_sysvar_acc)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `_rent_sysvar_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rent_acc` in this scope [INFO] [stdout] --> src/state.rs:2246:48 [INFO] [stdout] | [INFO] [stdout] 2246 | let rent = Rent::from_account_info(rent_acc)?; [INFO] [stdout] | ^^^^^^^^ help: a local variable with a similar name exists: `_rent_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serum_dex` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "1e5d28b0364aaaa3caeb53de371922007657e0232402ff2c3b669b958c203938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e5d28b0364aaaa3caeb53de371922007657e0232402ff2c3b669b958c203938", kill_on_drop: false }` [INFO] [stdout] 1e5d28b0364aaaa3caeb53de371922007657e0232402ff2c3b669b958c203938