[INFO] fetching crate uniswap-v2-sdk 0.6.0... [INFO] checking uniswap-v2-sdk-0.6.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate uniswap-v2-sdk 0.6.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate uniswap-v2-sdk 0.6.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate uniswap-v2-sdk 0.6.0 [INFO] finished tweaking crates.io crate uniswap-v2-sdk 0.6.0 [INFO] tweaked toml for crates.io crate uniswap-v2-sdk 0.6.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 168 packages to latest compatible versions [INFO] [stderr] Adding ark-ff v0.3.0 (available: v0.4.2) [INFO] [stderr] Adding ark-ff-asm v0.3.0 (available: v0.4.2) [INFO] [stderr] Adding ark-ff-macros v0.3.0 (available: v0.4.2) [INFO] [stderr] Adding ark-serialize v0.3.0 (available: v0.4.2) [INFO] [stderr] Adding ark-std v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding fastrlp v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding impl-codec v0.6.0 (available: v0.7.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding primitive-types v0.12.2 (available: v0.13.1) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding radium v0.7.0 (available: v1.1.0) [INFO] [stderr] Adding rlp v0.5.2 (available: v0.6.1) [INFO] [stderr] Adding rustc_version v0.3.3 (available: v0.4.1) [INFO] [stderr] Adding semver v0.11.0 (available: v1.0.23) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding uint v0.9.5 (available: v0.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding wyz v0.5.1 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a12251364d2f684dafce2750ca2034dbde5de1f4256e6c08aca43e0de6af7b7 [INFO] running `Command { std: "docker" "start" "-a" "5a12251364d2f684dafce2750ca2034dbde5de1f4256e6c08aca43e0de6af7b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a12251364d2f684dafce2750ca2034dbde5de1f4256e6c08aca43e0de6af7b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a12251364d2f684dafce2750ca2034dbde5de1f4256e6c08aca43e0de6af7b7", kill_on_drop: false }` [INFO] [stdout] 5a12251364d2f684dafce2750ca2034dbde5de1f4256e6c08aca43e0de6af7b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cecb55d171fcfb36a7904dc9a62693e4a53b8c985e28b8daf9441933d714adb [INFO] running `Command { std: "docker" "start" "-a" "5cecb55d171fcfb36a7904dc9a62693e4a53b8c985e28b8daf9441933d714adb", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling const-hex v1.12.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking ruint v1.12.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling syn-solidity v0.8.5 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling alloy-sol-macro-input v0.8.5 [INFO] [stderr] Compiling alloy-sol-macro-expander v0.8.5 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking alloy-primitives v0.8.5 [INFO] [stderr] Checking uniswap-sdk-core v2.3.0 [INFO] [stderr] Compiling alloy-sol-macro v0.8.5 [INFO] [stderr] Checking alloy-sol-types v0.8.5 [INFO] [stderr] Checking uniswap-v2-sdk v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/entities/trade.rs:99:55 [INFO] [stdout] | [INFO] [stdout] 99 | let mut token_amount: CurrencyAmount = amount.wrapped()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `FractionLike>`, found `FractionLike>` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `FractionLike>>` to `FractionLike>>` [INFO] [stdout] = note: expected struct `FractionLike>>` [INFO] [stdout] found struct `FractionLike>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/entities/trade.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 268 | let amount_in = match next_amount_in { [INFO] [stdout] | _________________________- [INFO] [stdout] 269 | | Some(amount_in) => { [INFO] [stdout] 270 | | assert!(!current_pairs.is_empty(), "INVALID_RECURSION"); [INFO] [stdout] 271 | | amount_in [INFO] [stdout] | | --------- this is found to be of type `FractionLike>>` [INFO] [stdout] 272 | | } [INFO] [stdout] 273 | | None => currency_amount_in.wrapped()?, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `FractionLike>`, found `FractionLike>` [INFO] [stdout] 274 | | }; [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected struct `FractionLike>>` [INFO] [stdout] found struct `FractionLike>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/entities/trade.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 380 | let amount_out = match next_amount_out { [INFO] [stdout] | __________________________- [INFO] [stdout] 381 | | Some(amount_out) => { [INFO] [stdout] 382 | | assert!(!current_pairs.is_empty(), "INVALID_RECURSION"); [INFO] [stdout] 383 | | amount_out [INFO] [stdout] | | ---------- this is found to be of type `FractionLike>>` [INFO] [stdout] 384 | | } [INFO] [stdout] 385 | | None => currency_amount_out.wrapped()?, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `FractionLike>`, found `FractionLike>` [INFO] [stdout] 386 | | }; [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected struct `FractionLike>>` [INFO] [stdout] found struct `FractionLike>>` [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 E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `uniswap-v2-sdk` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/entities/trade.rs:99:55 [INFO] [stdout] | [INFO] [stdout] 99 | let mut token_amount: CurrencyAmount = amount.wrapped()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `FractionLike>`, found `FractionLike>` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `FractionLike>>` to `FractionLike>>` [INFO] [stdout] = note: expected struct `FractionLike>>` [INFO] [stdout] found struct `FractionLike>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/entities/trade.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 268 | let amount_in = match next_amount_in { [INFO] [stdout] | _________________________- [INFO] [stdout] 269 | | Some(amount_in) => { [INFO] [stdout] 270 | | assert!(!current_pairs.is_empty(), "INVALID_RECURSION"); [INFO] [stdout] 271 | | amount_in [INFO] [stdout] | | --------- this is found to be of type `FractionLike>>` [INFO] [stdout] 272 | | } [INFO] [stdout] 273 | | None => currency_amount_in.wrapped()?, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `FractionLike>`, found `FractionLike>` [INFO] [stdout] 274 | | }; [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected struct `FractionLike>>` [INFO] [stdout] found struct `FractionLike>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/entities/trade.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 380 | let amount_out = match next_amount_out { [INFO] [stdout] | __________________________- [INFO] [stdout] 381 | | Some(amount_out) => { [INFO] [stdout] 382 | | assert!(!current_pairs.is_empty(), "INVALID_RECURSION"); [INFO] [stdout] 383 | | amount_out [INFO] [stdout] | | ---------- this is found to be of type `FractionLike>>` [INFO] [stdout] 384 | | } [INFO] [stdout] 385 | | None => currency_amount_out.wrapped()?, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `FractionLike>`, found `FractionLike>` [INFO] [stdout] 386 | | }; [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected struct `FractionLike>>` [INFO] [stdout] found struct `FractionLike>>` [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 E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `uniswap-v2-sdk` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "5cecb55d171fcfb36a7904dc9a62693e4a53b8c985e28b8daf9441933d714adb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cecb55d171fcfb36a7904dc9a62693e4a53b8c985e28b8daf9441933d714adb", kill_on_drop: false }` [INFO] [stdout] 5cecb55d171fcfb36a7904dc9a62693e4a53b8c985e28b8daf9441933d714adb